@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SnoozeAlarmActionRequest extends Object implements Serializable, Cloneable, StructuredPojo
Information needed to snooze the alarm.
Constructor and Description |
---|
SnoozeAlarmActionRequest() |
Modifier and Type | Method and Description |
---|---|
SnoozeAlarmActionRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAlarmModelName()
The name of the alarm model.
|
String |
getKeyValue()
The value of the key used as a filter to select only the alarms associated with the key.
|
String |
getNote()
The note that you can leave when you snooze the alarm.
|
String |
getRequestId()
The request ID.
|
Integer |
getSnoozeDuration()
The snooze time in seconds.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlarmModelName(String alarmModelName)
The name of the alarm model.
|
void |
setKeyValue(String keyValue)
The value of the key used as a filter to select only the alarms associated with the key.
|
void |
setNote(String note)
The note that you can leave when you snooze the alarm.
|
void |
setRequestId(String requestId)
The request ID.
|
void |
setSnoozeDuration(Integer snoozeDuration)
The snooze time in seconds.
|
String |
toString()
Returns a string representation of this object.
|
SnoozeAlarmActionRequest |
withAlarmModelName(String alarmModelName)
The name of the alarm model.
|
SnoozeAlarmActionRequest |
withKeyValue(String keyValue)
The value of the key used as a filter to select only the alarms associated with the key.
|
SnoozeAlarmActionRequest |
withNote(String note)
The note that you can leave when you snooze the alarm.
|
SnoozeAlarmActionRequest |
withRequestId(String requestId)
The request ID.
|
SnoozeAlarmActionRequest |
withSnoozeDuration(Integer snoozeDuration)
The snooze time in seconds.
|
public void setRequestId(String requestId)
The request ID. Each ID must be unique within each batch.
requestId
- The request ID. Each ID must be unique within each batch.public String getRequestId()
The request ID. Each ID must be unique within each batch.
public SnoozeAlarmActionRequest withRequestId(String requestId)
The request ID. Each ID must be unique within each batch.
requestId
- The request ID. Each ID must be unique within each batch.public void setAlarmModelName(String alarmModelName)
The name of the alarm model.
alarmModelName
- The name of the alarm model.public String getAlarmModelName()
The name of the alarm model.
public SnoozeAlarmActionRequest withAlarmModelName(String alarmModelName)
The name of the alarm model.
alarmModelName
- The name of the alarm model.public void setKeyValue(String keyValue)
The value of the key used as a filter to select only the alarms associated with the key.
keyValue
- The value of the key used as a filter to select only the alarms associated with the key.public String getKeyValue()
The value of the key used as a filter to select only the alarms associated with the key.
public SnoozeAlarmActionRequest withKeyValue(String keyValue)
The value of the key used as a filter to select only the alarms associated with the key.
keyValue
- The value of the key used as a filter to select only the alarms associated with the key.public void setNote(String note)
The note that you can leave when you snooze the alarm.
note
- The note that you can leave when you snooze the alarm.public String getNote()
The note that you can leave when you snooze the alarm.
public SnoozeAlarmActionRequest withNote(String note)
The note that you can leave when you snooze the alarm.
note
- The note that you can leave when you snooze the alarm.public void setSnoozeDuration(Integer snoozeDuration)
The snooze time in seconds. The alarm automatically changes to the NORMAL
state after this duration.
snoozeDuration
- The snooze time in seconds. The alarm automatically changes to the NORMAL
state after this
duration.public Integer getSnoozeDuration()
The snooze time in seconds. The alarm automatically changes to the NORMAL
state after this duration.
NORMAL
state after this
duration.public SnoozeAlarmActionRequest withSnoozeDuration(Integer snoozeDuration)
The snooze time in seconds. The alarm automatically changes to the NORMAL
state after this duration.
snoozeDuration
- The snooze time in seconds. The alarm automatically changes to the NORMAL
state after this
duration.public String toString()
toString
in class Object
Object.toString()
public SnoozeAlarmActionRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.