Class DynamicPartitioningProps.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.DynamicPartitioningProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DynamicPartitioningProps>
- Enclosing interface:
DynamicPartitioningProps
@Stability(Stable)
public static final class DynamicPartitioningProps.Builder
extends Object
implements software.amazon.jsii.Builder<DynamicPartitioningProps>
A builder for
DynamicPartitioningProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofDynamicPartitioningProps.getEnabled()retryDuration(Duration retryDuration) Sets the value ofDynamicPartitioningProps.getRetryDuration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
Sets the value ofDynamicPartitioningProps.getEnabled()- Parameters:
enabled- Whether to enable the dynamic partitioning. This parameter is required. You cannot enable dynamic partitioning for an existing Firehose stream that does not have dynamic partitioning already enabled.- Returns:
this
-
retryDuration
Sets the value ofDynamicPartitioningProps.getRetryDuration()- Parameters:
retryDuration- The total amount of time that Data Firehose spends on retries. Minimum: Duration.seconds(0) Maximum: Duration.seconds(7200)- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DynamicPartitioningProps>- Returns:
- a new instance of
DynamicPartitioningProps - Throws:
NullPointerException- if any required attribute was not provided
-