@Generated(value="software.amazon.awssdk:codegen") public class Action extends Object implements StructuredPojo, ToCopyableBuilder<Action.Builder,Action>
Describes the actions associated with a rule.
Modifier and Type | Class and Description |
---|---|
static interface |
Action.Builder |
Modifier and Type | Method and Description |
---|---|
static Action.Builder |
builder() |
CloudwatchAlarmAction |
cloudwatchAlarm()
Change the state of a CloudWatch alarm.
|
CloudwatchMetricAction |
cloudwatchMetric()
Capture a CloudWatch metric.
|
DynamoDBAction |
dynamoDB()
Write to a DynamoDB table.
|
DynamoDBv2Action |
dynamoDBv2()
Write to a DynamoDB table.
|
ElasticsearchAction |
elasticsearch()
Write data to an Amazon Elasticsearch Service domain.
|
boolean |
equals(Object obj) |
FirehoseAction |
firehose()
Write to an Amazon Kinesis Firehose stream.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
KinesisAction |
kinesis()
Write data to an Amazon Kinesis stream.
|
LambdaAction |
lambda()
Invoke a Lambda function.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
RepublishAction |
republish()
Publish to another MQTT topic.
|
S3Action |
s3()
Write to an Amazon S3 bucket.
|
SalesforceAction |
salesforce()
Send a message to a Salesforce IoT Cloud Input Stream.
|
static Class<? extends Action.Builder> |
serializableBuilderClass() |
SnsAction |
sns()
Publish to an Amazon SNS topic.
|
SqsAction |
sqs()
Publish to an Amazon SQS queue.
|
Action.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public DynamoDBAction dynamoDB()
Write to a DynamoDB table.
public 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.
public LambdaAction lambda()
Invoke a Lambda function.
public SnsAction sns()
Publish to an Amazon SNS topic.
public SqsAction sqs()
Publish to an Amazon SQS queue.
public KinesisAction kinesis()
Write data to an Amazon Kinesis stream.
public RepublishAction republish()
Publish to another MQTT topic.
public S3Action s3()
Write to an Amazon S3 bucket.
public FirehoseAction firehose()
Write to an Amazon Kinesis Firehose stream.
public CloudwatchMetricAction cloudwatchMetric()
Capture a CloudWatch metric.
public CloudwatchAlarmAction cloudwatchAlarm()
Change the state of a CloudWatch alarm.
public ElasticsearchAction elasticsearch()
Write data to an Amazon Elasticsearch Service domain.
public SalesforceAction salesforce()
Send a message to a Salesforce IoT Cloud Input Stream.
public Action.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Action.Builder,Action>
public static Action.Builder builder()
public static Class<? extends Action.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.