Class Action
- All Implemented Interfaces:
Serializable
,Cloneable
Describes the actions associated with a rule.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Change the state of a CloudWatch alarm.Capture a CloudWatch metric.Write to a DynamoDB table.Write data to an Amazon Elasticsearch Service; domain.Write to an Amazon Kinesis Firehose stream.Write data to an Amazon Kinesis stream.Invoke a Lambda function.Publish to another MQTT topic.getS3()
Write to an Amazon S3 bucket.getSns()
Publish to an Amazon SNS topic.getSqs()
Publish to an Amazon SQS queue.int
hashCode()
void
setCloudwatchAlarm
(CloudwatchAlarmAction cloudwatchAlarm) Change the state of a CloudWatch alarm.void
setCloudwatchMetric
(CloudwatchMetricAction cloudwatchMetric) Capture a CloudWatch metric.void
setDynamoDB
(DynamoDBAction dynamoDB) Write to a DynamoDB table.void
setElasticsearch
(ElasticsearchAction elasticsearch) Write data to an Amazon Elasticsearch Service; domain.void
setFirehose
(FirehoseAction firehose) Write to an Amazon Kinesis Firehose stream.void
setKinesis
(KinesisAction kinesis) Write data to an Amazon Kinesis stream.void
setLambda
(LambdaAction lambda) Invoke a Lambda function.void
setRepublish
(RepublishAction republish) Publish to another MQTT topic.void
Write to an Amazon S3 bucket.void
Publish to an Amazon SNS topic.void
Publish to an Amazon SQS queue.toString()
Returns a string representation of this object; useful for testing and debugging.withCloudwatchAlarm
(CloudwatchAlarmAction cloudwatchAlarm) Change the state of a CloudWatch alarm.withCloudwatchMetric
(CloudwatchMetricAction cloudwatchMetric) Capture a CloudWatch metric.withDynamoDB
(DynamoDBAction dynamoDB) Write to a DynamoDB table.withElasticsearch
(ElasticsearchAction elasticsearch) Write data to an Amazon Elasticsearch Service; domain.withFirehose
(FirehoseAction firehose) Write to an Amazon Kinesis Firehose stream.withKinesis
(KinesisAction kinesis) Write data to an Amazon Kinesis stream.withLambda
(LambdaAction lambda) Invoke a Lambda function.withRepublish
(RepublishAction republish) Publish to another MQTT topic.Write to an Amazon S3 bucket.Publish to an Amazon SNS topic.Publish to an Amazon SQS queue.
-
Constructor Details
-
Action
public Action()
-
-
Method Details
-
setDynamoDB
Write to a DynamoDB table.
- Parameters:
dynamoDB
- Write to a DynamoDB table.
-
getDynamoDB
Write to a DynamoDB table.
- Returns:
- Write to a DynamoDB table.
-
withDynamoDB
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.
-
setLambda
Invoke a Lambda function.
- Parameters:
lambda
- Invoke a Lambda function.
-
getLambda
Invoke a Lambda function.
- Returns:
- Invoke a Lambda function.
-
withLambda
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.
-
setSns
Publish to an Amazon SNS topic.
- Parameters:
sns
- Publish to an Amazon SNS topic.
-
getSns
Publish to an Amazon SNS topic.
- Returns:
- Publish to an Amazon SNS topic.
-
withSns
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.
-
setSqs
Publish to an Amazon SQS queue.
- Parameters:
sqs
- Publish to an Amazon SQS queue.
-
getSqs
Publish to an Amazon SQS queue.
- Returns:
- Publish to an Amazon SQS queue.
-
withSqs
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.
-
setKinesis
Write data to an Amazon Kinesis stream.
- Parameters:
kinesis
- Write data to an Amazon Kinesis stream.
-
getKinesis
Write data to an Amazon Kinesis stream.
- Returns:
- Write data to an Amazon Kinesis stream.
-
withKinesis
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.
-
setRepublish
Publish to another MQTT topic.
- Parameters:
republish
- Publish to another MQTT topic.
-
getRepublish
Publish to another MQTT topic.
- Returns:
- Publish to another MQTT topic.
-
withRepublish
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.
-
setS3
Write to an Amazon S3 bucket.
- Parameters:
s3
- Write to an Amazon S3 bucket.
-
getS3
Write to an Amazon S3 bucket.
- Returns:
- Write to an Amazon S3 bucket.
-
withS3
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.
-
setFirehose
Write to an Amazon Kinesis Firehose stream.
- Parameters:
firehose
- Write to an Amazon Kinesis Firehose stream.
-
getFirehose
Write to an Amazon Kinesis Firehose stream.
- Returns:
- Write to an Amazon Kinesis Firehose stream.
-
withFirehose
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.
-
setCloudwatchMetric
Capture a CloudWatch metric.
- Parameters:
cloudwatchMetric
- Capture a CloudWatch metric.
-
getCloudwatchMetric
Capture a CloudWatch metric.
- Returns:
- Capture a CloudWatch metric.
-
withCloudwatchMetric
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.
-
setCloudwatchAlarm
Change the state of a CloudWatch alarm.
- Parameters:
cloudwatchAlarm
- Change the state of a CloudWatch alarm.
-
getCloudwatchAlarm
Change the state of a CloudWatch alarm.
- Returns:
- Change the state of a CloudWatch alarm.
-
withCloudwatchAlarm
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.
-
setElasticsearch
Write data to an Amazon Elasticsearch Service; domain.
- Parameters:
elasticsearch
- Write data to an Amazon Elasticsearch Service; domain.
-
getElasticsearch
Write data to an Amazon Elasticsearch Service; domain.
- Returns:
- Write data to an Amazon Elasticsearch Service; domain.
-
withElasticsearch
Write data to an Amazon Elasticsearch Service; domain.
- Parameters:
elasticsearch
- Write data to an Amazon Elasticsearch Service; domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-