Udostępnij za pośrednictwem


ManagedPrivateEndpointsClientBuilder Class

  • java.lang.Object
    • com.azure.analytics.synapse.managedprivateendpoints.ManagedPrivateEndpointsClientBuilder

public final class ManagedPrivateEndpointsClientBuilder

A builder for creating a new instance of the ManagedPrivateEndpointsClient type.

Constructor Summary

Constructor Description
ManagedPrivateEndpointsClientBuilder()

Create an instance of the ManagedPrivateEndpointsClientBuilder.

Method Summary

Modifier and Type Method and Description
ManagedPrivateEndpointsClientBuilder addPolicy(HttpPipelinePolicy customPolicy)

Adds a custom Http pipeline policy.

ManagedPrivateEndpointsClientBuilder apiVersion(String apiVersion)

Sets Api Version.

ManagedPrivateEndpointsAsyncClient buildAsyncClient()

Builds an instance of ManagedPrivateEndpointsAsyncClient async client.

ManagedPrivateEndpointsClient buildClient()

Builds an instance of ManagedPrivateEndpointsClient sync client.

ManagedPrivateEndpointsClientBuilder configuration(Configuration configuration)

Sets The configuration store that is used during construction of the service client.

ManagedPrivateEndpointsClientBuilder credential(TokenCredential tokenCredential)

Sets The TokenCredential used for authentication.

ManagedPrivateEndpointsClientBuilder endpoint(String endpoint)

Sets The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net.

ManagedPrivateEndpointsClientBuilder httpClient(HttpClient httpClient)

Sets The HTTP client used to send the request.

ManagedPrivateEndpointsClientBuilder httpLogOptions(HttpLogOptions httpLogOptions)

Sets The logging configuration for HTTP requests and responses.

ManagedPrivateEndpointsClientBuilder pipeline(HttpPipeline pipeline)

Sets The HTTP pipeline to send requests through.

ManagedPrivateEndpointsClientBuilder retryPolicy(RetryPolicy retryPolicy)

Sets The retry policy that will attempt to retry failed requests, if applicable.

ManagedPrivateEndpointsClientBuilder serializerAdapter(SerializerAdapter serializerAdapter)

Sets The serializer to serialize an object into a string.

Methods inherited from java.lang.Object

Constructor Details

ManagedPrivateEndpointsClientBuilder

public ManagedPrivateEndpointsClientBuilder()

Create an instance of the ManagedPrivateEndpointsClientBuilder.

Method Details

addPolicy

public ManagedPrivateEndpointsClientBuilder addPolicy(HttpPipelinePolicy customPolicy)

Adds a custom Http pipeline policy.

Parameters:

customPolicy - The custom Http pipeline policy to add.

Returns:

the ManagedPrivateEndpointsClientBuilder.

apiVersion

public ManagedPrivateEndpointsClientBuilder apiVersion(String apiVersion)

Sets Api Version.

Parameters:

apiVersion - the apiVersion value.

Returns:

the ManagedPrivateEndpointsClientBuilder.

buildAsyncClient

public ManagedPrivateEndpointsAsyncClient buildAsyncClient()

Builds an instance of ManagedPrivateEndpointsAsyncClient async client.

Returns:

an instance of ManagedPrivateEndpointsAsyncClient.

buildClient

public ManagedPrivateEndpointsClient buildClient()

Builds an instance of ManagedPrivateEndpointsClient sync client.

Returns:

an instance of ManagedPrivateEndpointsClient.

configuration

public ManagedPrivateEndpointsClientBuilder configuration(Configuration configuration)

Sets The configuration store that is used during construction of the service client.

Parameters:

configuration - the configuration value.

Returns:

the ManagedPrivateEndpointsClientBuilder.

credential

public ManagedPrivateEndpointsClientBuilder credential(TokenCredential tokenCredential)

Sets The TokenCredential used for authentication.

Parameters:

tokenCredential - the tokenCredential value.

Returns:

the ManagedPrivateEndpointsClientBuilder.

endpoint

public ManagedPrivateEndpointsClientBuilder endpoint(String endpoint)

Sets The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net.

Parameters:

endpoint - the endpoint value.

Returns:

the ManagedPrivateEndpointsClientBuilder.

httpClient

public ManagedPrivateEndpointsClientBuilder httpClient(HttpClient httpClient)

Sets The HTTP client used to send the request.

Parameters:

httpClient - the httpClient value.

Returns:

the ManagedPrivateEndpointsClientBuilder.

httpLogOptions

public ManagedPrivateEndpointsClientBuilder httpLogOptions(HttpLogOptions httpLogOptions)

Sets The logging configuration for HTTP requests and responses.

Parameters:

httpLogOptions - the httpLogOptions value.

Returns:

the ManagedPrivateEndpointsClientBuilder.

pipeline

public ManagedPrivateEndpointsClientBuilder pipeline(HttpPipeline pipeline)

Sets The HTTP pipeline to send requests through.

Parameters:

pipeline - the pipeline value.

Returns:

the ManagedPrivateEndpointsClientBuilder.

retryPolicy

public ManagedPrivateEndpointsClientBuilder retryPolicy(RetryPolicy retryPolicy)

Sets The retry policy that will attempt to retry failed requests, if applicable.

Parameters:

retryPolicy - the retryPolicy value.

Returns:

the ManagedPrivateEndpointsClientBuilder.

serializerAdapter

public ManagedPrivateEndpointsClientBuilder serializerAdapter(SerializerAdapter serializerAdapter)

Sets The serializer to serialize an object into a string.

Parameters:

serializerAdapter - the serializerAdapter value.

Returns:

the ManagedPrivateEndpointsClientBuilder.

Applies to