@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.
|
IotTopicPublishAction |
getIotTopicPublish()
Publishes an MQTT message with the given topic to the AWS IoT Message Broker.
|
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.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setClearTimer(ClearTimerAction clearTimer)
Information needed to clear the timer.
|
void |
setIotTopicPublish(IotTopicPublishAction iotTopicPublish)
Publishes an MQTT message with the given topic to the AWS IoT Message Broker.
|
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.
|
String |
toString()
Returns a string representation of this object.
|
Action |
withClearTimer(ClearTimerAction clearTimer)
Information needed to clear the timer.
|
Action |
withIotTopicPublish(IotTopicPublishAction iotTopicPublish)
Publishes an MQTT message with the given topic to the AWS IoT Message Broker.
|
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.
|
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 String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.