Interface PersistentChat.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PersistentChat.Builder,PersistentChat>,SdkBuilder<PersistentChat.Builder,PersistentChat>,SdkPojo
- Enclosing class:
- PersistentChat
public static interface PersistentChat.Builder extends SdkPojo, CopyableBuilder<PersistentChat.Builder,PersistentChat>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PersistentChat.BuilderrehydrationType(String rehydrationType)The contactId that is used for rehydration depends on the rehydration type.PersistentChat.BuilderrehydrationType(RehydrationType rehydrationType)The contactId that is used for rehydration depends on the rehydration type.PersistentChat.BuildersourceContactId(String sourceContactId)The contactId from which a persistent chat session must be started.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
rehydrationType
PersistentChat.Builder rehydrationType(String rehydrationType)
The contactId that is used for rehydration depends on the rehydration type. RehydrationType is required for persistent chat.
-
ENTIRE_PAST_SESSION: Rehydrates a chat from the most recently terminated past chat contact of the specified past ended chat session. To use this type, provide theinitialContactIdof the past ended chat session in thesourceContactIdfield. In this type, Amazon Connect determines the most recent chat contact on the specified chat session that has ended, and uses it to start a persistent chat. -
FROM_SEGMENT: Rehydrates a chat from the past chat contact that is specified in thesourceContactIdfield.
The actual contactId used for rehydration is provided in the response of this API.
- Parameters:
rehydrationType- The contactId that is used for rehydration depends on the rehydration type. RehydrationType is required for persistent chat.-
ENTIRE_PAST_SESSION: Rehydrates a chat from the most recently terminated past chat contact of the specified past ended chat session. To use this type, provide theinitialContactIdof the past ended chat session in thesourceContactIdfield. In this type, Amazon Connect determines the most recent chat contact on the specified chat session that has ended, and uses it to start a persistent chat. -
FROM_SEGMENT: Rehydrates a chat from the past chat contact that is specified in thesourceContactIdfield.
The actual contactId used for rehydration is provided in the response of this API.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RehydrationType,RehydrationType
-
-
rehydrationType
PersistentChat.Builder rehydrationType(RehydrationType rehydrationType)
The contactId that is used for rehydration depends on the rehydration type. RehydrationType is required for persistent chat.
-
ENTIRE_PAST_SESSION: Rehydrates a chat from the most recently terminated past chat contact of the specified past ended chat session. To use this type, provide theinitialContactIdof the past ended chat session in thesourceContactIdfield. In this type, Amazon Connect determines the most recent chat contact on the specified chat session that has ended, and uses it to start a persistent chat. -
FROM_SEGMENT: Rehydrates a chat from the past chat contact that is specified in thesourceContactIdfield.
The actual contactId used for rehydration is provided in the response of this API.
- Parameters:
rehydrationType- The contactId that is used for rehydration depends on the rehydration type. RehydrationType is required for persistent chat.-
ENTIRE_PAST_SESSION: Rehydrates a chat from the most recently terminated past chat contact of the specified past ended chat session. To use this type, provide theinitialContactIdof the past ended chat session in thesourceContactIdfield. In this type, Amazon Connect determines the most recent chat contact on the specified chat session that has ended, and uses it to start a persistent chat. -
FROM_SEGMENT: Rehydrates a chat from the past chat contact that is specified in thesourceContactIdfield.
The actual contactId used for rehydration is provided in the response of this API.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RehydrationType,RehydrationType
-
-
sourceContactId
PersistentChat.Builder sourceContactId(String sourceContactId)
The contactId from which a persistent chat session must be started.
- Parameters:
sourceContactId- The contactId from which a persistent chat session must be started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-