Class ManagedPrivateEndpointsClientBuilder
java.lang.Object
com.azure.analytics.synapse.managedprivateendpoints.ManagedPrivateEndpointsClientBuilder
A builder for creating a new instance of the ManagedPrivateEndpointsClient type.
-
Constructor Summary
ConstructorDescriptionCreate an instance of the ManagedPrivateEndpointsClientBuilder. -
Method Summary
Modifier and TypeMethodDescriptionaddPolicy
(HttpPipelinePolicy customPolicy) Adds a custom Http pipeline policy.apiVersion
(String apiVersion) Sets Api Version.Builds an instance of ManagedPrivateEndpointsAsyncClient async client.Builds an instance of ManagedPrivateEndpointsClient sync client.configuration
(Configuration configuration) Sets The configuration store that is used during construction of the service client.credential
(TokenCredential tokenCredential) Sets The TokenCredential used for authentication.Sets The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net.httpClient
(HttpClient httpClient) Sets The HTTP client used to send the request.httpLogOptions
(HttpLogOptions httpLogOptions) Sets The logging configuration for HTTP requests and responses.pipeline
(HttpPipeline pipeline) Sets The HTTP pipeline to send requests through.retryPolicy
(RetryPolicy retryPolicy) Sets The retry policy that will attempt to retry failed requests, if applicable.serializerAdapter
(SerializerAdapter serializerAdapter) Sets The serializer to serialize an object into a string.
-
Constructor Details
-
ManagedPrivateEndpointsClientBuilder
public ManagedPrivateEndpointsClientBuilder()Create an instance of the ManagedPrivateEndpointsClientBuilder.
-
-
Method Details
-
endpoint
Sets The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net.- Parameters:
endpoint
- the endpoint value.- Returns:
- the ManagedPrivateEndpointsClientBuilder.
-
apiVersion
Sets Api Version.- Parameters:
apiVersion
- the apiVersion value.- Returns:
- the ManagedPrivateEndpointsClientBuilder.
-
pipeline
Sets The HTTP pipeline to send requests through.- Parameters:
pipeline
- the pipeline value.- Returns:
- the ManagedPrivateEndpointsClientBuilder.
-
serializerAdapter
Sets The serializer to serialize an object into a string.- Parameters:
serializerAdapter
- the serializerAdapter value.- Returns:
- the ManagedPrivateEndpointsClientBuilder.
-
httpClient
Sets The HTTP client used to send the request.- Parameters:
httpClient
- the httpClient value.- Returns:
- the ManagedPrivateEndpointsClientBuilder.
-
configuration
Sets The configuration store that is used during construction of the service client.- Parameters:
configuration
- the configuration value.- Returns:
- the ManagedPrivateEndpointsClientBuilder.
-
credential
Sets The TokenCredential used for authentication.- Parameters:
tokenCredential
- the tokenCredential value.- Returns:
- the ManagedPrivateEndpointsClientBuilder.
-
httpLogOptions
Sets The logging configuration for HTTP requests and responses.- Parameters:
httpLogOptions
- the httpLogOptions value.- Returns:
- the ManagedPrivateEndpointsClientBuilder.
-
retryPolicy
Sets The retry policy that will attempt to retry failed requests, if applicable.- Parameters:
retryPolicy
- the retryPolicy value.- Returns:
- the ManagedPrivateEndpointsClientBuilder.
-
addPolicy
Adds a custom Http pipeline policy.- Parameters:
customPolicy
- The custom Http pipeline policy to add.- Returns:
- the ManagedPrivateEndpointsClientBuilder.
-
buildAsyncClient
Builds an instance of ManagedPrivateEndpointsAsyncClient async client.- Returns:
- an instance of ManagedPrivateEndpointsAsyncClient.
-
buildClient
Builds an instance of ManagedPrivateEndpointsClient sync client.- Returns:
- an instance of ManagedPrivateEndpointsClient.
-