Class Action
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<Action.Builder,
Action>
An action to be performed when the condition
is TRUE.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Action.Builder
builder()
final ClearTimerAction
Information needed to clear the timer.final DynamoDBAction
dynamoDB()
Writes to the DynamoDB table that you created.final DynamoDBv2Action
Writes to the DynamoDB table that you created.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.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.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final IotEventsAction
Sends AWS IoT Events input, which passes information about the detector model instance and the event that triggered the action.final IotSiteWiseAction
Sends information about the detector model instance and the event that triggered the action to an asset property in AWS IoT SiteWise .final IotTopicPublishAction
Publishes an MQTT message with the given topic to the AWS IoT message broker.final LambdaAction
lambda()
Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.final ResetTimerAction
Information needed to reset the timer.static Class
<? extends Action.Builder> final SetTimerAction
setTimer()
Information needed to set the timer.final SetVariableAction
Sets a variable to a specified value.final SNSTopicPublishAction
sns()
Sends an Amazon SNS message.final SqsAction
sqs()
Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
setVariable
Sets a variable to a specified value.
- Returns:
- Sets a variable to a specified value.
-
sns
Sends an Amazon SNS message.
- Returns:
- Sends an Amazon SNS message.
-
iotTopicPublish
Publishes an MQTT message with the given topic to the AWS IoT message broker.
- Returns:
- Publishes an MQTT message with the given topic to the AWS IoT message broker.
-
setTimer
Information needed to set the timer.
- Returns:
- Information needed to set the timer.
-
clearTimer
Information needed to clear the timer.
- Returns:
- Information needed to clear the timer.
-
resetTimer
Information needed to reset the timer.
- Returns:
- Information needed to reset the timer.
-
lambda
Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.
- Returns:
- Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.
-
iotEvents
Sends AWS IoT Events input, which passes information about the detector model instance and the event that triggered the action.
- Returns:
- Sends AWS IoT Events input, which passes information about the detector model instance and the event that triggered the action.
-
sqs
Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.
- Returns:
- Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.
-
firehose
Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.
- Returns:
- Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.
-
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.
- Returns:
- 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.
-
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.
- Returns:
- 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.
-
iotSiteWise
Sends information about the detector model instance and the event that triggered the action to an asset property in AWS IoT SiteWise .
- Returns:
- Sends information about the detector model instance and the event that triggered the action to an asset property in AWS IoT SiteWise .
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<Action.Builder,
Action> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-