Class CfnAlarmModelPropsMixin.DynamoDBv2Property.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotevents.CfnAlarmModelPropsMixin.DynamoDBv2Property.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAlarmModelPropsMixin.DynamoDBv2Property>
- Enclosing interface:
CfnAlarmModelPropsMixin.DynamoDBv2Property
@Stability(Stable)
public static final class CfnAlarmModelPropsMixin.DynamoDBv2Property.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAlarmModelPropsMixin.DynamoDBv2Property>
A builder for
CfnAlarmModelPropsMixin.DynamoDBv2Property-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAlarmModelPropsMixin.DynamoDBv2Property.getPayload()payload(IResolvable payload) Sets the value ofCfnAlarmModelPropsMixin.DynamoDBv2Property.getPayload()Sets the value ofCfnAlarmModelPropsMixin.DynamoDBv2Property.getTableName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
payload
@Stability(Stable) public CfnAlarmModelPropsMixin.DynamoDBv2Property.Builder payload(IResolvable payload) Sets the value ofCfnAlarmModelPropsMixin.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 CfnAlarmModelPropsMixin.DynamoDBv2Property.Builder payload(CfnAlarmModelPropsMixin.PayloadProperty payload) Sets the value ofCfnAlarmModelPropsMixin.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 CfnAlarmModelPropsMixin.DynamoDBv2Property.Builder tableName(String tableName) Sets the value ofCfnAlarmModelPropsMixin.DynamoDBv2Property.getTableName()- Parameters:
tableName- The name of the DynamoDB table.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAlarmModelPropsMixin.DynamoDBv2Property>- Returns:
- a new instance of
CfnAlarmModelPropsMixin.DynamoDBv2Property - Throws:
NullPointerException- if any required attribute was not provided
-