protected static class PlaybackInterruptionEvent.BuilderImpl extends Object implements PlaybackInterruptionEvent.Builder
| Modifier | Constructor and Description |
|---|---|
protected |
BuilderImpl() |
protected |
BuilderImpl(PlaybackInterruptionEvent model) |
| Modifier and Type | Method and Description |
|---|---|
PlaybackInterruptionEvent |
build() |
PlaybackInterruptionEvent.Builder |
causedByEventId(String causedByEventId)
The identifier of the event that contained the audio, DTMF, or text that caused the interruption.
|
PlaybackInterruptionEvent.Builder |
eventId(String eventId)
A unique identifier of the event sent by Amazon Lex V2.
|
PlaybackInterruptionEvent.Builder |
eventReason(PlaybackInterruptionReason eventReason)
Indicates the type of user input that Amazon Lex V2 detected.
|
PlaybackInterruptionEvent.Builder |
eventReason(String eventReason)
Indicates the type of user input that Amazon Lex V2 detected.
|
String |
getCausedByEventId() |
String |
getEventId() |
String |
getEventReason() |
List<SdkField<?>> |
sdkFields() |
void |
setCausedByEventId(String causedByEventId) |
void |
setEventId(String eventId) |
void |
setEventReason(String eventReason) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalsBySdkFieldscopyapplyMutationprotected BuilderImpl()
protected BuilderImpl(PlaybackInterruptionEvent model)
public final String getEventReason()
public final void setEventReason(String eventReason)
public final PlaybackInterruptionEvent.Builder eventReason(String eventReason)
PlaybackInterruptionEvent.BuilderIndicates the type of user input that Amazon Lex V2 detected.
eventReason in interface PlaybackInterruptionEvent.BuildereventReason - Indicates the type of user input that Amazon Lex V2 detected.PlaybackInterruptionReason,
PlaybackInterruptionReasonpublic final PlaybackInterruptionEvent.Builder eventReason(PlaybackInterruptionReason eventReason)
PlaybackInterruptionEvent.BuilderIndicates the type of user input that Amazon Lex V2 detected.
eventReason in interface PlaybackInterruptionEvent.BuildereventReason - Indicates the type of user input that Amazon Lex V2 detected.PlaybackInterruptionReason,
PlaybackInterruptionReasonpublic final String getCausedByEventId()
public final void setCausedByEventId(String causedByEventId)
public final PlaybackInterruptionEvent.Builder causedByEventId(String causedByEventId)
PlaybackInterruptionEvent.BuilderThe identifier of the event that contained the audio, DTMF, or text that caused the interruption.
causedByEventId in interface PlaybackInterruptionEvent.BuildercausedByEventId - The identifier of the event that contained the audio, DTMF, or text that caused the interruption.public final String getEventId()
public final void setEventId(String eventId)
public final PlaybackInterruptionEvent.Builder eventId(String eventId)
PlaybackInterruptionEvent.Builder
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.
eventId in interface PlaybackInterruptionEvent.BuildereventId - 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.public PlaybackInterruptionEvent build()
build in interface Buildablebuild in interface SdkBuilder<PlaybackInterruptionEvent.Builder,PlaybackInterruptionEvent>Copyright © 2023. All rights reserved.