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(IResolvable bisectBatchOnFunctionError) Sets the value ofCfnFunction.DynamoDBEventProperty.getBisectBatchOnFunctionError()build()Builds the configured instance.destinationConfig(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(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- the value to be set. This parameter is required.- Returns:
this
-
stream
Sets the value ofCfnFunction.DynamoDBEventProperty.getStream()- Parameters:
stream- the value to be set. This parameter is required.- Returns:
this
-
batchSize
Sets the value ofCfnFunction.DynamoDBEventProperty.getBatchSize()- Parameters:
batchSize- the value to be set.- Returns:
this
-
bisectBatchOnFunctionError
@Stability(Stable) public CfnFunction.DynamoDBEventProperty.Builder bisectBatchOnFunctionError(Boolean bisectBatchOnFunctionError) Sets the value ofCfnFunction.DynamoDBEventProperty.getBisectBatchOnFunctionError()- Parameters:
bisectBatchOnFunctionError- the value to be set.- Returns:
this
-
bisectBatchOnFunctionError
@Stability(Stable) public CfnFunction.DynamoDBEventProperty.Builder bisectBatchOnFunctionError(IResolvable bisectBatchOnFunctionError) Sets the value ofCfnFunction.DynamoDBEventProperty.getBisectBatchOnFunctionError()- Parameters:
bisectBatchOnFunctionError- the value to be set.- Returns:
this
-
destinationConfig
@Stability(Stable) public CfnFunction.DynamoDBEventProperty.Builder destinationConfig(IResolvable destinationConfig) Sets the value ofCfnFunction.DynamoDBEventProperty.getDestinationConfig()- Parameters:
destinationConfig- the value to be set.- Returns:
this
-
destinationConfig
@Stability(Stable) public CfnFunction.DynamoDBEventProperty.Builder destinationConfig(CfnFunction.DestinationConfigProperty destinationConfig) Sets the value ofCfnFunction.DynamoDBEventProperty.getDestinationConfig()- Parameters:
destinationConfig- the value to be set.- Returns:
this
-
enabled
Sets the value ofCfnFunction.DynamoDBEventProperty.getEnabled()- Parameters:
enabled- the value to be set.- Returns:
this
-
enabled
Sets the value ofCfnFunction.DynamoDBEventProperty.getEnabled()- Parameters:
enabled- the value to be set.- Returns:
this
-
maximumBatchingWindowInSeconds
@Stability(Stable) public CfnFunction.DynamoDBEventProperty.Builder maximumBatchingWindowInSeconds(Number maximumBatchingWindowInSeconds) Sets the value ofCfnFunction.DynamoDBEventProperty.getMaximumBatchingWindowInSeconds()- Parameters:
maximumBatchingWindowInSeconds- the value to be set.- Returns:
this
-
maximumRecordAgeInSeconds
@Stability(Stable) public CfnFunction.DynamoDBEventProperty.Builder maximumRecordAgeInSeconds(Number maximumRecordAgeInSeconds) Sets the value ofCfnFunction.DynamoDBEventProperty.getMaximumRecordAgeInSeconds()- Parameters:
maximumRecordAgeInSeconds- the value to be set.- Returns:
this
-
maximumRetryAttempts
@Stability(Stable) public CfnFunction.DynamoDBEventProperty.Builder maximumRetryAttempts(Number maximumRetryAttempts) Sets the value ofCfnFunction.DynamoDBEventProperty.getMaximumRetryAttempts()- Parameters:
maximumRetryAttempts- the value to be set.- Returns:
this
-
parallelizationFactor
@Stability(Stable) public CfnFunction.DynamoDBEventProperty.Builder parallelizationFactor(Number parallelizationFactor) Sets the value ofCfnFunction.DynamoDBEventProperty.getParallelizationFactor()- Parameters:
parallelizationFactor- the value to be set.- 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
-