Class ParticipantTimerConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.connect.model.ParticipantTimerConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ParticipantTimerConfiguration.Builder,ParticipantTimerConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class ParticipantTimerConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ParticipantTimerConfiguration.Builder,ParticipantTimerConfiguration>
Configuration information for the timer. After the timer configuration is set, it persists for the duration of the chat. It persists across new contacts in the chain, for example, transfer contacts.
For more information about how chat timeouts work, see Set up chat timeouts for human participants.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceParticipantTimerConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ParticipantTimerConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()TimerEligibleParticipantRolesparticipantRole()The role of the participant in the chat conversation.StringparticipantRoleAsString()The role of the participant in the chat conversation.List<SdkField<?>>sdkFields()static Class<? extends ParticipantTimerConfiguration.Builder>serializableBuilderClass()ParticipantTimerTypetimerType()The type of timer.StringtimerTypeAsString()The type of timer.ParticipantTimerValuetimerValue()The value of the timer.ParticipantTimerConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
participantRole
public final TimerEligibleParticipantRoles participantRole()
The role of the participant in the chat conversation.
If the service returns an enum value that is not available in the current SDK version,
participantRolewill returnTimerEligibleParticipantRoles.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromparticipantRoleAsString().- Returns:
- The role of the participant in the chat conversation.
- See Also:
TimerEligibleParticipantRoles
-
participantRoleAsString
public final String participantRoleAsString()
The role of the participant in the chat conversation.
If the service returns an enum value that is not available in the current SDK version,
participantRolewill returnTimerEligibleParticipantRoles.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromparticipantRoleAsString().- Returns:
- The role of the participant in the chat conversation.
- See Also:
TimerEligibleParticipantRoles
-
timerType
public final ParticipantTimerType timerType()
The type of timer.
IDLEindicates the timer applies for considering a human chat participant as idle.DISCONNECT_NONCUSTOMERindicates the timer applies to automatically disconnecting a chat participant due to idleness.If the service returns an enum value that is not available in the current SDK version,
timerTypewill returnParticipantTimerType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtimerTypeAsString().- Returns:
- The type of timer.
IDLEindicates the timer applies for considering a human chat participant as idle.DISCONNECT_NONCUSTOMERindicates the timer applies to automatically disconnecting a chat participant due to idleness. - See Also:
ParticipantTimerType
-
timerTypeAsString
public final String timerTypeAsString()
The type of timer.
IDLEindicates the timer applies for considering a human chat participant as idle.DISCONNECT_NONCUSTOMERindicates the timer applies to automatically disconnecting a chat participant due to idleness.If the service returns an enum value that is not available in the current SDK version,
timerTypewill returnParticipantTimerType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtimerTypeAsString().- Returns:
- The type of timer.
IDLEindicates the timer applies for considering a human chat participant as idle.DISCONNECT_NONCUSTOMERindicates the timer applies to automatically disconnecting a chat participant due to idleness. - See Also:
ParticipantTimerType
-
timerValue
public final ParticipantTimerValue timerValue()
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.
- Returns:
- 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.
-
toBuilder
public ParticipantTimerConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ParticipantTimerConfiguration.Builder,ParticipantTimerConfiguration>
-
builder
public static ParticipantTimerConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends ParticipantTimerConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-