public static final class PostgreSqlManager.Configurable extends Object
| Modifier and Type | Method and Description |
|---|---|
PostgreSqlManager |
authenticate(com.azure.core.credential.TokenCredential credential,
com.azure.core.management.profile.AzureProfile profile)
Creates an instance of PostgreSql service API entry point.
|
PostgreSqlManager.Configurable |
withDefaultPollInterval(Duration defaultPollInterval)
Sets the default poll interval, used when service does not provide "Retry-After" header.
|
PostgreSqlManager.Configurable |
withHttpClient(com.azure.core.http.HttpClient httpClient)
Sets the http client.
|
PostgreSqlManager.Configurable |
withLogOptions(com.azure.core.http.policy.HttpLogOptions httpLogOptions)
Sets the logging options to the HTTP pipeline.
|
PostgreSqlManager.Configurable |
withPolicy(com.azure.core.http.policy.HttpPipelinePolicy policy)
Adds the pipeline policy to the HTTP pipeline.
|
PostgreSqlManager.Configurable |
withRetryPolicy(com.azure.core.http.policy.RetryPolicy retryPolicy)
Sets the retry policy to the HTTP pipeline.
|
PostgreSqlManager.Configurable |
withScope(String scope)
Adds the scope to permission sets.
|
public PostgreSqlManager.Configurable withHttpClient(com.azure.core.http.HttpClient httpClient)
httpClient - the HTTP client.public PostgreSqlManager.Configurable withLogOptions(com.azure.core.http.policy.HttpLogOptions httpLogOptions)
httpLogOptions - the HTTP log options.public PostgreSqlManager.Configurable withPolicy(com.azure.core.http.policy.HttpPipelinePolicy policy)
policy - the HTTP pipeline policy.public PostgreSqlManager.Configurable withScope(String scope)
scope - the scope.public PostgreSqlManager.Configurable withRetryPolicy(com.azure.core.http.policy.RetryPolicy retryPolicy)
retryPolicy - the HTTP pipeline retry policy.public PostgreSqlManager.Configurable withDefaultPollInterval(Duration defaultPollInterval)
defaultPollInterval - the default poll interval.public PostgreSqlManager authenticate(com.azure.core.credential.TokenCredential credential, com.azure.core.management.profile.AzureProfile profile)
credential - the credential to use.profile - the Azure profile for client.Copyright © 2021 Microsoft Corporation. All rights reserved.