@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SnoozeActionConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Contains the configuration information of a snooze action.
Constructor and Description |
---|
SnoozeActionConfiguration() |
Modifier and Type | Method and Description |
---|---|
SnoozeActionConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getNote()
The note that you can leave when you snooze the alarm.
|
Integer |
getSnoozeDuration()
The snooze time in seconds.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setNote(String note)
The note that you can leave when you snooze the alarm.
|
void |
setSnoozeDuration(Integer snoozeDuration)
The snooze time in seconds.
|
String |
toString()
Returns a string representation of this object.
|
SnoozeActionConfiguration |
withNote(String note)
The note that you can leave when you snooze the alarm.
|
SnoozeActionConfiguration |
withSnoozeDuration(Integer snoozeDuration)
The snooze time in seconds.
|
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 SnoozeActionConfiguration 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 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 SnoozeActionConfiguration 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 String toString()
toString
in class Object
Object.toString()
public SnoozeActionConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.