public static final class CfnDetectorModel.DynamoDBv2Property.Builder
extends java.lang.Object
CfnDetectorModel.DynamoDBv2Property
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDetectorModel.DynamoDBv2Property |
build()
Builds the configured instance.
|
CfnDetectorModel.DynamoDBv2Property.Builder |
payload(CfnDetectorModel.PayloadProperty payload)
Sets the value of
CfnDetectorModel.DynamoDBv2Property.getPayload() |
CfnDetectorModel.DynamoDBv2Property.Builder |
payload(IResolvable payload)
Sets the value of
CfnDetectorModel.DynamoDBv2Property.getPayload() |
CfnDetectorModel.DynamoDBv2Property.Builder |
tableName(java.lang.String tableName)
Sets the value of
CfnDetectorModel.DynamoDBv2Property.getTableName() |
public CfnDetectorModel.DynamoDBv2Property.Builder tableName(java.lang.String tableName)
CfnDetectorModel.DynamoDBv2Property.getTableName()
tableName
- The name of the DynamoDB table. This parameter is required.this
public CfnDetectorModel.DynamoDBv2Property.Builder payload(IResolvable payload)
CfnDetectorModel.DynamoDBv2Property.getPayload()
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 use contentExpression
.this
public CfnDetectorModel.DynamoDBv2Property.Builder payload(CfnDetectorModel.PayloadProperty payload)
CfnDetectorModel.DynamoDBv2Property.getPayload()
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 use contentExpression
.this
public CfnDetectorModel.DynamoDBv2Property build()
CfnDetectorModel.DynamoDBv2Property
java.lang.NullPointerException
- if any required attribute was not provided