@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.
|
FirehoseAction |
getFirehose()
Sends information about the detector model instance and the event that triggered the action to a Kinesis Data
Firehose delivery stream.
|
IotEventsAction |
getIotEvents()
Sends an IoT Events input, passing in information about the detector model instance and the event that triggered
the action.
|
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) |
void |
setClearTimer(ClearTimerAction clearTimer)
Information needed to clear the timer.
|
void |
setFirehose(FirehoseAction firehose)
Sends information about the detector model instance and the event that triggered the action to a Kinesis Data
Firehose delivery stream.
|
void |
setIotEvents(IotEventsAction iotEvents)
Sends an IoT Events input, passing in information about the detector model instance and the event that triggered
the action.
|
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 |
withFirehose(FirehoseAction firehose)
Sends information about the detector model instance and the event that triggered the action to a Kinesis Data
Firehose delivery stream.
|
Action |
withIotEvents(IotEventsAction iotEvents)
Sends an IoT Events input, passing in information about the detector model instance and the event that triggered
the action.
|
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 an IoT Events input, passing in information about the detector model instance and the event that triggered the action.
iotEvents - Sends an IoT Events input, passing in information about the detector model instance and the event that
triggered the action.public IotEventsAction getIotEvents()
Sends an IoT Events input, passing in information about the detector model instance and the event that triggered the action.
public Action withIotEvents(IotEventsAction iotEvents)
Sends an IoT Events input, passing in information about the detector model instance and the event that triggered the action.
iotEvents - Sends an IoT Events input, passing in 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 a Kinesis Data Firehose delivery stream.
firehose - Sends information about the detector model instance and the event that triggered the action to a Kinesis
Data Firehose delivery stream.public FirehoseAction getFirehose()
Sends information about the detector model instance and the event that triggered the action to a 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 a Kinesis Data Firehose delivery stream.
firehose - Sends information about the detector model instance and the event that triggered the action to a Kinesis
Data Firehose delivery stream.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.