Class LogRetentionRetryOptions.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofLogRetentionRetryOptions.getBase()build()Builds the configured instance.maxRetries(Number maxRetries) Sets the value ofLogRetentionRetryOptions.getMaxRetries()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
base
Sets 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:
buildin interfacesoftware.amazon.jsii.Builder<LogRetentionRetryOptions>- Returns:
- a new instance of
LogRetentionRetryOptions - Throws:
NullPointerException- if any required attribute was not provided
-