Class TranscriptEvent.BuilderImpl
- java.lang.Object
-
- software.amazon.awssdk.services.lexruntimev2.model.TranscriptEvent.BuilderImpl
-
- All Implemented Interfaces:
SdkPojo,TranscriptEvent.Builder,Buildable,CopyableBuilder<TranscriptEvent.Builder,TranscriptEvent>,SdkBuilder<TranscriptEvent.Builder,TranscriptEvent>
- Enclosing class:
- TranscriptEvent
protected static class TranscriptEvent.BuilderImpl extends Object implements TranscriptEvent.Builder
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilderImpl()protectedBuilderImpl(TranscriptEvent model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TranscriptEventbuild()TranscriptEvent.BuildereventId(String eventId)A unique identifier of the event sent by Amazon Lex V2.StringgetEventId()StringgetTranscript()List<SdkField<?>>sdkFields()voidsetEventId(String eventId)voidsetTranscript(String transcript)TranscriptEvent.Buildertranscript(String transcript)The transcript of the voice audio from the user.-
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(TranscriptEvent model)
-
-
Method Detail
-
getTranscript
public final String getTranscript()
-
setTranscript
public final void setTranscript(String transcript)
-
transcript
public final TranscriptEvent.Builder transcript(String transcript)
Description copied from interface:TranscriptEvent.BuilderThe transcript of the voice audio from the user.
- Specified by:
transcriptin interfaceTranscriptEvent.Builder- Parameters:
transcript- The transcript of the voice audio from the user.- 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 TranscriptEvent.Builder eventId(String eventId)
Description copied from interface:TranscriptEvent.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 interfaceTranscriptEvent.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 TranscriptEvent build()
- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkBuilder<TranscriptEvent.Builder,TranscriptEvent>
-
-