Interface Action.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Action.Builder,
,Action> SdkBuilder<Action.Builder,
,Action> SdkPojo
- Enclosing class:
Action
-
Method Summary
Modifier and TypeMethodDescriptiondefault Action.Builder
clearTimer
(Consumer<ClearTimerAction.Builder> clearTimer) Information needed to clear the timer.clearTimer
(ClearTimerAction clearTimer) Information needed to clear the timer.default Action.Builder
dynamoDB
(Consumer<DynamoDBAction.Builder> dynamoDB) Writes to the DynamoDB table that you created.dynamoDB
(DynamoDBAction dynamoDB) Writes to the DynamoDB table that you created.default Action.Builder
dynamoDBv2
(Consumer<DynamoDBv2Action.Builder> dynamoDBv2) Writes to the DynamoDB table that you created.dynamoDBv2
(DynamoDBv2Action dynamoDBv2) Writes to the DynamoDB table that you created.default Action.Builder
firehose
(Consumer<FirehoseAction.Builder> firehose) Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.firehose
(FirehoseAction firehose) Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.default Action.Builder
iotEvents
(Consumer<IotEventsAction.Builder> iotEvents) Sends AWS IoT Events input, which passes information about the detector model instance and the event that triggered the action.iotEvents
(IotEventsAction iotEvents) Sends AWS IoT Events input, which passes information about the detector model instance and the event that triggered the action.default Action.Builder
iotSiteWise
(Consumer<IotSiteWiseAction.Builder> iotSiteWise) Sends information about the detector model instance and the event that triggered the action to an asset property in AWS IoT SiteWise .iotSiteWise
(IotSiteWiseAction iotSiteWise) Sends information about the detector model instance and the event that triggered the action to an asset property in AWS IoT SiteWise .default Action.Builder
iotTopicPublish
(Consumer<IotTopicPublishAction.Builder> iotTopicPublish) Publishes an MQTT message with the given topic to the AWS IoT message broker.iotTopicPublish
(IotTopicPublishAction iotTopicPublish) Publishes an MQTT message with the given topic to the AWS IoT message broker.default Action.Builder
lambda
(Consumer<LambdaAction.Builder> lambda) Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.lambda
(LambdaAction lambda) Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.default Action.Builder
resetTimer
(Consumer<ResetTimerAction.Builder> resetTimer) Information needed to reset the timer.resetTimer
(ResetTimerAction resetTimer) Information needed to reset the timer.default Action.Builder
setTimer
(Consumer<SetTimerAction.Builder> setTimer) Information needed to set the timer.setTimer
(SetTimerAction setTimer) Information needed to set the timer.default Action.Builder
setVariable
(Consumer<SetVariableAction.Builder> setVariable) Sets a variable to a specified value.setVariable
(SetVariableAction setVariable) Sets a variable to a specified value.default Action.Builder
Sends an Amazon SNS message.sns
(SNSTopicPublishAction sns) Sends an Amazon SNS message.default Action.Builder
sqs
(Consumer<SqsAction.Builder> sqs) Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
setVariable
Sets a variable to a specified value.
- Parameters:
setVariable
- Sets a variable to a specified value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVariable
Sets a variable to a specified value.
This is a convenience method that creates an instance of theSetVariableAction.Builder
avoiding the need to create one manually viaSetVariableAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosetVariable(SetVariableAction)
.- Parameters:
setVariable
- a consumer that will call methods onSetVariableAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sns
Sends an Amazon SNS message.
- Parameters:
sns
- Sends an Amazon SNS message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sns
Sends an Amazon SNS message.
This is a convenience method that creates an instance of theSNSTopicPublishAction.Builder
avoiding the need to create one manually viaSNSTopicPublishAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosns(SNSTopicPublishAction)
.- Parameters:
sns
- a consumer that will call methods onSNSTopicPublishAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
iotTopicPublish
Publishes an MQTT message with the given topic to the AWS IoT message broker.
- Parameters:
iotTopicPublish
- Publishes an MQTT message with the given topic to the AWS IoT message broker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iotTopicPublish
Publishes an MQTT message with the given topic to the AWS IoT message broker.
This is a convenience method that creates an instance of theIotTopicPublishAction.Builder
avoiding the need to create one manually viaIotTopicPublishAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toiotTopicPublish(IotTopicPublishAction)
.- Parameters:
iotTopicPublish
- a consumer that will call methods onIotTopicPublishAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setTimer
Information needed to set the timer.
- Parameters:
setTimer
- Information needed to set the timer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTimer
Information needed to set the timer.
This is a convenience method that creates an instance of theSetTimerAction.Builder
avoiding the need to create one manually viaSetTimerAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosetTimer(SetTimerAction)
.- Parameters:
setTimer
- a consumer that will call methods onSetTimerAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clearTimer
Information needed to clear the timer.
- Parameters:
clearTimer
- Information needed to clear the timer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clearTimer
Information needed to clear the timer.
This is a convenience method that creates an instance of theClearTimerAction.Builder
avoiding the need to create one manually viaClearTimerAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclearTimer(ClearTimerAction)
.- Parameters:
clearTimer
- a consumer that will call methods onClearTimerAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resetTimer
Information needed to reset the timer.
- Parameters:
resetTimer
- Information needed to reset the timer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resetTimer
Information needed to reset the timer.
This is a convenience method that creates an instance of theResetTimerAction.Builder
avoiding the need to create one manually viaResetTimerAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresetTimer(ResetTimerAction)
.- Parameters:
resetTimer
- a consumer that will call methods onResetTimerAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lambda
Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.
- Parameters:
lambda
- Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambda
Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.
This is a convenience method that creates an instance of theLambdaAction.Builder
avoiding the need to create one manually viaLambdaAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolambda(LambdaAction)
.- Parameters:
lambda
- a consumer that will call methods onLambdaAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
iotEvents
Sends AWS IoT Events input, which passes information about the detector model instance and the event that triggered the action.
- Parameters:
iotEvents
- Sends AWS IoT Events input, which passes information about the detector model instance and the event that triggered the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iotEvents
Sends AWS IoT Events input, which passes information about the detector model instance and the event that triggered the action.
This is a convenience method that creates an instance of theIotEventsAction.Builder
avoiding the need to create one manually viaIotEventsAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toiotEvents(IotEventsAction)
.- Parameters:
iotEvents
- a consumer that will call methods onIotEventsAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sqs
Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.
- Parameters:
sqs
- Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sqs
Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.
This is a convenience method that creates an instance of theSqsAction.Builder
avoiding the need to create one manually viaSqsAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosqs(SqsAction)
.- Parameters:
sqs
- a consumer that will call methods onSqsAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
firehose
Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
firehose
Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.
This is a convenience method that creates an instance of theFirehoseAction.Builder
avoiding the need to create one manually viaFirehoseAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofirehose(FirehoseAction)
.- Parameters:
firehose
- a consumer that will call methods onFirehoseAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
This is a convenience method that creates an instance of theDynamoDBAction.Builder
avoiding the need to create one manually viaDynamoDBAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todynamoDB(DynamoDBAction)
.- Parameters:
dynamoDB
- a consumer that will call methods onDynamoDBAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
This is a convenience method that creates an instance of theDynamoDBv2Action.Builder
avoiding the need to create one manually viaDynamoDBv2Action.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todynamoDBv2(DynamoDBv2Action)
.- Parameters:
dynamoDBv2
- a consumer that will call methods onDynamoDBv2Action.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
iotSiteWise
Sends information about the detector model instance and the event that triggered the action to an asset property in AWS IoT SiteWise .
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
iotSiteWise
Sends information about the detector model instance and the event that triggered the action to an asset property in AWS IoT SiteWise .
This is a convenience method that creates an instance of theIotSiteWiseAction.Builder
avoiding the need to create one manually viaIotSiteWiseAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toiotSiteWise(IotSiteWiseAction)
.- Parameters:
iotSiteWise
- a consumer that will call methods onIotSiteWiseAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-