Class CfnDetectorModelPropsMixin.ActionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotevents.CfnDetectorModelPropsMixin.ActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDetectorModelPropsMixin.ActionProperty>
- Enclosing interface:
CfnDetectorModelPropsMixin.ActionProperty
@Stability(Stable)
public static final class CfnDetectorModelPropsMixin.ActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDetectorModelPropsMixin.ActionProperty>
A builder for
CfnDetectorModelPropsMixin.ActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getClearTimer()clearTimer(IResolvable clearTimer) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getClearTimer()Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getDynamoDb()dynamoDb(IResolvable dynamoDb) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getDynamoDb()Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getDynamoDBv2()dynamoDBv2(IResolvable dynamoDBv2) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getDynamoDBv2()Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getFirehose()firehose(IResolvable firehose) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getFirehose()Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getIotEvents()iotEvents(IResolvable iotEvents) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getIotEvents()Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getIotSiteWise()iotSiteWise(IResolvable iotSiteWise) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getIotSiteWise()iotTopicPublish(CfnDetectorModelPropsMixin.IotTopicPublishProperty iotTopicPublish) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getIotTopicPublish()iotTopicPublish(IResolvable iotTopicPublish) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getIotTopicPublish()Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getLambda()lambda(IResolvable lambda) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getLambda()Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getResetTimer()resetTimer(IResolvable resetTimer) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getResetTimer()Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getSetTimer()setTimer(IResolvable setTimer) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getSetTimer()Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getSetVariable()setVariable(IResolvable setVariable) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getSetVariable()Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getSns()sns(IResolvable sns) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getSns()Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getSqs()sqs(IResolvable sqs) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getSqs()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clearTimer
@Stability(Stable) public CfnDetectorModelPropsMixin.ActionProperty.Builder clearTimer(IResolvable clearTimer) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getClearTimer()- Parameters:
clearTimer- Information needed to clear the timer.- Returns:
this
-
clearTimer
@Stability(Stable) public CfnDetectorModelPropsMixin.ActionProperty.Builder clearTimer(CfnDetectorModelPropsMixin.ClearTimerProperty clearTimer) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getClearTimer()- Parameters:
clearTimer- Information needed to clear the timer.- Returns:
this
-
dynamoDb
@Stability(Stable) public CfnDetectorModelPropsMixin.ActionProperty.Builder dynamoDb(IResolvable dynamoDb) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getDynamoDb()- Parameters:
dynamoDb- Writes to the DynamoDB table that you created. The default action payload contains all attribute-value pairs that have the information about the detector model instance and the event that triggered the action. You can customize the payload . One column of the DynamoDB table receives all attribute-value pairs in the payload that you specify. For more information, see Actions in AWS IoT Events Developer Guide .- Returns:
this
-
dynamoDb
@Stability(Stable) public CfnDetectorModelPropsMixin.ActionProperty.Builder dynamoDb(CfnDetectorModelPropsMixin.DynamoDBProperty dynamoDb) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getDynamoDb()- Parameters:
dynamoDb- Writes to the DynamoDB table that you created. The default action payload contains all attribute-value pairs that have the information about the detector model instance and the event that triggered the action. You can customize the payload . One column of the DynamoDB table receives all attribute-value pairs in the payload that you specify. For more information, see Actions in AWS IoT Events Developer Guide .- Returns:
this
-
dynamoDBv2
@Stability(Stable) public CfnDetectorModelPropsMixin.ActionProperty.Builder dynamoDBv2(IResolvable dynamoDBv2) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getDynamoDBv2()- Parameters:
dynamoDBv2- Writes to the DynamoDB table that you created. The default action payload contains all attribute-value pairs that have the information about the detector model instance and the event that triggered the action. You can customize the payload . A separate column of the DynamoDB table receives one attribute-value pair in the payload that you specify. For more information, see Actions in AWS IoT Events Developer Guide .- Returns:
this
-
dynamoDBv2
@Stability(Stable) public CfnDetectorModelPropsMixin.ActionProperty.Builder dynamoDBv2(CfnDetectorModelPropsMixin.DynamoDBv2Property dynamoDBv2) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getDynamoDBv2()- Parameters:
dynamoDBv2- Writes to the DynamoDB table that you created. The default action payload contains all attribute-value pairs that have the information about the detector model instance and the event that triggered the action. You can customize the payload . A separate column of the DynamoDB table receives one attribute-value pair in the payload that you specify. For more information, see Actions in AWS IoT Events Developer Guide .- Returns:
this
-
firehose
@Stability(Stable) public CfnDetectorModelPropsMixin.ActionProperty.Builder firehose(IResolvable firehose) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getFirehose()- Parameters:
firehose- Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.- Returns:
this
-
firehose
@Stability(Stable) public CfnDetectorModelPropsMixin.ActionProperty.Builder firehose(CfnDetectorModelPropsMixin.FirehoseProperty firehose) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getFirehose()- Parameters:
firehose- Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.- Returns:
this
-
iotEvents
@Stability(Stable) public CfnDetectorModelPropsMixin.ActionProperty.Builder iotEvents(IResolvable iotEvents) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getIotEvents()- Parameters:
iotEvents- Sends AWS IoT Events input, which passes information about the detector model instance and the event that triggered the action.- Returns:
this
-
iotEvents
@Stability(Stable) public CfnDetectorModelPropsMixin.ActionProperty.Builder iotEvents(CfnDetectorModelPropsMixin.IotEventsProperty iotEvents) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getIotEvents()- Parameters:
iotEvents- Sends AWS IoT Events input, which passes information about the detector model instance and the event that triggered the action.- Returns:
this
-
iotSiteWise
@Stability(Stable) public CfnDetectorModelPropsMixin.ActionProperty.Builder iotSiteWise(IResolvable iotSiteWise) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getIotSiteWise()- Parameters:
iotSiteWise- Sends information about the detector model instance and the event that triggered the action to an asset property in AWS IoT SiteWise .- Returns:
this
-
iotSiteWise
@Stability(Stable) public CfnDetectorModelPropsMixin.ActionProperty.Builder iotSiteWise(CfnDetectorModelPropsMixin.IotSiteWiseProperty iotSiteWise) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getIotSiteWise()- Parameters:
iotSiteWise- Sends information about the detector model instance and the event that triggered the action to an asset property in AWS IoT SiteWise .- Returns:
this
-
iotTopicPublish
@Stability(Stable) public CfnDetectorModelPropsMixin.ActionProperty.Builder iotTopicPublish(IResolvable iotTopicPublish) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getIotTopicPublish()- Parameters:
iotTopicPublish- Publishes an MQTT message with the given topic to the AWS IoT message broker.- Returns:
this
-
iotTopicPublish
@Stability(Stable) public CfnDetectorModelPropsMixin.ActionProperty.Builder iotTopicPublish(CfnDetectorModelPropsMixin.IotTopicPublishProperty iotTopicPublish) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getIotTopicPublish()- Parameters:
iotTopicPublish- Publishes an MQTT message with the given topic to the AWS IoT message broker.- Returns:
this
-
lambda
@Stability(Stable) public CfnDetectorModelPropsMixin.ActionProperty.Builder lambda(IResolvable lambda) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getLambda()- Parameters:
lambda- Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.- Returns:
this
-
lambda
@Stability(Stable) public CfnDetectorModelPropsMixin.ActionProperty.Builder lambda(CfnDetectorModelPropsMixin.LambdaProperty lambda) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getLambda()- Parameters:
lambda- Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.- Returns:
this
-
resetTimer
@Stability(Stable) public CfnDetectorModelPropsMixin.ActionProperty.Builder resetTimer(IResolvable resetTimer) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getResetTimer()- Parameters:
resetTimer- Information needed to reset the timer.- Returns:
this
-
resetTimer
@Stability(Stable) public CfnDetectorModelPropsMixin.ActionProperty.Builder resetTimer(CfnDetectorModelPropsMixin.ResetTimerProperty resetTimer) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getResetTimer()- Parameters:
resetTimer- Information needed to reset the timer.- Returns:
this
-
setTimer
@Stability(Stable) public CfnDetectorModelPropsMixin.ActionProperty.Builder setTimer(IResolvable setTimer) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getSetTimer()- Parameters:
setTimer- Information needed to set the timer.- Returns:
this
-
setTimer
@Stability(Stable) public CfnDetectorModelPropsMixin.ActionProperty.Builder setTimer(CfnDetectorModelPropsMixin.SetTimerProperty setTimer) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getSetTimer()- Parameters:
setTimer- Information needed to set the timer.- Returns:
this
-
setVariable
@Stability(Stable) public CfnDetectorModelPropsMixin.ActionProperty.Builder setVariable(IResolvable setVariable) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getSetVariable()- Parameters:
setVariable- Sets a variable to a specified value.- Returns:
this
-
setVariable
@Stability(Stable) public CfnDetectorModelPropsMixin.ActionProperty.Builder setVariable(CfnDetectorModelPropsMixin.SetVariableProperty setVariable) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getSetVariable()- Parameters:
setVariable- Sets a variable to a specified value.- Returns:
this
-
sns
Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getSns()- Parameters:
sns- Sends an Amazon SNS message.- Returns:
this
-
sns
@Stability(Stable) public CfnDetectorModelPropsMixin.ActionProperty.Builder sns(CfnDetectorModelPropsMixin.SnsProperty sns) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getSns()- Parameters:
sns- Sends an Amazon SNS message.- Returns:
this
-
sqs
Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getSqs()- Parameters:
sqs- Sends an Amazon SNS message.- Returns:
this
-
sqs
@Stability(Stable) public CfnDetectorModelPropsMixin.ActionProperty.Builder sqs(CfnDetectorModelPropsMixin.SqsProperty sqs) Sets the value ofCfnDetectorModelPropsMixin.ActionProperty.getSqs()- Parameters:
sqs- Sends an Amazon SNS message.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDetectorModelPropsMixin.ActionProperty>- Returns:
- a new instance of
CfnDetectorModelPropsMixin.ActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-