Class CfnFunctionPropsMixin.DynamoDBEventProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sam.CfnFunctionPropsMixin.DynamoDBEventProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunctionPropsMixin.DynamoDBEventProperty>
- Enclosing interface:
CfnFunctionPropsMixin.DynamoDBEventProperty
@Stability(Stable)
public static final class CfnFunctionPropsMixin.DynamoDBEventProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunctionPropsMixin.DynamoDBEventProperty>
A builder for
CfnFunctionPropsMixin.DynamoDBEventProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnFunctionPropsMixin.DynamoDBEventProperty.getBatchSize()bisectBatchOnFunctionError(Boolean bisectBatchOnFunctionError) bisectBatchOnFunctionError(IResolvable bisectBatchOnFunctionError) build()Builds the configured instance.destinationConfig(CfnFunctionPropsMixin.DestinationConfigProperty destinationConfig) Sets the value ofCfnFunctionPropsMixin.DynamoDBEventProperty.getDestinationConfig()destinationConfig(IResolvable destinationConfig) Sets the value ofCfnFunctionPropsMixin.DynamoDBEventProperty.getDestinationConfig()Sets the value ofCfnFunctionPropsMixin.DynamoDBEventProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnFunctionPropsMixin.DynamoDBEventProperty.getEnabled()maximumBatchingWindowInSeconds(Number maximumBatchingWindowInSeconds) maximumRecordAgeInSeconds(Number maximumRecordAgeInSeconds) maximumRetryAttempts(Number maximumRetryAttempts) Sets the value ofCfnFunctionPropsMixin.DynamoDBEventProperty.getMaximumRetryAttempts()parallelizationFactor(Number parallelizationFactor) Sets the value ofCfnFunctionPropsMixin.DynamoDBEventProperty.getParallelizationFactor()startingPosition(String startingPosition) Sets the value ofCfnFunctionPropsMixin.DynamoDBEventProperty.getStartingPosition()Sets the value ofCfnFunctionPropsMixin.DynamoDBEventProperty.getStream()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
batchSize
@Stability(Stable) public CfnFunctionPropsMixin.DynamoDBEventProperty.Builder batchSize(Number batchSize) Sets the value ofCfnFunctionPropsMixin.DynamoDBEventProperty.getBatchSize()- Parameters:
batchSize- the value to be set.- Returns:
this
-
bisectBatchOnFunctionError
@Stability(Stable) public CfnFunctionPropsMixin.DynamoDBEventProperty.Builder bisectBatchOnFunctionError(Boolean bisectBatchOnFunctionError) - Parameters:
bisectBatchOnFunctionError- the value to be set.- Returns:
this
-
bisectBatchOnFunctionError
@Stability(Stable) public CfnFunctionPropsMixin.DynamoDBEventProperty.Builder bisectBatchOnFunctionError(IResolvable bisectBatchOnFunctionError) - Parameters:
bisectBatchOnFunctionError- the value to be set.- Returns:
this
-
destinationConfig
@Stability(Stable) public CfnFunctionPropsMixin.DynamoDBEventProperty.Builder destinationConfig(IResolvable destinationConfig) Sets the value ofCfnFunctionPropsMixin.DynamoDBEventProperty.getDestinationConfig()- Parameters:
destinationConfig- the value to be set.- Returns:
this
-
destinationConfig
@Stability(Stable) public CfnFunctionPropsMixin.DynamoDBEventProperty.Builder destinationConfig(CfnFunctionPropsMixin.DestinationConfigProperty destinationConfig) Sets the value ofCfnFunctionPropsMixin.DynamoDBEventProperty.getDestinationConfig()- Parameters:
destinationConfig- the value to be set.- Returns:
this
-
enabled
@Stability(Stable) public CfnFunctionPropsMixin.DynamoDBEventProperty.Builder enabled(Boolean enabled) Sets the value ofCfnFunctionPropsMixin.DynamoDBEventProperty.getEnabled()- Parameters:
enabled- the value to be set.- Returns:
this
-
enabled
@Stability(Stable) public CfnFunctionPropsMixin.DynamoDBEventProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnFunctionPropsMixin.DynamoDBEventProperty.getEnabled()- Parameters:
enabled- the value to be set.- Returns:
this
-
maximumBatchingWindowInSeconds
@Stability(Stable) public CfnFunctionPropsMixin.DynamoDBEventProperty.Builder maximumBatchingWindowInSeconds(Number maximumBatchingWindowInSeconds) - Parameters:
maximumBatchingWindowInSeconds- the value to be set.- Returns:
this
-
maximumRecordAgeInSeconds
@Stability(Stable) public CfnFunctionPropsMixin.DynamoDBEventProperty.Builder maximumRecordAgeInSeconds(Number maximumRecordAgeInSeconds) - Parameters:
maximumRecordAgeInSeconds- the value to be set.- Returns:
this
-
maximumRetryAttempts
@Stability(Stable) public CfnFunctionPropsMixin.DynamoDBEventProperty.Builder maximumRetryAttempts(Number maximumRetryAttempts) Sets the value ofCfnFunctionPropsMixin.DynamoDBEventProperty.getMaximumRetryAttempts()- Parameters:
maximumRetryAttempts- the value to be set.- Returns:
this
-
parallelizationFactor
@Stability(Stable) public CfnFunctionPropsMixin.DynamoDBEventProperty.Builder parallelizationFactor(Number parallelizationFactor) Sets the value ofCfnFunctionPropsMixin.DynamoDBEventProperty.getParallelizationFactor()- Parameters:
parallelizationFactor- the value to be set.- Returns:
this
-
startingPosition
@Stability(Stable) public CfnFunctionPropsMixin.DynamoDBEventProperty.Builder startingPosition(String startingPosition) Sets the value ofCfnFunctionPropsMixin.DynamoDBEventProperty.getStartingPosition()- Parameters:
startingPosition- the value to be set.- Returns:
this
-
stream
Sets the value ofCfnFunctionPropsMixin.DynamoDBEventProperty.getStream()- Parameters:
stream- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunctionPropsMixin.DynamoDBEventProperty>- Returns:
- a new instance of
CfnFunctionPropsMixin.DynamoDBEventProperty - Throws:
NullPointerException- if any required attribute was not provided
-