Class CfnDetectorModelPropsMixin.DynamoDBv2Property.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.iotevents.mixins.CfnDetectorModelPropsMixin.DynamoDBv2Property.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDetectorModelPropsMixin.DynamoDBv2Property>
- Enclosing interface:
CfnDetectorModelPropsMixin.DynamoDBv2Property
@Stability(Stable)
public static final class CfnDetectorModelPropsMixin.DynamoDBv2Property.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDetectorModelPropsMixin.DynamoDBv2Property>
A builder for
CfnDetectorModelPropsMixin.DynamoDBv2Property-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.payload(IResolvable payload) Sets the value ofCfnDetectorModelPropsMixin.DynamoDBv2Property.getPayload()Sets the value ofCfnDetectorModelPropsMixin.DynamoDBv2Property.getPayload()Sets the value ofCfnDetectorModelPropsMixin.DynamoDBv2Property.getTableName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
payload
@Stability(Stable) public CfnDetectorModelPropsMixin.DynamoDBv2Property.Builder payload(IResolvable payload) Sets the value ofCfnDetectorModelPropsMixin.DynamoDBv2Property.getPayload()- Parameters:
payload- Information needed to configure the payload. By default, AWS IoT Events generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the detector model instance and the event triggered the action. To configure the action payload, you can usecontentExpression.- Returns:
this
-
payload
@Stability(Stable) public CfnDetectorModelPropsMixin.DynamoDBv2Property.Builder payload(CfnDetectorModelPropsMixin.PayloadProperty payload) Sets the value ofCfnDetectorModelPropsMixin.DynamoDBv2Property.getPayload()- Parameters:
payload- Information needed to configure the payload. By default, AWS IoT Events generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the detector model instance and the event triggered the action. To configure the action payload, you can usecontentExpression.- Returns:
this
-
tableName
@Stability(Stable) public CfnDetectorModelPropsMixin.DynamoDBv2Property.Builder tableName(String tableName) Sets the value ofCfnDetectorModelPropsMixin.DynamoDBv2Property.getTableName()- Parameters:
tableName- The name of the DynamoDB table.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDetectorModelPropsMixin.DynamoDBv2Property>- Returns:
- a new instance of
CfnDetectorModelPropsMixin.DynamoDBv2Property - Throws:
NullPointerException- if any required attribute was not provided
-