public static final class LogRetentionRetryOptions.Builder
extends java.lang.Object
LogRetentionRetryOptions
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
LogRetentionRetryOptions.Builder |
base(Duration base)
Sets the value of
LogRetentionRetryOptions.getBase() |
LogRetentionRetryOptions |
build()
Builds the configured instance.
|
LogRetentionRetryOptions.Builder |
maxRetries(java.lang.Number maxRetries)
Sets the value of
LogRetentionRetryOptions.getMaxRetries() |
public LogRetentionRetryOptions.Builder base(Duration base)
LogRetentionRetryOptions.getBase()
base
- The base duration to use in the exponential backoff for operation retries.this
public LogRetentionRetryOptions.Builder maxRetries(java.lang.Number maxRetries)
LogRetentionRetryOptions.getMaxRetries()
maxRetries
- The maximum amount of retries.this
public LogRetentionRetryOptions build()
LogRetentionRetryOptions
java.lang.NullPointerException
- if any required attribute was not provided