Interface Action.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Action.Builder,Action>
,SdkBuilder<Action.Builder,Action>
,SdkPojo
- Enclosing class:
- Action
public static interface Action.Builder extends SdkPojo, CopyableBuilder<Action.Builder,Action>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Action.Builder
cloudwatchAlarm(Consumer<CloudwatchAlarmAction.Builder> cloudwatchAlarm)
Change the state of a CloudWatch alarm.Action.Builder
cloudwatchAlarm(CloudwatchAlarmAction cloudwatchAlarm)
Change the state of a CloudWatch alarm.default Action.Builder
cloudwatchLogs(Consumer<CloudwatchLogsAction.Builder> cloudwatchLogs)
Send data to CloudWatch Logs.Action.Builder
cloudwatchLogs(CloudwatchLogsAction cloudwatchLogs)
Send data to CloudWatch Logs.default Action.Builder
cloudwatchMetric(Consumer<CloudwatchMetricAction.Builder> cloudwatchMetric)
Capture a CloudWatch metric.Action.Builder
cloudwatchMetric(CloudwatchMetricAction cloudwatchMetric)
Capture a CloudWatch metric.default Action.Builder
dynamoDB(Consumer<DynamoDBAction.Builder> dynamoDB)
Write to a DynamoDB table.Action.Builder
dynamoDB(DynamoDBAction dynamoDB)
Write to a DynamoDB table.default Action.Builder
dynamoDBv2(Consumer<DynamoDBv2Action.Builder> dynamoDBv2)
Write to a DynamoDB table.Action.Builder
dynamoDBv2(DynamoDBv2Action dynamoDBv2)
Write to a DynamoDB table.default Action.Builder
elasticsearch(Consumer<ElasticsearchAction.Builder> elasticsearch)
Write data to an Amazon OpenSearch Service domain.Action.Builder
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.Action.Builder
firehose(FirehoseAction firehose)
Write to an Amazon Kinesis Firehose stream.default Action.Builder
http(Consumer<HttpAction.Builder> http)
Send data to an HTTPS endpoint.Action.Builder
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.Action.Builder
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.Action.Builder
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.Action.Builder
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.Action.Builder
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.Action.Builder
kinesis(KinesisAction kinesis)
Write data to an Amazon Kinesis stream.default Action.Builder
lambda(Consumer<LambdaAction.Builder> lambda)
Invoke a Lambda function.Action.Builder
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.Action.Builder
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.Action.Builder
openSearch(OpenSearchAction openSearch)
Write data to an Amazon OpenSearch Service domain.default Action.Builder
republish(Consumer<RepublishAction.Builder> republish)
Publish to another MQTT topic.Action.Builder
republish(RepublishAction republish)
Publish to another MQTT topic.default Action.Builder
s3(Consumer<S3Action.Builder> s3)
Write to an Amazon S3 bucket.Action.Builder
s3(S3Action s3)
Write to an Amazon S3 bucket.default Action.Builder
salesforce(Consumer<SalesforceAction.Builder> salesforce)
Send a message to a Salesforce IoT Cloud Input Stream.Action.Builder
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.Action.Builder
sns(SnsAction sns)
Publish to an Amazon SNS topic.default Action.Builder
sqs(Consumer<SqsAction.Builder> sqs)
Publish to an Amazon SQS queue.Action.Builder
sqs(SqsAction sqs)
Publish to an Amazon SQS queue.default Action.Builder
stepFunctions(Consumer<StepFunctionsAction.Builder> stepFunctions)
Starts execution of a Step Functions state machine.Action.Builder
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.Action.Builder
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 Detail
-
dynamoDB
Action.Builder dynamoDB(DynamoDBAction 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
default Action.Builder dynamoDB(Consumer<DynamoDBAction.Builder> 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:
dynamoDB(DynamoDBAction)
-
dynamoDBv2
Action.Builder dynamoDBv2(DynamoDBv2Action 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
default Action.Builder dynamoDBv2(Consumer<DynamoDBv2Action.Builder> 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:
dynamoDBv2(DynamoDBv2Action)
-
lambda
Action.Builder lambda(LambdaAction 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
default Action.Builder lambda(Consumer<LambdaAction.Builder> 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:
lambda(LambdaAction)
-
sns
Action.Builder sns(SnsAction 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
default Action.Builder sns(Consumer<SnsAction.Builder> 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:
sns(SnsAction)
-
sqs
Action.Builder sqs(SqsAction 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
default Action.Builder sqs(Consumer<SqsAction.Builder> 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:
sqs(SqsAction)
-
kinesis
Action.Builder kinesis(KinesisAction 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
default Action.Builder kinesis(Consumer<KinesisAction.Builder> 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:
kinesis(KinesisAction)
-
republish
Action.Builder republish(RepublishAction 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
default Action.Builder republish(Consumer<RepublishAction.Builder> 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:
republish(RepublishAction)
-
s3
Action.Builder s3(S3Action 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
default Action.Builder s3(Consumer<S3Action.Builder> 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:
s3(S3Action)
-
firehose
Action.Builder firehose(FirehoseAction 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
default Action.Builder firehose(Consumer<FirehoseAction.Builder> 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:
firehose(FirehoseAction)
-
cloudwatchMetric
Action.Builder cloudwatchMetric(CloudwatchMetricAction 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
default Action.Builder cloudwatchMetric(Consumer<CloudwatchMetricAction.Builder> 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:
cloudwatchMetric(CloudwatchMetricAction)
-
cloudwatchAlarm
Action.Builder cloudwatchAlarm(CloudwatchAlarmAction 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
default Action.Builder cloudwatchAlarm(Consumer<CloudwatchAlarmAction.Builder> 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:
cloudwatchAlarm(CloudwatchAlarmAction)
-
cloudwatchLogs
Action.Builder cloudwatchLogs(CloudwatchLogsAction 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
default Action.Builder cloudwatchLogs(Consumer<CloudwatchLogsAction.Builder> 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:
cloudwatchLogs(CloudwatchLogsAction)
-
elasticsearch
Action.Builder elasticsearch(ElasticsearchAction 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
default Action.Builder elasticsearch(Consumer<ElasticsearchAction.Builder> 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:
elasticsearch(ElasticsearchAction)
-
salesforce
Action.Builder salesforce(SalesforceAction 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
default Action.Builder salesforce(Consumer<SalesforceAction.Builder> 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:
salesforce(SalesforceAction)
-
iotAnalytics
Action.Builder iotAnalytics(IotAnalyticsAction 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
default Action.Builder iotAnalytics(Consumer<IotAnalyticsAction.Builder> 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:
iotAnalytics(IotAnalyticsAction)
-
iotEvents
Action.Builder iotEvents(IotEventsAction 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
default Action.Builder iotEvents(Consumer<IotEventsAction.Builder> 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:
iotEvents(IotEventsAction)
-
iotSiteWise
Action.Builder iotSiteWise(IotSiteWiseAction 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
default Action.Builder iotSiteWise(Consumer<IotSiteWiseAction.Builder> 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:
iotSiteWise(IotSiteWiseAction)
-
stepFunctions
Action.Builder stepFunctions(StepFunctionsAction 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
default Action.Builder stepFunctions(Consumer<StepFunctionsAction.Builder> 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:
stepFunctions(StepFunctionsAction)
-
timestream
Action.Builder timestream(TimestreamAction 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
default Action.Builder timestream(Consumer<TimestreamAction.Builder> 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:
timestream(TimestreamAction)
-
http
Action.Builder http(HttpAction 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
default Action.Builder http(Consumer<HttpAction.Builder> 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:
http(HttpAction)
-
kafka
Action.Builder kafka(KafkaAction 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
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.
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:
kafka(KafkaAction)
-
openSearch
Action.Builder openSearch(OpenSearchAction 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
default Action.Builder openSearch(Consumer<OpenSearchAction.Builder> 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:
openSearch(OpenSearchAction)
-
location
Action.Builder location(LocationAction 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
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.
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:
location(LocationAction)
-
-