Class CfnFunction.KinesisEventProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sam.CfnFunction.KinesisEventProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunction.KinesisEventProperty>
- Enclosing interface:
CfnFunction.KinesisEventProperty
@Stability(Stable)
public static final class CfnFunction.KinesisEventProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunction.KinesisEventProperty>
A builder for
CfnFunction.KinesisEventProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnFunction.KinesisEventProperty.getBatchSize()
build()
Builds the configured instance.Sets the value ofCfnFunction.KinesisEventProperty.getEnabled()
enabled
(IResolvable enabled) Sets the value ofCfnFunction.KinesisEventProperty.getEnabled()
functionResponseTypes
(List<String> functionResponseTypes) Sets the value ofCfnFunction.KinesisEventProperty.getFunctionResponseTypes()
startingPosition
(String startingPosition) Sets the value ofCfnFunction.KinesisEventProperty.getStartingPosition()
Sets the value ofCfnFunction.KinesisEventProperty.getStream()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
startingPosition
@Stability(Stable) public CfnFunction.KinesisEventProperty.Builder startingPosition(String startingPosition) Sets the value ofCfnFunction.KinesisEventProperty.getStartingPosition()
- Parameters:
startingPosition
- the value to be set. This parameter is required.- Returns:
this
-
stream
Sets the value ofCfnFunction.KinesisEventProperty.getStream()
- Parameters:
stream
- the value to be set. This parameter is required.- Returns:
this
-
batchSize
Sets the value ofCfnFunction.KinesisEventProperty.getBatchSize()
- Parameters:
batchSize
- the value to be set.- Returns:
this
-
enabled
Sets the value ofCfnFunction.KinesisEventProperty.getEnabled()
- Parameters:
enabled
- the value to be set.- Returns:
this
-
enabled
Sets the value ofCfnFunction.KinesisEventProperty.getEnabled()
- Parameters:
enabled
- the value to be set.- Returns:
this
-
functionResponseTypes
@Stability(Stable) public CfnFunction.KinesisEventProperty.Builder functionResponseTypes(List<String> functionResponseTypes) Sets the value ofCfnFunction.KinesisEventProperty.getFunctionResponseTypes()
- Parameters:
functionResponseTypes
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFunction.KinesisEventProperty>
- Returns:
- a new instance of
CfnFunction.KinesisEventProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-