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