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