@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Action extends Object implements Serializable, Cloneable, StructuredPojo
An action to be performed when the condition
is TRUE.
Constructor and Description |
---|
Action() |
Modifier and Type | Method and Description |
---|---|
Action |
clone() |
boolean |
equals(Object obj) |
ClearTimerAction |
getClearTimer()
Information needed to clear the timer.
|
DynamoDBAction |
getDynamoDB()
Writes to the DynamoDB table that you created.
|
DynamoDBv2Action |
getDynamoDBv2()
Writes to the DynamoDB table that you created.
|
FirehoseAction |
getFirehose()
Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis
Data Firehose delivery stream.
|
IotEventsAction |
getIotEvents()
Sends AWS IoT Events input, which passes information about the detector model instance and the event that
triggered the action.
|
IotSiteWiseAction |
getIotSiteWise()
Sends information about the detector model instance and the event that triggered the action to an asset property
in AWS IoT SiteWise .
|
IotTopicPublishAction |
getIotTopicPublish()
Publishes an MQTT message with the given topic to the AWS IoT message broker.
|
LambdaAction |
getLambda()
Calls a Lambda function, passing in information about the detector model instance and the event that triggered
the action.
|
ResetTimerAction |
getResetTimer()
Information needed to reset the timer.
|
SetTimerAction |
getSetTimer()
Information needed to set the timer.
|
SetVariableAction |
getSetVariable()
Sets a variable to a specified value.
|
SNSTopicPublishAction |
getSns()
Sends an Amazon SNS message.
|
SqsAction |
getSqs()
Sends information about the detector model instance and the event that triggered the action to an Amazon SQS
queue.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClearTimer(ClearTimerAction clearTimer)
Information needed to clear the timer.
|
void |
setDynamoDB(DynamoDBAction dynamoDB)
Writes to the DynamoDB table that you created.
|
void |
setDynamoDBv2(DynamoDBv2Action dynamoDBv2)
Writes to the DynamoDB table that you created.
|
void |
setFirehose(FirehoseAction firehose)
Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis
Data Firehose delivery stream.
|
void |
setIotEvents(IotEventsAction iotEvents)
Sends AWS IoT Events input, which passes information about the detector model instance and the event that
triggered the action.
|
void |
setIotSiteWise(IotSiteWiseAction iotSiteWise)
Sends information about the detector model instance and the event that triggered the action to an asset property
in AWS IoT SiteWise .
|
void |
setIotTopicPublish(IotTopicPublishAction iotTopicPublish)
Publishes an MQTT message with the given topic to the AWS IoT message broker.
|
void |
setLambda(LambdaAction lambda)
Calls a Lambda function, passing in information about the detector model instance and the event that triggered
the action.
|
void |
setResetTimer(ResetTimerAction resetTimer)
Information needed to reset the timer.
|
void |
setSetTimer(SetTimerAction setTimer)
Information needed to set the timer.
|
void |
setSetVariable(SetVariableAction setVariable)
Sets a variable to a specified value.
|
void |
setSns(SNSTopicPublishAction sns)
Sends an Amazon SNS message.
|
void |
setSqs(SqsAction sqs)
Sends information about the detector model instance and the event that triggered the action to an Amazon SQS
queue.
|
String |
toString()
Returns a string representation of this object.
|
Action |
withClearTimer(ClearTimerAction clearTimer)
Information needed to clear the timer.
|
Action |
withDynamoDB(DynamoDBAction dynamoDB)
Writes to the DynamoDB table that you created.
|
Action |
withDynamoDBv2(DynamoDBv2Action dynamoDBv2)
Writes to the DynamoDB table that you created.
|
Action |
withFirehose(FirehoseAction firehose)
Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis
Data Firehose delivery stream.
|
Action |
withIotEvents(IotEventsAction iotEvents)
Sends AWS IoT Events input, which passes information about the detector model instance and the event that
triggered the action.
|
Action |
withIotSiteWise(IotSiteWiseAction iotSiteWise)
Sends information about the detector model instance and the event that triggered the action to an asset property
in AWS IoT SiteWise .
|
Action |
withIotTopicPublish(IotTopicPublishAction iotTopicPublish)
Publishes an MQTT message with the given topic to the AWS IoT message broker.
|
Action |
withLambda(LambdaAction lambda)
Calls a Lambda function, passing in information about the detector model instance and the event that triggered
the action.
|
Action |
withResetTimer(ResetTimerAction resetTimer)
Information needed to reset the timer.
|
Action |
withSetTimer(SetTimerAction setTimer)
Information needed to set the timer.
|
Action |
withSetVariable(SetVariableAction setVariable)
Sets a variable to a specified value.
|
Action |
withSns(SNSTopicPublishAction sns)
Sends an Amazon SNS message.
|
Action |
withSqs(SqsAction sqs)
Sends information about the detector model instance and the event that triggered the action to an Amazon SQS
queue.
|
public void setSetVariable(SetVariableAction setVariable)
Sets a variable to a specified value.
setVariable
- Sets a variable to a specified value.public SetVariableAction getSetVariable()
Sets a variable to a specified value.
public Action withSetVariable(SetVariableAction setVariable)
Sets a variable to a specified value.
setVariable
- Sets a variable to a specified value.public void setSns(SNSTopicPublishAction sns)
Sends an Amazon SNS message.
sns
- Sends an Amazon SNS message.public SNSTopicPublishAction getSns()
Sends an Amazon SNS message.
public Action withSns(SNSTopicPublishAction sns)
Sends an Amazon SNS message.
sns
- Sends an Amazon SNS message.public void setIotTopicPublish(IotTopicPublishAction iotTopicPublish)
Publishes an MQTT message with the given topic to the AWS IoT message broker.
iotTopicPublish
- Publishes an MQTT message with the given topic to the AWS IoT message broker.public IotTopicPublishAction getIotTopicPublish()
Publishes an MQTT message with the given topic to the AWS IoT message broker.
public Action withIotTopicPublish(IotTopicPublishAction iotTopicPublish)
Publishes an MQTT message with the given topic to the AWS IoT message broker.
iotTopicPublish
- Publishes an MQTT message with the given topic to the AWS IoT message broker.public void setSetTimer(SetTimerAction setTimer)
Information needed to set the timer.
setTimer
- Information needed to set the timer.public SetTimerAction getSetTimer()
Information needed to set the timer.
public Action withSetTimer(SetTimerAction setTimer)
Information needed to set the timer.
setTimer
- Information needed to set the timer.public void setClearTimer(ClearTimerAction clearTimer)
Information needed to clear the timer.
clearTimer
- Information needed to clear the timer.public ClearTimerAction getClearTimer()
Information needed to clear the timer.
public Action withClearTimer(ClearTimerAction clearTimer)
Information needed to clear the timer.
clearTimer
- Information needed to clear the timer.public void setResetTimer(ResetTimerAction resetTimer)
Information needed to reset the timer.
resetTimer
- Information needed to reset the timer.public ResetTimerAction getResetTimer()
Information needed to reset the timer.
public Action withResetTimer(ResetTimerAction resetTimer)
Information needed to reset the timer.
resetTimer
- Information needed to reset the timer.public void setLambda(LambdaAction lambda)
Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.
lambda
- Calls a Lambda function, passing in information about the detector model instance and the event that
triggered the action.public LambdaAction getLambda()
Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.
public Action withLambda(LambdaAction lambda)
Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.
lambda
- Calls a Lambda function, passing in information about the detector model instance and the event that
triggered the action.public void setIotEvents(IotEventsAction iotEvents)
Sends AWS IoT Events input, which passes 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.public IotEventsAction getIotEvents()
Sends AWS IoT Events input, which passes information about the detector model instance and the event that triggered the action.
public Action withIotEvents(IotEventsAction iotEvents)
Sends AWS IoT Events input, which passes 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.public void setSqs(SqsAction sqs)
Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.
sqs
- Sends information about the detector model instance and the event that triggered the action to an Amazon
SQS queue.public SqsAction getSqs()
Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.
public Action withSqs(SqsAction sqs)
Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.
sqs
- Sends information about the detector model instance and the event that triggered the action to an Amazon
SQS queue.public void setFirehose(FirehoseAction firehose)
Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.
firehose
- Sends information about the detector model instance and the event that triggered the action to an Amazon
Kinesis Data Firehose delivery stream.public FirehoseAction getFirehose()
Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.
public Action withFirehose(FirehoseAction firehose)
Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.
firehose
- Sends information about the detector model instance and the event that triggered the action to an Amazon
Kinesis Data Firehose delivery stream.public void setDynamoDB(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.
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 DynamoDBAction getDynamoDB()
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 Action withDynamoDB(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.
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 void setDynamoDBv2(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.
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 DynamoDBv2Action getDynamoDBv2()
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 Action withDynamoDBv2(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.
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 void setIotSiteWise(IotSiteWiseAction iotSiteWise)
Sends information about the detector model instance and the event that triggered the action to an asset property in AWS IoT SiteWise .
iotSiteWise
- Sends information about the detector model instance and the event that triggered the action to an asset
property in AWS IoT SiteWise .public IotSiteWiseAction getIotSiteWise()
Sends information about the detector model instance and the event that triggered the action to an asset property in AWS IoT SiteWise .
public Action withIotSiteWise(IotSiteWiseAction iotSiteWise)
Sends information about the detector model instance and the event that triggered the action to an asset property in AWS IoT SiteWise .
iotSiteWise
- Sends information about the detector model instance and the event that triggered the action to an asset
property in AWS IoT SiteWise .public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.