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.
|
PlaybackInterruptionEvent.Builder |
eventReason(PlaybackInterruptionReason eventReason)
Indicates the type of user input that Amazon Lex detected.
|
PlaybackInterruptionEvent.Builder |
eventReason(String eventReason)
Indicates the type of user input that Amazon Lex 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 PlaybackInterruptionEvent.Builder eventReason(String eventReason)
PlaybackInterruptionEvent.BuilderIndicates the type of user input that Amazon Lex detected.
eventReason in interface PlaybackInterruptionEvent.BuildereventReason - Indicates the type of user input that Amazon Lex detected.PlaybackInterruptionReason,
PlaybackInterruptionReasonpublic final PlaybackInterruptionEvent.Builder eventReason(PlaybackInterruptionReason eventReason)
PlaybackInterruptionEvent.BuilderIndicates the type of user input that Amazon Lex detected.
eventReason in interface PlaybackInterruptionEvent.BuildereventReason - Indicates the type of user input that Amazon Lex detected.PlaybackInterruptionReason,
PlaybackInterruptionReasonpublic final void setEventReason(String eventReason)
public final String getCausedByEventId()
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 void setCausedByEventId(String causedByEventId)
public final String getEventId()
public final PlaybackInterruptionEvent.Builder eventId(String eventId)
PlaybackInterruptionEvent.Builder
A unique identifier of the event sent by Amazon Lex. 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 in the current
session.
eventId in interface PlaybackInterruptionEvent.BuildereventId - A unique identifier of the event sent by Amazon Lex. 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 in the current session.public final void setEventId(String eventId)
public PlaybackInterruptionEvent build()
build in interface Buildablebuild in interface SdkBuilder<PlaybackInterruptionEvent.Builder,PlaybackInterruptionEvent>Copyright © 2021. All rights reserved.