Interface TranscriptEvent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TranscriptEvent.Builder,TranscriptEvent>,SdkBuilder<TranscriptEvent.Builder,TranscriptEvent>,SdkPojo
- All Known Subinterfaces:
DefaultTranscriptEvent.Builder
- All Known Implementing Classes:
TranscriptEvent.BuilderImpl
- Enclosing class:
- TranscriptEvent
public static interface TranscriptEvent.Builder extends SdkPojo, CopyableBuilder<TranscriptEvent.Builder,TranscriptEvent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TranscriptEvent.BuildereventId(String eventId)A unique identifier of the event sent by Amazon Lex V2.TranscriptEvent.Buildertranscript(String transcript)The transcript of the voice audio from the user.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
transcript
TranscriptEvent.Builder transcript(String transcript)
The transcript of the voice audio from the user.
- 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.
-
eventId
TranscriptEvent.Builder eventId(String eventId)
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.- 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.
-
-