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