@Generated(value="software.amazon.awssdk:codegen") public final class ParticipantTimerValue extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ParticipantTimerValue.Builder,ParticipantTimerValue>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ParticipantTimerValue.Builder |
static class |
ParticipantTimerValue.Type |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ParticipantTimerAction participantTimerAction()
The timer action. Currently only one value is allowed: Unset. It deletes a timer.
If the service returns an enum value that is not available in the current SDK version,
participantTimerAction will return ParticipantTimerAction.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from participantTimerActionAsString().
Unset. It deletes a timer.ParticipantTimerActionpublic final String participantTimerActionAsString()
The timer action. Currently only one value is allowed: Unset. It deletes a timer.
If the service returns an enum value that is not available in the current SDK version,
participantTimerAction will return ParticipantTimerAction.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from participantTimerActionAsString().
Unset. It deletes a timer.ParticipantTimerActionpublic final Integer participantTimerDurationInMinutes()
The duration of a timer, in minutes.
public ParticipantTimerValue.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ParticipantTimerValue.Builder,ParticipantTimerValue>public static ParticipantTimerValue.Builder builder()
public static Class<? extends ParticipantTimerValue.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static ParticipantTimerValue fromParticipantTimerAction(String participantTimerAction)
participantTimerActionAsString() initialized to the given value.
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.ParticipantTimerActionpublic static ParticipantTimerValue fromParticipantTimerAction(ParticipantTimerAction participantTimerAction)
participantTimerActionAsString() initialized to the given value.
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.ParticipantTimerActionpublic static ParticipantTimerValue fromParticipantTimerDurationInMinutes(Integer participantTimerDurationInMinutes)
participantTimerDurationInMinutes() initialized to the given
value.
The duration of a timer, in minutes.
participantTimerDurationInMinutes - The duration of a timer, in minutes.public ParticipantTimerValue.Type type()
ParticipantTimerValue.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be ParticipantTimerValue.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.