public static final class StoragePoolManager.Configurable extends Object
Modifier and Type | Method and Description |
---|---|
StoragePoolManager |
authenticate(com.azure.core.credential.TokenCredential credential,
com.azure.core.management.profile.AzureProfile profile)
Creates an instance of StoragePool service API entry point.
|
StoragePoolManager.Configurable |
withDefaultPollInterval(Duration defaultPollInterval)
Sets the default poll interval, used when service does not provide "Retry-After" header.
|
StoragePoolManager.Configurable |
withHttpClient(com.azure.core.http.HttpClient httpClient)
Sets the http client.
|
StoragePoolManager.Configurable |
withLogOptions(com.azure.core.http.policy.HttpLogOptions httpLogOptions)
Sets the logging options to the HTTP pipeline.
|
StoragePoolManager.Configurable |
withPolicy(com.azure.core.http.policy.HttpPipelinePolicy policy)
Adds the pipeline policy to the HTTP pipeline.
|
StoragePoolManager.Configurable |
withRetryPolicy(com.azure.core.http.policy.RetryPolicy retryPolicy)
Sets the retry policy to the HTTP pipeline.
|
StoragePoolManager.Configurable |
withScope(String scope)
Adds the scope to permission sets.
|
public StoragePoolManager.Configurable withHttpClient(com.azure.core.http.HttpClient httpClient)
httpClient
- the HTTP client.public StoragePoolManager.Configurable withLogOptions(com.azure.core.http.policy.HttpLogOptions httpLogOptions)
httpLogOptions
- the HTTP log options.public StoragePoolManager.Configurable withPolicy(com.azure.core.http.policy.HttpPipelinePolicy policy)
policy
- the HTTP pipeline policy.public StoragePoolManager.Configurable withScope(String scope)
scope
- the scope.public StoragePoolManager.Configurable withRetryPolicy(com.azure.core.http.policy.RetryPolicy retryPolicy)
retryPolicy
- the HTTP pipeline retry policy.public StoragePoolManager.Configurable withDefaultPollInterval(Duration defaultPollInterval)
defaultPollInterval
- the default poll interval.public StoragePoolManager 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.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.