@Generated(value="software.amazon.awssdk:codegen") public final class Action extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Action.Builder,Action>
An action to be performed when the condition is TRUE.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Action.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Action.Builder |
builder() |
ClearTimerAction |
clearTimer()
Information needed to clear the timer.
|
DynamoDBAction |
dynamoDB()
Writes to the DynamoDB table that you created.
|
DynamoDBv2Action |
dynamoDBv2()
Writes to the DynamoDB table that you created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FirehoseAction |
firehose()
Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis
Data Firehose delivery stream.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
IotEventsAction |
iotEvents()
Sends AWS IoT Events input, which passes information about the detector model instance and the event that
triggered the action.
|
IotSiteWiseAction |
iotSiteWise()
Sends information about the detector model instance and the event that triggered the action to an asset property
in AWS IoT SiteWise .
|
IotTopicPublishAction |
iotTopicPublish()
Publishes an MQTT message with the given topic to the AWS IoT message broker.
|
LambdaAction |
lambda()
Calls a Lambda function, passing in information about the detector model instance and the event that triggered
the action.
|
ResetTimerAction |
resetTimer()
Information needed to reset the timer.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Action.Builder> |
serializableBuilderClass() |
SetTimerAction |
setTimer()
Information needed to set the timer.
|
SetVariableAction |
setVariable()
Sets a variable to a specified value.
|
SNSTopicPublishAction |
sns()
Sends an Amazon SNS message.
|
SqsAction |
sqs()
Sends information about the detector model instance and the event that triggered the action to an Amazon SQS
queue.
|
Action.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final SetVariableAction setVariable()
Sets a variable to a specified value.
public final SNSTopicPublishAction sns()
Sends an Amazon SNS message.
public final IotTopicPublishAction iotTopicPublish()
Publishes an MQTT message with the given topic to the AWS IoT message broker.
public final SetTimerAction setTimer()
Information needed to set the timer.
public final ClearTimerAction clearTimer()
Information needed to clear the timer.
public final ResetTimerAction resetTimer()
Information needed to reset the timer.
public final LambdaAction lambda()
Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.
public final IotEventsAction iotEvents()
Sends AWS IoT Events input, which passes information about the detector model instance and the event that triggered the action.
public final SqsAction sqs()
Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.
public final FirehoseAction firehose()
Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.
public final DynamoDBAction dynamoDB()
Writes to the DynamoDB table that you created. The default action payload contains all attribute-value pairs that have the information about the detector model instance and the event that triggered the action. You can customize the payload. One column of the DynamoDB table receives all attribute-value pairs in the payload that you specify. For more information, see Actions in AWS IoT Events Developer Guide.
public final DynamoDBv2Action dynamoDBv2()
Writes to the DynamoDB table that you created. The default action payload contains all attribute-value pairs that have the information about the detector model instance and the event that triggered the action. You can customize the payload. A separate column of the DynamoDB table receives one attribute-value pair in the payload that you specify. For more information, see Actions in AWS IoT Events Developer Guide.
public final IotSiteWiseAction iotSiteWise()
Sends information about the detector model instance and the event that triggered the action to an asset property in AWS IoT SiteWise .
public Action.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Action.Builder,Action>public static Action.Builder builder()
public static Class<? extends Action.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.