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
-
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
- the value to be set. This parameter is required.- Returns:
this
-
batchSize
Sets the value ofCfnFunction.SQSEventProperty.getBatchSize()
- Parameters:
batchSize
- the value to be set.- Returns:
this
-
enabled
Sets the value ofCfnFunction.SQSEventProperty.getEnabled()
- Parameters:
enabled
- the value to be set.- Returns:
this
-
enabled
Sets the value ofCfnFunction.SQSEventProperty.getEnabled()
- Parameters:
enabled
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFunction.SQSEventProperty>
- Returns:
- a new instance of
CfnFunction.SQSEventProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-