Interface PlaybackInterruptionEvent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PlaybackInterruptionEvent.Builder,
,PlaybackInterruptionEvent> SdkBuilder<PlaybackInterruptionEvent.Builder,
,PlaybackInterruptionEvent> SdkPojo
- All Known Subinterfaces:
DefaultPlaybackInterruptionEvent.Builder
- Enclosing class:
PlaybackInterruptionEvent
@Mutable
@NotThreadSafe
public static interface PlaybackInterruptionEvent.Builder
extends SdkPojo, CopyableBuilder<PlaybackInterruptionEvent.Builder,PlaybackInterruptionEvent>
-
Method Summary
Modifier and TypeMethodDescriptioncausedByEventId
(String causedByEventId) The identifier of the event that contained the audio, DTMF, or text that caused the interruption.A unique identifier of the event sent by Amazon Lex V2.eventReason
(String eventReason) Indicates the type of user input that Amazon Lex V2 detected.eventReason
(PlaybackInterruptionReason eventReason) Indicates the type of user input that Amazon Lex V2 detected.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, sdkFieldNameToField, sdkFields
-
Method Details
-
eventReason
Indicates the type of user input that Amazon Lex V2 detected.
- Parameters:
eventReason
- Indicates the type of user input that Amazon Lex V2 detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventReason
Indicates the type of user input that Amazon Lex V2 detected.
- Parameters:
eventReason
- Indicates the type of user input that Amazon Lex V2 detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
causedByEventId
The identifier of the event that contained the audio, DTMF, or text that caused the interruption.
- Parameters:
causedByEventId
- The identifier of the event that contained the audio, DTMF, or text that caused the interruption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventId
A unique identifier of the event sent by Amazon Lex V2. The identifier is in the form
RESPONSE-N
, where N is a number starting with one and incremented for each event sent by Amazon Lex V2 in the current session.- Parameters:
eventId
- A unique identifier of the event sent by Amazon Lex V2. The identifier is in the formRESPONSE-N
, where N is a number starting with one and incremented for each event sent by Amazon Lex V2 in the current session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-