@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomerAction extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the action that you can take to respond to the alarm.
| Constructor and Description |
|---|
CustomerAction() |
| Modifier and Type | Method and Description |
|---|---|
CustomerAction |
clone() |
boolean |
equals(Object obj) |
AcknowledgeActionConfiguration |
getAcknowledgeActionConfiguration()
Contains the configuration information of an acknowledge action.
|
String |
getActionName()
The name of the action.
|
DisableActionConfiguration |
getDisableActionConfiguration()
Contains the configuration information of a disable action.
|
EnableActionConfiguration |
getEnableActionConfiguration()
Contains the configuration information of an enable action.
|
ResetActionConfiguration |
getResetActionConfiguration()
Contains the configuration information of a reset action.
|
SnoozeActionConfiguration |
getSnoozeActionConfiguration()
Contains the configuration information of a snooze action.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAcknowledgeActionConfiguration(AcknowledgeActionConfiguration acknowledgeActionConfiguration)
Contains the configuration information of an acknowledge action.
|
void |
setActionName(String actionName)
The name of the action.
|
void |
setDisableActionConfiguration(DisableActionConfiguration disableActionConfiguration)
Contains the configuration information of a disable action.
|
void |
setEnableActionConfiguration(EnableActionConfiguration enableActionConfiguration)
Contains the configuration information of an enable action.
|
void |
setResetActionConfiguration(ResetActionConfiguration resetActionConfiguration)
Contains the configuration information of a reset action.
|
void |
setSnoozeActionConfiguration(SnoozeActionConfiguration snoozeActionConfiguration)
Contains the configuration information of a snooze action.
|
String |
toString()
Returns a string representation of this object.
|
CustomerAction |
withAcknowledgeActionConfiguration(AcknowledgeActionConfiguration acknowledgeActionConfiguration)
Contains the configuration information of an acknowledge action.
|
CustomerAction |
withActionName(CustomerActionName actionName)
The name of the action.
|
CustomerAction |
withActionName(String actionName)
The name of the action.
|
CustomerAction |
withDisableActionConfiguration(DisableActionConfiguration disableActionConfiguration)
Contains the configuration information of a disable action.
|
CustomerAction |
withEnableActionConfiguration(EnableActionConfiguration enableActionConfiguration)
Contains the configuration information of an enable action.
|
CustomerAction |
withResetActionConfiguration(ResetActionConfiguration resetActionConfiguration)
Contains the configuration information of a reset action.
|
CustomerAction |
withSnoozeActionConfiguration(SnoozeActionConfiguration snoozeActionConfiguration)
Contains the configuration information of a snooze action.
|
public void setActionName(String actionName)
The name of the action. The action name can be one of the following values:
SNOOZE - When you snooze the alarm, the alarm state changes to SNOOZE_DISABLED.
ENABLE - When you enable the alarm, the alarm state changes to NORMAL.
DISABLE - When you disable the alarm, the alarm state changes to DISABLED.
ACKNOWLEDGE - When you acknowledge the alarm, the alarm state changes to ACKNOWLEDGED.
RESET - When you reset the alarm, the alarm state changes to NORMAL.
For more information, see the AlarmState API.
actionName - The name of the action. The action name can be one of the following values:
SNOOZE - When you snooze the alarm, the alarm state changes to SNOOZE_DISABLED.
ENABLE - When you enable the alarm, the alarm state changes to NORMAL.
DISABLE - When you disable the alarm, the alarm state changes to DISABLED.
ACKNOWLEDGE - When you acknowledge the alarm, the alarm state changes to
ACKNOWLEDGED.
RESET - When you reset the alarm, the alarm state changes to NORMAL.
For more information, see the AlarmState API.
CustomerActionNamepublic String getActionName()
The name of the action. The action name can be one of the following values:
SNOOZE - When you snooze the alarm, the alarm state changes to SNOOZE_DISABLED.
ENABLE - When you enable the alarm, the alarm state changes to NORMAL.
DISABLE - When you disable the alarm, the alarm state changes to DISABLED.
ACKNOWLEDGE - When you acknowledge the alarm, the alarm state changes to ACKNOWLEDGED.
RESET - When you reset the alarm, the alarm state changes to NORMAL.
For more information, see the AlarmState API.
SNOOZE - When you snooze the alarm, the alarm state changes to SNOOZE_DISABLED.
ENABLE - When you enable the alarm, the alarm state changes to NORMAL.
DISABLE - When you disable the alarm, the alarm state changes to DISABLED.
ACKNOWLEDGE - When you acknowledge the alarm, the alarm state changes to
ACKNOWLEDGED.
RESET - When you reset the alarm, the alarm state changes to NORMAL.
For more information, see the AlarmState API.
CustomerActionNamepublic CustomerAction withActionName(String actionName)
The name of the action. The action name can be one of the following values:
SNOOZE - When you snooze the alarm, the alarm state changes to SNOOZE_DISABLED.
ENABLE - When you enable the alarm, the alarm state changes to NORMAL.
DISABLE - When you disable the alarm, the alarm state changes to DISABLED.
ACKNOWLEDGE - When you acknowledge the alarm, the alarm state changes to ACKNOWLEDGED.
RESET - When you reset the alarm, the alarm state changes to NORMAL.
For more information, see the AlarmState API.
actionName - The name of the action. The action name can be one of the following values:
SNOOZE - When you snooze the alarm, the alarm state changes to SNOOZE_DISABLED.
ENABLE - When you enable the alarm, the alarm state changes to NORMAL.
DISABLE - When you disable the alarm, the alarm state changes to DISABLED.
ACKNOWLEDGE - When you acknowledge the alarm, the alarm state changes to
ACKNOWLEDGED.
RESET - When you reset the alarm, the alarm state changes to NORMAL.
For more information, see the AlarmState API.
CustomerActionNamepublic CustomerAction withActionName(CustomerActionName actionName)
The name of the action. The action name can be one of the following values:
SNOOZE - When you snooze the alarm, the alarm state changes to SNOOZE_DISABLED.
ENABLE - When you enable the alarm, the alarm state changes to NORMAL.
DISABLE - When you disable the alarm, the alarm state changes to DISABLED.
ACKNOWLEDGE - When you acknowledge the alarm, the alarm state changes to ACKNOWLEDGED.
RESET - When you reset the alarm, the alarm state changes to NORMAL.
For more information, see the AlarmState API.
actionName - The name of the action. The action name can be one of the following values:
SNOOZE - When you snooze the alarm, the alarm state changes to SNOOZE_DISABLED.
ENABLE - When you enable the alarm, the alarm state changes to NORMAL.
DISABLE - When you disable the alarm, the alarm state changes to DISABLED.
ACKNOWLEDGE - When you acknowledge the alarm, the alarm state changes to
ACKNOWLEDGED.
RESET - When you reset the alarm, the alarm state changes to NORMAL.
For more information, see the AlarmState API.
CustomerActionNamepublic void setSnoozeActionConfiguration(SnoozeActionConfiguration snoozeActionConfiguration)
Contains the configuration information of a snooze action.
snoozeActionConfiguration - Contains the configuration information of a snooze action.public SnoozeActionConfiguration getSnoozeActionConfiguration()
Contains the configuration information of a snooze action.
public CustomerAction withSnoozeActionConfiguration(SnoozeActionConfiguration snoozeActionConfiguration)
Contains the configuration information of a snooze action.
snoozeActionConfiguration - Contains the configuration information of a snooze action.public void setEnableActionConfiguration(EnableActionConfiguration enableActionConfiguration)
Contains the configuration information of an enable action.
enableActionConfiguration - Contains the configuration information of an enable action.public EnableActionConfiguration getEnableActionConfiguration()
Contains the configuration information of an enable action.
public CustomerAction withEnableActionConfiguration(EnableActionConfiguration enableActionConfiguration)
Contains the configuration information of an enable action.
enableActionConfiguration - Contains the configuration information of an enable action.public void setDisableActionConfiguration(DisableActionConfiguration disableActionConfiguration)
Contains the configuration information of a disable action.
disableActionConfiguration - Contains the configuration information of a disable action.public DisableActionConfiguration getDisableActionConfiguration()
Contains the configuration information of a disable action.
public CustomerAction withDisableActionConfiguration(DisableActionConfiguration disableActionConfiguration)
Contains the configuration information of a disable action.
disableActionConfiguration - Contains the configuration information of a disable action.public void setAcknowledgeActionConfiguration(AcknowledgeActionConfiguration acknowledgeActionConfiguration)
Contains the configuration information of an acknowledge action.
acknowledgeActionConfiguration - Contains the configuration information of an acknowledge action.public AcknowledgeActionConfiguration getAcknowledgeActionConfiguration()
Contains the configuration information of an acknowledge action.
public CustomerAction withAcknowledgeActionConfiguration(AcknowledgeActionConfiguration acknowledgeActionConfiguration)
Contains the configuration information of an acknowledge action.
acknowledgeActionConfiguration - Contains the configuration information of an acknowledge action.public void setResetActionConfiguration(ResetActionConfiguration resetActionConfiguration)
Contains the configuration information of a reset action.
resetActionConfiguration - Contains the configuration information of a reset action.public ResetActionConfiguration getResetActionConfiguration()
Contains the configuration information of a reset action.
public CustomerAction withResetActionConfiguration(ResetActionConfiguration resetActionConfiguration)
Contains the configuration information of a reset action.
resetActionConfiguration - Contains the configuration information of a reset action.public String toString()
toString in class ObjectObject.toString()public CustomerAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.