Class MedicalScribeTranscriptEvent
- java.lang.Object
-
- software.amazon.awssdk.services.transcribestreaming.model.MedicalScribeTranscriptEvent
-
- All Implemented Interfaces:
Serializable,SdkPojo,MedicalScribeResultStream,ToCopyableBuilder<MedicalScribeTranscriptEvent.Builder,MedicalScribeTranscriptEvent>
- Direct Known Subclasses:
DefaultTranscriptEvent
@Generated("software.amazon.awssdk:codegen") public class MedicalScribeTranscriptEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MedicalScribeTranscriptEvent.Builder,MedicalScribeTranscriptEvent>, MedicalScribeResultStream
The event associated with
MedicalScribeResultStream.Contains
MedicalScribeTranscriptSegment, which contains segment related information.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMedicalScribeTranscriptEvent.Builderprotected static classMedicalScribeTranscriptEvent.BuilderImpl-
Nested classes/interfaces inherited from interface software.amazon.awssdk.services.transcribestreaming.model.MedicalScribeResultStream
MedicalScribeResultStream.EventType
-
-
Field Summary
-
Fields inherited from interface software.amazon.awssdk.services.transcribestreaming.model.MedicalScribeResultStream
UNKNOWN
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMedicalScribeTranscriptEvent(MedicalScribeTranscriptEvent.BuilderImpl builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(StartMedicalScribeStreamResponseHandler.Visitor visitor)Calls the appropriate visit method depending on the subtype ofMedicalScribeTranscriptEvent.static MedicalScribeTranscriptEvent.Builderbuilder()MedicalScribeTranscriptEventcopy(Consumer<? super MedicalScribeTranscriptEvent.Builder> modifier)booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends MedicalScribeTranscriptEvent.Builder>serializableBuilderClass()MedicalScribeTranscriptEvent.BuildertoBuilder()StringtoString()Returns a string representation of this object.MedicalScribeTranscriptSegmenttranscriptSegment()TheTranscriptSegmentassociated with aMedicalScribeTranscriptEvent.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.services.transcribestreaming.model.MedicalScribeResultStream
sdkEventType
-
-
-
-
Constructor Detail
-
MedicalScribeTranscriptEvent
protected MedicalScribeTranscriptEvent(MedicalScribeTranscriptEvent.BuilderImpl builder)
-
-
Method Detail
-
transcriptSegment
public final MedicalScribeTranscriptSegment transcriptSegment()
The
TranscriptSegmentassociated with aMedicalScribeTranscriptEvent.- Returns:
- The
TranscriptSegmentassociated with aMedicalScribeTranscriptEvent.
-
toBuilder
public MedicalScribeTranscriptEvent.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MedicalScribeTranscriptEvent.Builder,MedicalScribeTranscriptEvent>
-
builder
public static MedicalScribeTranscriptEvent.Builder builder()
-
serializableBuilderClass
public static Class<? extends MedicalScribeTranscriptEvent.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
copy
public final MedicalScribeTranscriptEvent copy(Consumer<? super MedicalScribeTranscriptEvent.Builder> modifier)
- Specified by:
copyin interfaceToCopyableBuilder<MedicalScribeTranscriptEvent.Builder,MedicalScribeTranscriptEvent>
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
accept
public void accept(StartMedicalScribeStreamResponseHandler.Visitor visitor)
Calls the appropriate visit method depending on the subtype ofMedicalScribeTranscriptEvent.- Specified by:
acceptin interfaceMedicalScribeResultStream- Parameters:
visitor- Visitor to invoke.
-
-