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
cloudwatchAlarm
(Consumer<CloudwatchAlarmAction.Builder> cloudwatchAlarm) Change the state of a CloudWatch alarm.cloudwatchAlarm
(CloudwatchAlarmAction cloudwatchAlarm) Change the state of a CloudWatch alarm.default Action.Builder
cloudwatchLogs
(Consumer<CloudwatchLogsAction.Builder> cloudwatchLogs) Send data to CloudWatch Logs.cloudwatchLogs
(CloudwatchLogsAction cloudwatchLogs) Send data to CloudWatch Logs.default Action.Builder
cloudwatchMetric
(Consumer<CloudwatchMetricAction.Builder> cloudwatchMetric) Capture a CloudWatch metric.cloudwatchMetric
(CloudwatchMetricAction cloudwatchMetric) Capture a CloudWatch metric.default Action.Builder
dynamoDB
(Consumer<DynamoDBAction.Builder> dynamoDB) Write to a DynamoDB table.dynamoDB
(DynamoDBAction dynamoDB) Write to a DynamoDB table.default Action.Builder
dynamoDBv2
(Consumer<DynamoDBv2Action.Builder> dynamoDBv2) Write to a DynamoDB table.dynamoDBv2
(DynamoDBv2Action dynamoDBv2) Write to a DynamoDB table.default Action.Builder
elasticsearch
(Consumer<ElasticsearchAction.Builder> elasticsearch) Write data to an Amazon OpenSearch Service domain.elasticsearch
(ElasticsearchAction elasticsearch) Write data to an Amazon OpenSearch Service domain.default Action.Builder
firehose
(Consumer<FirehoseAction.Builder> firehose) Write to an Amazon Kinesis Firehose stream.firehose
(FirehoseAction firehose) Write to an Amazon Kinesis Firehose stream.default Action.Builder
http
(Consumer<HttpAction.Builder> http) Send data to an HTTPS endpoint.http
(HttpAction http) Send data to an HTTPS endpoint.default Action.Builder
iotAnalytics
(Consumer<IotAnalyticsAction.Builder> iotAnalytics) Sends message data to an IoT Analytics channel.iotAnalytics
(IotAnalyticsAction iotAnalytics) Sends message data to an IoT Analytics channel.default Action.Builder
iotEvents
(Consumer<IotEventsAction.Builder> iotEvents) Sends an input to an IoT Events detector.iotEvents
(IotEventsAction iotEvents) Sends an input to an IoT Events detector.default Action.Builder
iotSiteWise
(Consumer<IotSiteWiseAction.Builder> iotSiteWise) Sends data from the MQTT message that triggered the rule to IoT SiteWise asset properties.iotSiteWise
(IotSiteWiseAction iotSiteWise) Sends data from the MQTT message that triggered the rule to IoT SiteWise asset properties.default Action.Builder
kafka
(Consumer<KafkaAction.Builder> kafka) Send messages to an Amazon Managed Streaming for Apache Kafka (Amazon MSK) or self-managed Apache Kafka cluster.kafka
(KafkaAction kafka) Send messages to an Amazon Managed Streaming for Apache Kafka (Amazon MSK) or self-managed Apache Kafka cluster.default Action.Builder
kinesis
(Consumer<KinesisAction.Builder> kinesis) Write data to an Amazon Kinesis stream.kinesis
(KinesisAction kinesis) Write data to an Amazon Kinesis stream.default Action.Builder
lambda
(Consumer<LambdaAction.Builder> lambda) Invoke a Lambda function.lambda
(LambdaAction lambda) Invoke a Lambda function.default Action.Builder
location
(Consumer<LocationAction.Builder> location) The Amazon Location Service rule action sends device location updates from an MQTT message to an Amazon Location tracker resource.location
(LocationAction location) The Amazon Location Service rule action sends device location updates from an MQTT message to an Amazon Location tracker resource.default Action.Builder
openSearch
(Consumer<OpenSearchAction.Builder> openSearch) Write data to an Amazon OpenSearch Service domain.openSearch
(OpenSearchAction openSearch) Write data to an Amazon OpenSearch Service domain.default Action.Builder
republish
(Consumer<RepublishAction.Builder> republish) Publish to another MQTT topic.republish
(RepublishAction republish) Publish to another MQTT topic.default Action.Builder
s3
(Consumer<S3Action.Builder> s3) Write to an Amazon S3 bucket.Write to an Amazon S3 bucket.default Action.Builder
salesforce
(Consumer<SalesforceAction.Builder> salesforce) Send a message to a Salesforce IoT Cloud Input Stream.salesforce
(SalesforceAction salesforce) Send a message to a Salesforce IoT Cloud Input Stream.default Action.Builder
sns
(Consumer<SnsAction.Builder> sns) Publish to an Amazon SNS topic.Publish to an Amazon SNS topic.default Action.Builder
sqs
(Consumer<SqsAction.Builder> sqs) Publish to an Amazon SQS queue.Publish to an Amazon SQS queue.default Action.Builder
stepFunctions
(Consumer<StepFunctionsAction.Builder> stepFunctions) Starts execution of a Step Functions state machine.stepFunctions
(StepFunctionsAction stepFunctions) Starts execution of a Step Functions state machine.default Action.Builder
timestream
(Consumer<TimestreamAction.Builder> timestream) The Timestream rule action writes attributes (measures) from an MQTT message into an Amazon Timestream table.timestream
(TimestreamAction timestream) The Timestream rule action writes attributes (measures) from an MQTT message into an Amazon Timestream table.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
-
dynamoDB
Write to a DynamoDB table.
- Parameters:
dynamoDB
- Write to a DynamoDB table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dynamoDB
Write to a DynamoDB table.
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
Write to a DynamoDB table. This is a new version of the DynamoDB action. It allows you to write each attribute in an MQTT message payload into a separate DynamoDB column.
- Parameters:
dynamoDBv2
- Write to a DynamoDB table. This is a new version of the DynamoDB action. It allows you to write each attribute in an MQTT message payload into a separate DynamoDB column.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dynamoDBv2
Write to a DynamoDB table. This is a new version of the DynamoDB action. It allows you to write each attribute in an MQTT message payload into a separate DynamoDB column.
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:
-
lambda
Invoke a Lambda function.
- Parameters:
lambda
- Invoke a Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambda
Invoke a Lambda function.
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:
-
sns
Publish to an Amazon SNS topic.
- Parameters:
sns
- Publish to an Amazon SNS topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sns
Publish to an Amazon SNS topic.
This is a convenience method that creates an instance of theSnsAction.Builder
avoiding the need to create one manually viaSnsAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosns(SnsAction)
.- Parameters:
sns
- a consumer that will call methods onSnsAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sqs
Publish to an Amazon SQS queue.
- Parameters:
sqs
- Publish to an Amazon SQS queue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sqs
Publish 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:
-
kinesis
Write data to an Amazon Kinesis stream.
- Parameters:
kinesis
- Write data to an Amazon Kinesis stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kinesis
Write data to an Amazon Kinesis stream.
This is a convenience method that creates an instance of theKinesisAction.Builder
avoiding the need to create one manually viaKinesisAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokinesis(KinesisAction)
.- Parameters:
kinesis
- a consumer that will call methods onKinesisAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
republish
Publish to another MQTT topic.
- Parameters:
republish
- Publish to another MQTT topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
republish
Publish to another MQTT topic.
This is a convenience method that creates an instance of theRepublishAction.Builder
avoiding the need to create one manually viaRepublishAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torepublish(RepublishAction)
.- Parameters:
republish
- a consumer that will call methods onRepublishAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3
Write to an Amazon S3 bucket.
- Parameters:
s3
- Write to an Amazon S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
Write to an Amazon S3 bucket.
This is a convenience method that creates an instance of theS3Action.Builder
avoiding the need to create one manually viaS3Action.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3(S3Action)
.- Parameters:
s3
- a consumer that will call methods onS3Action.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
firehose
Write to an Amazon Kinesis Firehose stream.
- Parameters:
firehose
- Write to an Amazon Kinesis Firehose stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firehose
Write to an Amazon Kinesis Firehose 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:
-
cloudwatchMetric
Capture a CloudWatch metric.
- Parameters:
cloudwatchMetric
- Capture a CloudWatch metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudwatchMetric
Capture a CloudWatch metric.
This is a convenience method that creates an instance of theCloudwatchMetricAction.Builder
avoiding the need to create one manually viaCloudwatchMetricAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocloudwatchMetric(CloudwatchMetricAction)
.- Parameters:
cloudwatchMetric
- a consumer that will call methods onCloudwatchMetricAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cloudwatchAlarm
Change the state of a CloudWatch alarm.
- Parameters:
cloudwatchAlarm
- Change the state of a CloudWatch alarm.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudwatchAlarm
Change the state of a CloudWatch alarm.
This is a convenience method that creates an instance of theCloudwatchAlarmAction.Builder
avoiding the need to create one manually viaCloudwatchAlarmAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocloudwatchAlarm(CloudwatchAlarmAction)
.- Parameters:
cloudwatchAlarm
- a consumer that will call methods onCloudwatchAlarmAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cloudwatchLogs
Send data to CloudWatch Logs.
- Parameters:
cloudwatchLogs
- Send data to CloudWatch Logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudwatchLogs
Send data to CloudWatch Logs.
This is a convenience method that creates an instance of theCloudwatchLogsAction.Builder
avoiding the need to create one manually viaCloudwatchLogsAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocloudwatchLogs(CloudwatchLogsAction)
.- Parameters:
cloudwatchLogs
- a consumer that will call methods onCloudwatchLogsAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
elasticsearch
Write data to an Amazon OpenSearch Service domain.
The
Elasticsearch
action can only be used by existing rule actions. To create a new rule action or to update an existing rule action, use theOpenSearch
rule action instead. For more information, see OpenSearchAction.- Parameters:
elasticsearch
- Write data to an Amazon OpenSearch Service domain.The
Elasticsearch
action can only be used by existing rule actions. To create a new rule action or to update an existing rule action, use theOpenSearch
rule action instead. For more information, see OpenSearchAction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elasticsearch
Write data to an Amazon OpenSearch Service domain.
The
Elasticsearch
action can only be used by existing rule actions. To create a new rule action or to update an existing rule action, use theOpenSearch
rule action instead. For more information, see OpenSearchAction.ElasticsearchAction.Builder
avoiding the need to create one manually viaElasticsearchAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toelasticsearch(ElasticsearchAction)
.- Parameters:
elasticsearch
- a consumer that will call methods onElasticsearchAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
salesforce
Send a message to a Salesforce IoT Cloud Input Stream.
- Parameters:
salesforce
- Send a message to a Salesforce IoT Cloud Input Stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
salesforce
Send a message to a Salesforce IoT Cloud Input Stream.
This is a convenience method that creates an instance of theSalesforceAction.Builder
avoiding the need to create one manually viaSalesforceAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosalesforce(SalesforceAction)
.- Parameters:
salesforce
- a consumer that will call methods onSalesforceAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
iotAnalytics
Sends message data to an IoT Analytics channel.
- Parameters:
iotAnalytics
- Sends message data to an IoT Analytics channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iotAnalytics
Sends message data to an IoT Analytics channel.
This is a convenience method that creates an instance of theIotAnalyticsAction.Builder
avoiding the need to create one manually viaIotAnalyticsAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toiotAnalytics(IotAnalyticsAction)
.- Parameters:
iotAnalytics
- a consumer that will call methods onIotAnalyticsAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
iotEvents
Sends an input to an IoT Events detector.
- Parameters:
iotEvents
- Sends an input to an IoT Events detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iotEvents
Sends an input to an IoT Events detector.
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:
-
iotSiteWise
Sends data from the MQTT message that triggered the rule to IoT SiteWise asset properties.
- Parameters:
iotSiteWise
- Sends data from the MQTT message that triggered the rule to IoT SiteWise asset properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iotSiteWise
Sends data from the MQTT message that triggered the rule to IoT SiteWise asset properties.
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:
-
stepFunctions
Starts execution of a Step Functions state machine.
- Parameters:
stepFunctions
- Starts execution of a Step Functions state machine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stepFunctions
Starts execution of a Step Functions state machine.
This is a convenience method that creates an instance of theStepFunctionsAction.Builder
avoiding the need to create one manually viaStepFunctionsAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostepFunctions(StepFunctionsAction)
.- Parameters:
stepFunctions
- a consumer that will call methods onStepFunctionsAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timestream
The Timestream rule action writes attributes (measures) from an MQTT message into an Amazon Timestream table. For more information, see the Timestream topic rule action documentation.
- Parameters:
timestream
- The Timestream rule action writes attributes (measures) from an MQTT message into an Amazon Timestream table. For more information, see the Timestream topic rule action documentation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestream
The Timestream rule action writes attributes (measures) from an MQTT message into an Amazon Timestream table. For more information, see the Timestream topic rule action documentation.
This is a convenience method that creates an instance of theTimestreamAction.Builder
avoiding the need to create one manually viaTimestreamAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totimestream(TimestreamAction)
.- Parameters:
timestream
- a consumer that will call methods onTimestreamAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
http
Send data to an HTTPS endpoint.
- Parameters:
http
- Send data to an HTTPS endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
http
Send data to an HTTPS endpoint.
This is a convenience method that creates an instance of theHttpAction.Builder
avoiding the need to create one manually viaHttpAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohttp(HttpAction)
.- Parameters:
http
- a consumer that will call methods onHttpAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kafka
Send messages to an Amazon Managed Streaming for Apache Kafka (Amazon MSK) or self-managed Apache Kafka cluster.
- Parameters:
kafka
- Send messages to an Amazon Managed Streaming for Apache Kafka (Amazon MSK) or self-managed Apache Kafka cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kafka
Send messages to an Amazon Managed Streaming for Apache Kafka (Amazon MSK) or self-managed Apache Kafka cluster.
This is a convenience method that creates an instance of theKafkaAction.Builder
avoiding the need to create one manually viaKafkaAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokafka(KafkaAction)
.- Parameters:
kafka
- a consumer that will call methods onKafkaAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
openSearch
Write data to an Amazon OpenSearch Service domain.
- Parameters:
openSearch
- Write data to an Amazon OpenSearch Service domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openSearch
Write data to an Amazon OpenSearch Service domain.
This is a convenience method that creates an instance of theOpenSearchAction.Builder
avoiding the need to create one manually viaOpenSearchAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toopenSearch(OpenSearchAction)
.- Parameters:
openSearch
- a consumer that will call methods onOpenSearchAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
location
The Amazon Location Service rule action sends device location updates from an MQTT message to an Amazon Location tracker resource.
- Parameters:
location
- The Amazon Location Service rule action sends device location updates from an MQTT message to an Amazon Location tracker resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
The Amazon Location Service rule action sends device location updates from an MQTT message to an Amazon Location tracker resource.
This is a convenience method that creates an instance of theLocationAction.Builder
avoiding the need to create one manually viaLocationAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolocation(LocationAction)
.- Parameters:
location
- a consumer that will call methods onLocationAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-