Class LogRetentionRetryOptions.Builder
java.lang.Object
software.amazon.awscdk.services.logs.LogRetentionRetryOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<LogRetentionRetryOptions>
- Enclosing interface:
LogRetentionRetryOptions
@Stability(Stable)
public static final class LogRetentionRetryOptions.Builder
extends Object
implements software.amazon.jsii.Builder<LogRetentionRetryOptions>
A builder for
LogRetentionRetryOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Unused since the upgrade to AWS SDK v3, which uses a different retry strategybuild()
Builds the configured instance.maxRetries
(Number maxRetries) Sets the value ofLogRetentionRetryOptions.getMaxRetries()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
base
Deprecated.Unused since the upgrade to AWS SDK v3, which uses a different retry strategySets the value ofLogRetentionRetryOptions.getBase()
- Parameters:
base
- The base duration to use in the exponential backoff for operation retries.- Returns:
this
-
maxRetries
Sets the value ofLogRetentionRetryOptions.getMaxRetries()
- Parameters:
maxRetries
- The maximum amount of retries.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<LogRetentionRetryOptions>
- Returns:
- a new instance of
LogRetentionRetryOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-