Class CfnFunction.DynamoDBEventProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sam.CfnFunction.DynamoDBEventProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunction.DynamoDBEventProperty>
- Enclosing interface:
CfnFunction.DynamoDBEventProperty
@Stability(Stable)
public static final class CfnFunction.DynamoDBEventProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunction.DynamoDBEventProperty>
A builder for
CfnFunction.DynamoDBEventProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnFunction.DynamoDBEventProperty.getBatchSize()bisectBatchOnFunctionError(Boolean bisectBatchOnFunctionError) Sets the value ofCfnFunction.DynamoDBEventProperty.getBisectBatchOnFunctionError()bisectBatchOnFunctionError(software.amazon.awscdk.core.IResolvable bisectBatchOnFunctionError) Sets the value ofCfnFunction.DynamoDBEventProperty.getBisectBatchOnFunctionError()build()Builds the configured instance.destinationConfig(software.amazon.awscdk.core.IResolvable destinationConfig) Sets the value ofCfnFunction.DynamoDBEventProperty.getDestinationConfig()destinationConfig(CfnFunction.DestinationConfigProperty destinationConfig) Sets the value ofCfnFunction.DynamoDBEventProperty.getDestinationConfig()Sets the value ofCfnFunction.DynamoDBEventProperty.getEnabled()enabled(software.amazon.awscdk.core.IResolvable enabled) Sets the value ofCfnFunction.DynamoDBEventProperty.getEnabled()maximumBatchingWindowInSeconds(Number maximumBatchingWindowInSeconds) Sets the value ofCfnFunction.DynamoDBEventProperty.getMaximumBatchingWindowInSeconds()maximumRecordAgeInSeconds(Number maximumRecordAgeInSeconds) Sets the value ofCfnFunction.DynamoDBEventProperty.getMaximumRecordAgeInSeconds()maximumRetryAttempts(Number maximumRetryAttempts) Sets the value ofCfnFunction.DynamoDBEventProperty.getMaximumRetryAttempts()parallelizationFactor(Number parallelizationFactor) Sets the value ofCfnFunction.DynamoDBEventProperty.getParallelizationFactor()startingPosition(String startingPosition) Sets the value ofCfnFunction.DynamoDBEventProperty.getStartingPosition()Sets the value ofCfnFunction.DynamoDBEventProperty.getStream()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
startingPosition
@Stability(Stable) public CfnFunction.DynamoDBEventProperty.Builder startingPosition(String startingPosition) Sets the value ofCfnFunction.DynamoDBEventProperty.getStartingPosition()- Parameters:
startingPosition- `CfnFunction.DynamoDBEventProperty.StartingPosition`. This parameter is required.- Returns:
this
-
stream
Sets the value ofCfnFunction.DynamoDBEventProperty.getStream()- Parameters:
stream- `CfnFunction.DynamoDBEventProperty.Stream`. This parameter is required.- Returns:
this
-
batchSize
Sets the value ofCfnFunction.DynamoDBEventProperty.getBatchSize()- Parameters:
batchSize- `CfnFunction.DynamoDBEventProperty.BatchSize`.- Returns:
this
-
bisectBatchOnFunctionError
@Stability(Stable) public CfnFunction.DynamoDBEventProperty.Builder bisectBatchOnFunctionError(Boolean bisectBatchOnFunctionError) Sets the value ofCfnFunction.DynamoDBEventProperty.getBisectBatchOnFunctionError()- Parameters:
bisectBatchOnFunctionError- `CfnFunction.DynamoDBEventProperty.BisectBatchOnFunctionError`.- Returns:
this
-
bisectBatchOnFunctionError
@Stability(Stable) public CfnFunction.DynamoDBEventProperty.Builder bisectBatchOnFunctionError(software.amazon.awscdk.core.IResolvable bisectBatchOnFunctionError) Sets the value ofCfnFunction.DynamoDBEventProperty.getBisectBatchOnFunctionError()- Parameters:
bisectBatchOnFunctionError- `CfnFunction.DynamoDBEventProperty.BisectBatchOnFunctionError`.- Returns:
this
-
destinationConfig
@Stability(Stable) public CfnFunction.DynamoDBEventProperty.Builder destinationConfig(software.amazon.awscdk.core.IResolvable destinationConfig) Sets the value ofCfnFunction.DynamoDBEventProperty.getDestinationConfig()- Parameters:
destinationConfig- `CfnFunction.DynamoDBEventProperty.DestinationConfig`.- Returns:
this
-
destinationConfig
@Stability(Stable) public CfnFunction.DynamoDBEventProperty.Builder destinationConfig(CfnFunction.DestinationConfigProperty destinationConfig) Sets the value ofCfnFunction.DynamoDBEventProperty.getDestinationConfig()- Parameters:
destinationConfig- `CfnFunction.DynamoDBEventProperty.DestinationConfig`.- Returns:
this
-
enabled
Sets the value ofCfnFunction.DynamoDBEventProperty.getEnabled()- Parameters:
enabled- `CfnFunction.DynamoDBEventProperty.Enabled`.- Returns:
this
-
enabled
@Stability(Stable) public CfnFunction.DynamoDBEventProperty.Builder enabled(software.amazon.awscdk.core.IResolvable enabled) Sets the value ofCfnFunction.DynamoDBEventProperty.getEnabled()- Parameters:
enabled- `CfnFunction.DynamoDBEventProperty.Enabled`.- Returns:
this
-
maximumBatchingWindowInSeconds
@Stability(Stable) public CfnFunction.DynamoDBEventProperty.Builder maximumBatchingWindowInSeconds(Number maximumBatchingWindowInSeconds) Sets the value ofCfnFunction.DynamoDBEventProperty.getMaximumBatchingWindowInSeconds()- Parameters:
maximumBatchingWindowInSeconds- `CfnFunction.DynamoDBEventProperty.MaximumBatchingWindowInSeconds`.- Returns:
this
-
maximumRecordAgeInSeconds
@Stability(Stable) public CfnFunction.DynamoDBEventProperty.Builder maximumRecordAgeInSeconds(Number maximumRecordAgeInSeconds) Sets the value ofCfnFunction.DynamoDBEventProperty.getMaximumRecordAgeInSeconds()- Parameters:
maximumRecordAgeInSeconds- `CfnFunction.DynamoDBEventProperty.MaximumRecordAgeInSeconds`.- Returns:
this
-
maximumRetryAttempts
@Stability(Stable) public CfnFunction.DynamoDBEventProperty.Builder maximumRetryAttempts(Number maximumRetryAttempts) Sets the value ofCfnFunction.DynamoDBEventProperty.getMaximumRetryAttempts()- Parameters:
maximumRetryAttempts- `CfnFunction.DynamoDBEventProperty.MaximumRetryAttempts`.- Returns:
this
-
parallelizationFactor
@Stability(Stable) public CfnFunction.DynamoDBEventProperty.Builder parallelizationFactor(Number parallelizationFactor) Sets the value ofCfnFunction.DynamoDBEventProperty.getParallelizationFactor()- Parameters:
parallelizationFactor- `CfnFunction.DynamoDBEventProperty.ParallelizationFactor`.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunction.DynamoDBEventProperty>- Returns:
- a new instance of
CfnFunction.DynamoDBEventProperty - Throws:
NullPointerException- if any required attribute was not provided
-