public final class PurviewAccountClientBuilder extends Object
Constructor and Description |
---|
PurviewAccountClientBuilder()
Create an instance of the PurviewAccountClientBuilder.
|
Modifier and Type | Method and Description |
---|---|
PurviewAccountClientBuilder |
addPolicy(com.azure.core.http.policy.HttpPipelinePolicy customPolicy)
Adds a custom Http pipeline policy.
|
AccountsAsyncClient |
buildAccountsAsyncClient()
Builds an instance of AccountsAsyncClient async client.
|
AccountsClient |
buildAccountsClient()
Builds an instance of AccountsClient sync client.
|
CollectionsAsyncClient |
buildCollectionsAsyncClient()
Builds an instance of CollectionsAsyncClient async client.
|
CollectionsClient |
buildCollectionsClient()
Builds an instance of CollectionsClient sync client.
|
ResourceSetRulesAsyncClient |
buildResourceSetRulesAsyncClient()
Builds an instance of ResourceSetRulesAsyncClient async client.
|
ResourceSetRulesClient |
buildResourceSetRulesClient()
Builds an instance of ResourceSetRulesClient sync client.
|
PurviewAccountClientBuilder |
configuration(com.azure.core.util.Configuration configuration)
Sets The configuration store that is used during construction of the service client.
|
PurviewAccountClientBuilder |
credential(com.azure.core.credential.TokenCredential tokenCredential)
Sets The TokenCredential used for authentication.
|
PurviewAccountClientBuilder |
endpoint(String endpoint)
Sets The account endpoint of your Purview account.
|
PurviewAccountClientBuilder |
httpClient(com.azure.core.http.HttpClient httpClient)
Sets The HTTP client used to send the request.
|
PurviewAccountClientBuilder |
httpLogOptions(com.azure.core.http.policy.HttpLogOptions httpLogOptions)
Sets The logging configuration for HTTP requests and responses.
|
PurviewAccountClientBuilder |
pipeline(com.azure.core.http.HttpPipeline pipeline)
Sets The HTTP pipeline to send requests through.
|
PurviewAccountClientBuilder |
retryPolicy(com.azure.core.http.policy.RetryPolicy retryPolicy)
Sets The retry policy that will attempt to retry failed requests, if applicable.
|
PurviewAccountClientBuilder |
serviceVersion(PurviewAccountServiceVersion serviceVersion)
Sets Service version.
|
public PurviewAccountClientBuilder()
public PurviewAccountClientBuilder endpoint(String endpoint)
endpoint
- the endpoint value.public PurviewAccountClientBuilder serviceVersion(PurviewAccountServiceVersion serviceVersion)
serviceVersion
- the serviceVersion value.public PurviewAccountClientBuilder pipeline(com.azure.core.http.HttpPipeline pipeline)
pipeline
- the pipeline value.public PurviewAccountClientBuilder httpClient(com.azure.core.http.HttpClient httpClient)
httpClient
- the httpClient value.public PurviewAccountClientBuilder configuration(com.azure.core.util.Configuration configuration)
configuration
- the configuration value.public PurviewAccountClientBuilder credential(com.azure.core.credential.TokenCredential tokenCredential)
tokenCredential
- the tokenCredential value.public PurviewAccountClientBuilder httpLogOptions(com.azure.core.http.policy.HttpLogOptions httpLogOptions)
httpLogOptions
- the httpLogOptions value.public PurviewAccountClientBuilder retryPolicy(com.azure.core.http.policy.RetryPolicy retryPolicy)
retryPolicy
- the retryPolicy value.public PurviewAccountClientBuilder addPolicy(com.azure.core.http.policy.HttpPipelinePolicy customPolicy)
customPolicy
- The custom Http pipeline policy to add.public AccountsAsyncClient buildAccountsAsyncClient()
public CollectionsAsyncClient buildCollectionsAsyncClient()
public ResourceSetRulesAsyncClient buildResourceSetRulesAsyncClient()
public AccountsClient buildAccountsClient()
public CollectionsClient buildCollectionsClient()
public ResourceSetRulesClient buildResourceSetRulesClient()
Copyright © 2021 Microsoft Corporation. All rights reserved.