T
- the type of the credential builderpublic abstract class CredentialBuilderBase<T extends CredentialBuilderBase<T>> extends Object
Modifier and Type | Method and Description |
---|---|
T |
maxRetry(int maxRetry)
Specifies the max number of retries when an authentication request fails.
|
T |
proxyOptions(ProxyOptions proxyOptions)
Specifies he options for proxy configuration.
|
T |
retryTimeout(Function<Duration,Duration> retryTimeout)
Specifies a Function to calculate seconds of timeout on every retried request.
|
public T maxRetry(int maxRetry)
maxRetry
- the number of retriespublic T retryTimeout(Function<Duration,Duration> retryTimeout)
retryTimeout
- the Function that returns a timeout in seconds given the number of retrypublic T proxyOptions(ProxyOptions proxyOptions)
proxyOptions
- the options for proxy configurationCopyright © 2019 Microsoft Corporation. All rights reserved.