@Generated(value="software.amazon.awssdk:codegen") public final class TranscriptEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TranscriptEvent.Builder,TranscriptEvent>, TranscriptResultStream
Represents a set of transcription results from the server to the client. It contains one or more segments of the transcription.
Modifier and Type | Class and Description |
---|---|
static interface |
TranscriptEvent.Builder |
UNKNOWN
Modifier and Type | Method and Description |
---|---|
void |
accept(StartStreamTranscriptionResponseHandler.Visitor visitor)
Calls the appropriate visit method depending on the subtype of
TranscriptEvent . |
static TranscriptEvent.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends TranscriptEvent.Builder> |
serializableBuilderClass() |
TranscriptEvent.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Transcript |
transcript()
The transcription of the audio stream.
|
copy
public Transcript transcript()
The transcription of the audio stream. The transcription is composed of all of the items in the results list.
public TranscriptEvent.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<TranscriptEvent.Builder,TranscriptEvent>
public static TranscriptEvent.Builder builder()
public static Class<? extends TranscriptEvent.Builder> serializableBuilderClass()
public void accept(StartStreamTranscriptionResponseHandler.Visitor visitor)
TranscriptEvent
.accept
in interface TranscriptResultStream
visitor
- Visitor to invoke.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.