@Generated(value="software.amazon.awssdk:codegen") public class MedicalTranscriptEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MedicalTranscriptEvent.Builder,MedicalTranscriptEvent>, MedicalTranscriptResultStream
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 |
MedicalTranscriptEvent.Builder |
protected static class |
MedicalTranscriptEvent.BuilderImpl |
MedicalTranscriptResultStream.EventTypeUNKNOWN| Modifier | Constructor and Description |
|---|---|
protected |
MedicalTranscriptEvent(MedicalTranscriptEvent.BuilderImpl builder) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(StartMedicalStreamTranscriptionResponseHandler.Visitor visitor)
Calls the appropriate visit method depending on the subtype of
MedicalTranscriptEvent. |
static MedicalTranscriptEvent.Builder |
builder() |
MedicalTranscriptEvent |
copy(Consumer<? super MedicalTranscriptEvent.Builder> modifier) |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
MedicalTranscriptResultStream.EventType |
sdkEventType()
The type of this event.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends MedicalTranscriptEvent.Builder> |
serializableBuilderClass() |
MedicalTranscriptEvent.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
MedicalTranscript |
transcript()
The transcription of the audio stream.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waittranscriptEventBuilderprotected MedicalTranscriptEvent(MedicalTranscriptEvent.BuilderImpl builder)
public final MedicalTranscript transcript()
The transcription of the audio stream. The transcription is composed of all of the items in the results list.
public MedicalTranscriptEvent.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<MedicalTranscriptEvent.Builder,MedicalTranscriptEvent>public static MedicalTranscriptEvent.Builder builder()
public static Class<? extends MedicalTranscriptEvent.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final MedicalTranscriptEvent copy(Consumer<? super MedicalTranscriptEvent.Builder> modifier)
copy in interface ToCopyableBuilder<MedicalTranscriptEvent.Builder,MedicalTranscriptEvent>public MedicalTranscriptResultStream.EventType sdkEventType()
MedicalTranscriptResultStream:event-type header on the Message.sdkEventType in interface MedicalTranscriptResultStreampublic void accept(StartMedicalStreamTranscriptionResponseHandler.Visitor visitor)
MedicalTranscriptEvent.accept in interface MedicalTranscriptResultStreamvisitor - Visitor to invoke.Copyright © 2022. All rights reserved.