Class PlaybackInterruptionEvent.BuilderImpl
- java.lang.Object
-
- software.amazon.awssdk.services.lexruntimev2.model.PlaybackInterruptionEvent.BuilderImpl
-
- All Implemented Interfaces:
SdkPojo,PlaybackInterruptionEvent.Builder,Buildable,CopyableBuilder<PlaybackInterruptionEvent.Builder,PlaybackInterruptionEvent>,SdkBuilder<PlaybackInterruptionEvent.Builder,PlaybackInterruptionEvent>
- Enclosing class:
- PlaybackInterruptionEvent
protected static class PlaybackInterruptionEvent.BuilderImpl extends Object implements PlaybackInterruptionEvent.Builder
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilderImpl()protectedBuilderImpl(PlaybackInterruptionEvent model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlaybackInterruptionEventbuild()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.StringgetCausedByEventId()StringgetEventId()StringgetEventReason()List<SdkField<?>>sdkFields()voidsetCausedByEventId(String causedByEventId)voidsetEventId(String eventId)voidsetEventReason(String eventReason)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields
-
-
-
-
Constructor Detail
-
BuilderImpl
protected BuilderImpl()
-
BuilderImpl
protected BuilderImpl(PlaybackInterruptionEvent model)
-
-
Method Detail
-
getEventReason
public final String getEventReason()
-
setEventReason
public final void setEventReason(String eventReason)
-
eventReason
public final PlaybackInterruptionEvent.Builder eventReason(String eventReason)
Description copied from interface:PlaybackInterruptionEvent.BuilderIndicates the type of user input that Amazon Lex V2 detected.
- Specified by:
eventReasonin interfacePlaybackInterruptionEvent.Builder- 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
public final PlaybackInterruptionEvent.Builder eventReason(PlaybackInterruptionReason eventReason)
Description copied from interface:PlaybackInterruptionEvent.BuilderIndicates the type of user input that Amazon Lex V2 detected.
- Specified by:
eventReasonin interfacePlaybackInterruptionEvent.Builder- 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
-
getCausedByEventId
public final String getCausedByEventId()
-
setCausedByEventId
public final void setCausedByEventId(String causedByEventId)
-
causedByEventId
public final PlaybackInterruptionEvent.Builder causedByEventId(String causedByEventId)
Description copied from interface:PlaybackInterruptionEvent.BuilderThe identifier of the event that contained the audio, DTMF, or text that caused the interruption.
- Specified by:
causedByEventIdin interfacePlaybackInterruptionEvent.Builder- 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.
-
getEventId
public final String getEventId()
-
setEventId
public final void setEventId(String eventId)
-
eventId
public final PlaybackInterruptionEvent.Builder eventId(String eventId)
Description copied from interface:PlaybackInterruptionEvent.BuilderA 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.- Specified by:
eventIdin interfacePlaybackInterruptionEvent.Builder- 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.
-
build
public PlaybackInterruptionEvent build()
- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkBuilder<PlaybackInterruptionEvent.Builder,PlaybackInterruptionEvent>
-
-