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
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Action.Builderbuilder()final ClearTimerActionInformation needed to clear the timer.final DynamoDBActiondynamoDB()Writes to the DynamoDB table that you created.final DynamoDBv2ActionWrites to the DynamoDB table that you created.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final FirehoseActionfirehose()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 inthashCode()final IotEventsActionSends AWS IoT Events input, which passes information about the detector model instance and the event that triggered the action.final IotSiteWiseActionSends information about the detector model instance and the event that triggered the action to an asset property in AWS IoT SiteWise .final IotTopicPublishActionPublishes an MQTT message with the given topic to the AWS IoT message broker.final LambdaActionlambda()Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.final ResetTimerActionInformation needed to reset the timer.static Class<? extends Action.Builder> final SetTimerActionsetTimer()Information needed to set the timer.final SetVariableActionSets a variable to a specified value.final SNSTopicPublishActionsns()Sends an Amazon SNS message.final SqsActionsqs()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 StringtoString()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:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Action.Builder,Action> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-