Interface PlaybackInterruptionEvent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PlaybackInterruptionEvent.Builder,PlaybackInterruptionEvent>,SdkBuilder<PlaybackInterruptionEvent.Builder,PlaybackInterruptionEvent>,SdkPojo
- All Known Subinterfaces:
DefaultPlaybackInterruptionEvent.Builder
- All Known Implementing Classes:
PlaybackInterruptionEvent.BuilderImpl
- Enclosing class:
- PlaybackInterruptionEvent
public static interface PlaybackInterruptionEvent.Builder extends SdkPojo, CopyableBuilder<PlaybackInterruptionEvent.Builder,PlaybackInterruptionEvent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PlaybackInterruptionEvent.BuildercausedByEventId(String causedByEventId)The identifier of the event that contained the audio, DTMF, or text that caused the interruption.PlaybackInterruptionEvent.BuildereventId(String eventId)A unique identifier of the event sent by Amazon Lex V2.PlaybackInterruptionEvent.BuildereventReason(String eventReason)Indicates the type of user input that Amazon Lex V2 detected.PlaybackInterruptionEvent.BuildereventReason(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 Detail
-
eventReason
PlaybackInterruptionEvent.Builder eventReason(String 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:
PlaybackInterruptionReason,PlaybackInterruptionReason
-
eventReason
PlaybackInterruptionEvent.Builder eventReason(PlaybackInterruptionReason 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:
PlaybackInterruptionReason,PlaybackInterruptionReason
-
causedByEventId
PlaybackInterruptionEvent.Builder causedByEventId(String 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
PlaybackInterruptionEvent.Builder eventId(String 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.
-
-