Class AccessControlClientBuilder
java.lang.Object
com.azure.analytics.synapse.accesscontrol.AccessControlClientBuilder
A builder for creating a new instance of the AccessControlClient type.
-
Constructor Summary
ConstructorDescriptionCreate an instance of the AccessControlClientBuilder. -
Method Summary
Modifier and TypeMethodDescriptionaddPolicy
(HttpPipelinePolicy customPolicy) Adds a custom Http pipeline policy.apiVersion
(String apiVersion) Sets Api Version.Builds an instance of RoleAssignmentsAsyncClient async client.Builds an instance of RoleAssignmentsClient sync client.Builds an instance of RoleDefinitionsAsyncClient async client.Builds an instance of RoleDefinitionsClient 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
-
AccessControlClientBuilder
public AccessControlClientBuilder()Create an instance of the AccessControlClientBuilder.
-
-
Method Details
-
endpoint
Sets The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net.- Parameters:
endpoint
- the endpoint value.- Returns:
- the AccessControlClientBuilder.
-
apiVersion
Sets Api Version.- Parameters:
apiVersion
- the apiVersion value.- Returns:
- the AccessControlClientBuilder.
-
pipeline
Sets The HTTP pipeline to send requests through.- Parameters:
pipeline
- the pipeline value.- Returns:
- the AccessControlClientBuilder.
-
serializerAdapter
Sets The serializer to serialize an object into a string.- Parameters:
serializerAdapter
- the serializerAdapter value.- Returns:
- the AccessControlClientBuilder.
-
httpClient
Sets The HTTP client used to send the request.- Parameters:
httpClient
- the httpClient value.- Returns:
- the AccessControlClientBuilder.
-
configuration
Sets The configuration store that is used during construction of the service client.- Parameters:
configuration
- the configuration value.- Returns:
- the AccessControlClientBuilder.
-
credential
Sets The TokenCredential used for authentication.- Parameters:
tokenCredential
- the tokenCredential value.- Returns:
- the AccessControlClientBuilder.
-
httpLogOptions
Sets The logging configuration for HTTP requests and responses.- Parameters:
httpLogOptions
- the httpLogOptions value.- Returns:
- the AccessControlClientBuilder.
-
retryPolicy
Sets The retry policy that will attempt to retry failed requests, if applicable.- Parameters:
retryPolicy
- the retryPolicy value.- Returns:
- the AccessControlClientBuilder.
-
addPolicy
Adds a custom Http pipeline policy.- Parameters:
customPolicy
- The custom Http pipeline policy to add.- Returns:
- the AccessControlClientBuilder.
-
buildRoleAssignmentsAsyncClient
Builds an instance of RoleAssignmentsAsyncClient async client.- Returns:
- an instance of RoleAssignmentsAsyncClient.
-
buildRoleDefinitionsAsyncClient
Builds an instance of RoleDefinitionsAsyncClient async client.- Returns:
- an instance of RoleDefinitionsAsyncClient.
-
buildRoleAssignmentsClient
Builds an instance of RoleAssignmentsClient sync client.- Returns:
- an instance of RoleAssignmentsClient.
-
buildRoleDefinitionsClient
Builds an instance of RoleDefinitionsClient sync client.- Returns:
- an instance of RoleDefinitionsClient.
-