T - the actual type of the interface extending this interfacepublic interface AzureConfigurable<T extends AzureConfigurable<T>>
| Modifier and Type | Method and Description |
|---|---|
T |
withAuxiliaryCredential(com.azure.core.credential.TokenCredential token)
Set the cross-tenant auxiliary credentials for Azure which can hold up to three.
|
T |
withAuxiliaryCredentials(List<com.azure.core.credential.TokenCredential> tokens)
Set the cross-tenant auxiliary credentials for Azure which can hold up to three.
|
T |
withConfiguration(com.azure.core.util.Configuration configuration)
Sets the configuration.
|
T |
withHttpClient(com.azure.core.http.HttpClient httpClient)
Sets the http client.
|
T |
withLogLevel(com.azure.core.http.policy.HttpLogDetailLevel logLevel)
Sets the logging detail level on the HTTP client.
|
T |
withLogOptions(com.azure.core.http.policy.HttpLogOptions logOptions)
Set the logging options on the HTTP client.
|
T |
withPolicy(com.azure.core.http.policy.HttpPipelinePolicy policy)
Plug in a policy into the HTTP pipeline.
|
T |
withRetryPolicy(com.azure.core.http.policy.RetryPolicy retryPolicy)
Sets the retry policy used in http pipeline.
|
T |
withScope(String scope)
Sets the credential scope.
|
T |
withScopes(List<String> scopes)
Sets the credential scopes.
|
T withLogOptions(com.azure.core.http.policy.HttpLogOptions logOptions)
logOptions - the HttpLogDetailLevel logging optionsT withLogLevel(com.azure.core.http.policy.HttpLogDetailLevel logLevel)
HttpLogOptions.setLogLevel(HttpLogDetailLevel) configure of
AzureConfigurable.withLogOptions(HttpLogOptions).logLevel - the logging levelT withPolicy(com.azure.core.http.policy.HttpPipelinePolicy policy)
policy - the policy to plug inT withAuxiliaryCredential(com.azure.core.credential.TokenCredential token)
token - the auxiliary credentialT withAuxiliaryCredentials(List<com.azure.core.credential.TokenCredential> tokens)
tokens - the auxiliary credentialsT withRetryPolicy(com.azure.core.http.policy.RetryPolicy retryPolicy)
retryPolicy - the retry policyT withScope(String scope)
scope - the credential scopeT withScopes(List<String> scopes)
scopes - the credential scopeT withHttpClient(com.azure.core.http.HttpClient httpClient)
httpClient - the http clientT withConfiguration(com.azure.core.util.Configuration configuration)
configuration - the proxy to useCopyright © 2021 Microsoft Corporation. All rights reserved.