@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ParticipantTimerValue extends Object implements Serializable, Cloneable, StructuredPojo
The value of the timer. Either the timer action (Unset
to delete the timer), or the duration of the
timer in minutes. Only one value can be set.
For more information about how chat timeouts work, see Set up chat timeouts for human participants.
Constructor and Description |
---|
ParticipantTimerValue() |
Modifier and Type | Method and Description |
---|---|
ParticipantTimerValue |
clone() |
boolean |
equals(Object obj) |
String |
getParticipantTimerAction()
The timer action.
|
Integer |
getParticipantTimerDurationInMinutes()
The duration of a timer, in minutes.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setParticipantTimerAction(String participantTimerAction)
The timer action.
|
void |
setParticipantTimerDurationInMinutes(Integer participantTimerDurationInMinutes)
The duration of a timer, in minutes.
|
String |
toString()
Returns a string representation of this object.
|
ParticipantTimerValue |
withParticipantTimerAction(ParticipantTimerAction participantTimerAction)
The timer action.
|
ParticipantTimerValue |
withParticipantTimerAction(String participantTimerAction)
The timer action.
|
ParticipantTimerValue |
withParticipantTimerDurationInMinutes(Integer participantTimerDurationInMinutes)
The duration of a timer, in minutes.
|
public void setParticipantTimerAction(String participantTimerAction)
The timer action. Currently only one value is allowed: Unset
. It deletes a timer.
participantTimerAction
- The timer action. Currently only one value is allowed: Unset
. It deletes a timer.ParticipantTimerAction
public String getParticipantTimerAction()
The timer action. Currently only one value is allowed: Unset
. It deletes a timer.
Unset
. It deletes a timer.ParticipantTimerAction
public ParticipantTimerValue withParticipantTimerAction(String participantTimerAction)
The timer action. Currently only one value is allowed: Unset
. It deletes a timer.
participantTimerAction
- The timer action. Currently only one value is allowed: Unset
. It deletes a timer.ParticipantTimerAction
public ParticipantTimerValue withParticipantTimerAction(ParticipantTimerAction participantTimerAction)
The timer action. Currently only one value is allowed: Unset
. It deletes a timer.
participantTimerAction
- The timer action. Currently only one value is allowed: Unset
. It deletes a timer.ParticipantTimerAction
public void setParticipantTimerDurationInMinutes(Integer participantTimerDurationInMinutes)
The duration of a timer, in minutes.
participantTimerDurationInMinutes
- The duration of a timer, in minutes.public Integer getParticipantTimerDurationInMinutes()
The duration of a timer, in minutes.
public ParticipantTimerValue withParticipantTimerDurationInMinutes(Integer participantTimerDurationInMinutes)
The duration of a timer, in minutes.
participantTimerDurationInMinutes
- The duration of a timer, in minutes.public String toString()
toString
in class Object
Object.toString()
public ParticipantTimerValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.