protected static class TranscriptEvent.BuilderImpl extends Object implements TranscriptEvent.Builder
| Modifier | Constructor and Description |
|---|---|
protected |
BuilderImpl() |
protected |
BuilderImpl(TranscriptEvent model) |
| Modifier and Type | Method and Description |
|---|---|
TranscriptEvent |
build() |
TranscriptEvent.Builder |
eventId(String eventId)
A unique identifier of the event sent by Amazon Lex V2.
|
String |
getEventId() |
String |
getTranscript() |
List<SdkField<?>> |
sdkFields() |
void |
setEventId(String eventId) |
void |
setTranscript(String transcript) |
TranscriptEvent.Builder |
transcript(String transcript)
The transcript of the voice audio from the user.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalsBySdkFieldscopyapplyMutationprotected BuilderImpl()
protected BuilderImpl(TranscriptEvent model)
public final String getTranscript()
public final void setTranscript(String transcript)
public final TranscriptEvent.Builder transcript(String transcript)
TranscriptEvent.BuilderThe transcript of the voice audio from the user.
transcript in interface TranscriptEvent.Buildertranscript - The transcript of the voice audio from the user.public final String getEventId()
public final void setEventId(String eventId)
public final TranscriptEvent.Builder eventId(String eventId)
TranscriptEvent.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 TranscriptEvent.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 TranscriptEvent build()
build in interface Buildablebuild in interface SdkBuilder<TranscriptEvent.Builder,TranscriptEvent>Copyright © 2023. All rights reserved.