public class Action
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes the actions associated with a rule.
Modifier and Type | Field and Description |
---|---|
private CloudwatchAlarmAction |
cloudwatchAlarm
Change the state of a CloudWatch alarm.
|
private CloudwatchMetricAction |
cloudwatchMetric
Capture a CloudWatch metric.
|
private DynamoDBAction |
dynamoDB
Write to a DynamoDB table.
|
private ElasticsearchAction |
elasticsearch
Write data to an Amazon Elasticsearch Service; domain.
|
private FirehoseAction |
firehose
Write to an Amazon Kinesis Firehose stream.
|
private KinesisAction |
kinesis
Write data to an Amazon Kinesis stream.
|
private LambdaAction |
lambda
Invoke a Lambda function.
|
private RepublishAction |
republish
Publish to another MQTT topic.
|
private S3Action |
s3
Write to an Amazon S3 bucket.
|
private SnsAction |
sns
Publish to an Amazon SNS topic.
|
private SqsAction |
sqs
Publish to an Amazon SQS queue.
|
Constructor and Description |
---|
Action() |
Modifier and Type | Method and Description |
---|---|
Action |
clone() |
boolean |
equals(java.lang.Object obj) |
CloudwatchAlarmAction |
getCloudwatchAlarm()
Change the state of a CloudWatch alarm.
|
CloudwatchMetricAction |
getCloudwatchMetric()
Capture a CloudWatch metric.
|
DynamoDBAction |
getDynamoDB()
Write to a DynamoDB table.
|
ElasticsearchAction |
getElasticsearch()
Write data to an Amazon Elasticsearch Service; domain.
|
FirehoseAction |
getFirehose()
Write to an Amazon Kinesis Firehose stream.
|
KinesisAction |
getKinesis()
Write data to an Amazon Kinesis stream.
|
LambdaAction |
getLambda()
Invoke a Lambda function.
|
RepublishAction |
getRepublish()
Publish to another MQTT topic.
|
S3Action |
getS3()
Write to an Amazon S3 bucket.
|
SnsAction |
getSns()
Publish to an Amazon SNS topic.
|
SqsAction |
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 |
setS3(S3Action s3)
Write to an Amazon S3 bucket.
|
void |
setSns(SnsAction sns)
Publish to an Amazon SNS topic.
|
void |
setSqs(SqsAction sqs)
Publish to an Amazon SQS queue.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Action |
withCloudwatchAlarm(CloudwatchAlarmAction cloudwatchAlarm)
Change the state of a CloudWatch alarm.
|
Action |
withCloudwatchMetric(CloudwatchMetricAction cloudwatchMetric)
Capture a CloudWatch metric.
|
Action |
withDynamoDB(DynamoDBAction dynamoDB)
Write to a DynamoDB table.
|
Action |
withElasticsearch(ElasticsearchAction elasticsearch)
Write data to an Amazon Elasticsearch Service; domain.
|
Action |
withFirehose(FirehoseAction firehose)
Write to an Amazon Kinesis Firehose stream.
|
Action |
withKinesis(KinesisAction kinesis)
Write data to an Amazon Kinesis stream.
|
Action |
withLambda(LambdaAction lambda)
Invoke a Lambda function.
|
Action |
withRepublish(RepublishAction republish)
Publish to another MQTT topic.
|
Action |
withS3(S3Action s3)
Write to an Amazon S3 bucket.
|
Action |
withSns(SnsAction sns)
Publish to an Amazon SNS topic.
|
Action |
withSqs(SqsAction sqs)
Publish to an Amazon SQS queue.
|
private DynamoDBAction dynamoDB
Write to a DynamoDB table.
private LambdaAction lambda
Invoke a Lambda function.
private SnsAction sns
Publish to an Amazon SNS topic.
private SqsAction sqs
Publish to an Amazon SQS queue.
private KinesisAction kinesis
Write data to an Amazon Kinesis stream.
private RepublishAction republish
Publish to another MQTT topic.
private S3Action s3
Write to an Amazon S3 bucket.
private FirehoseAction firehose
Write to an Amazon Kinesis Firehose stream.
private CloudwatchMetricAction cloudwatchMetric
Capture a CloudWatch metric.
private CloudwatchAlarmAction cloudwatchAlarm
Change the state of a CloudWatch alarm.
private ElasticsearchAction elasticsearch
Write data to an Amazon Elasticsearch Service; domain.
public void setDynamoDB(DynamoDBAction dynamoDB)
Write to a DynamoDB table.
dynamoDB
- Write to a DynamoDB table.public DynamoDBAction getDynamoDB()
Write to a DynamoDB table.
public Action withDynamoDB(DynamoDBAction dynamoDB)
Write to a DynamoDB table.
dynamoDB
- Write to a DynamoDB table.public void setLambda(LambdaAction lambda)
Invoke a Lambda function.
lambda
- Invoke a Lambda function.public LambdaAction getLambda()
Invoke a Lambda function.
public Action withLambda(LambdaAction lambda)
Invoke a Lambda function.
lambda
- Invoke a Lambda function.public void setSns(SnsAction sns)
Publish to an Amazon SNS topic.
sns
- Publish to an Amazon SNS topic.public SnsAction getSns()
Publish to an Amazon SNS topic.
public Action withSns(SnsAction sns)
Publish to an Amazon SNS topic.
sns
- Publish to an Amazon SNS topic.public void setSqs(SqsAction sqs)
Publish to an Amazon SQS queue.
sqs
- Publish to an Amazon SQS queue.public SqsAction getSqs()
Publish to an Amazon SQS queue.
public Action withSqs(SqsAction sqs)
Publish to an Amazon SQS queue.
sqs
- Publish to an Amazon SQS queue.public void setKinesis(KinesisAction kinesis)
Write data to an Amazon Kinesis stream.
kinesis
- Write data to an Amazon Kinesis stream.public KinesisAction getKinesis()
Write data to an Amazon Kinesis stream.
public Action withKinesis(KinesisAction kinesis)
Write data to an Amazon Kinesis stream.
kinesis
- Write data to an Amazon Kinesis stream.public void setRepublish(RepublishAction republish)
Publish to another MQTT topic.
republish
- Publish to another MQTT topic.public RepublishAction getRepublish()
Publish to another MQTT topic.
public Action withRepublish(RepublishAction republish)
Publish to another MQTT topic.
republish
- Publish to another MQTT topic.public void setS3(S3Action s3)
Write to an Amazon S3 bucket.
s3
- Write to an Amazon S3 bucket.public S3Action getS3()
Write to an Amazon S3 bucket.
public Action withS3(S3Action s3)
Write to an Amazon S3 bucket.
s3
- Write to an Amazon S3 bucket.public void setFirehose(FirehoseAction firehose)
Write to an Amazon Kinesis Firehose stream.
firehose
- Write to an Amazon Kinesis Firehose stream.public FirehoseAction getFirehose()
Write to an Amazon Kinesis Firehose stream.
public Action withFirehose(FirehoseAction firehose)
Write to an Amazon Kinesis Firehose stream.
firehose
- Write to an Amazon Kinesis Firehose stream.public void setCloudwatchMetric(CloudwatchMetricAction cloudwatchMetric)
Capture a CloudWatch metric.
cloudwatchMetric
- Capture a CloudWatch metric.public CloudwatchMetricAction getCloudwatchMetric()
Capture a CloudWatch metric.
public Action withCloudwatchMetric(CloudwatchMetricAction cloudwatchMetric)
Capture a CloudWatch metric.
cloudwatchMetric
- Capture a CloudWatch metric.public void setCloudwatchAlarm(CloudwatchAlarmAction cloudwatchAlarm)
Change the state of a CloudWatch alarm.
cloudwatchAlarm
- Change the state of a CloudWatch alarm.public CloudwatchAlarmAction getCloudwatchAlarm()
Change the state of a CloudWatch alarm.
public Action withCloudwatchAlarm(CloudwatchAlarmAction cloudwatchAlarm)
Change the state of a CloudWatch alarm.
cloudwatchAlarm
- Change the state of a CloudWatch alarm.public void setElasticsearch(ElasticsearchAction elasticsearch)
Write data to an Amazon Elasticsearch Service; domain.
elasticsearch
- Write data to an Amazon Elasticsearch Service; domain.public ElasticsearchAction getElasticsearch()
Write data to an Amazon Elasticsearch Service; domain.
public Action withElasticsearch(ElasticsearchAction elasticsearch)
Write data to an Amazon Elasticsearch Service; domain.
elasticsearch
- Write data to an Amazon Elasticsearch Service; domain.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Action clone()
clone
in class java.lang.Object