Class TranscriptEvent
java.lang.Object
software.amazon.awssdk.services.transcribestreaming.model.TranscriptEvent
- All Implemented Interfaces:
Serializable,SdkPojo,TranscriptResultStream,ToCopyableBuilder<TranscriptEvent.Builder,TranscriptEvent>
@Generated("software.amazon.awssdk:codegen")
public class TranscriptEvent
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<TranscriptEvent.Builder,TranscriptEvent>, TranscriptResultStream
The TranscriptEvent associated with a TranscriptResultStream.
Contains a set of transcription results from one or more audio segments, along with additional information per your request parameters.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceprotected static classNested classes/interfaces inherited from interface software.amazon.awssdk.services.transcribestreaming.model.TranscriptResultStream
TranscriptResultStream.EventType -
Field Summary
Fields inherited from interface software.amazon.awssdk.services.transcribestreaming.model.TranscriptResultStream
UNKNOWN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalls the appropriate visit method depending on the subtype ofTranscriptEvent.static TranscriptEvent.Builderbuilder()final TranscriptEventcopy(Consumer<? super TranscriptEvent.Builder> modifier) final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()The type of this event.static Class<? extends TranscriptEvent.Builder>final StringtoString()Returns a string representation of this object.final TranscriptContainsResults, which contains a set of transcription results from one or more audio segments, along with additional information per your request parameters.
-
Constructor Details
-
TranscriptEvent
-
-
Method Details
-
transcript
Contains
Results, which contains a set of transcription results from one or more audio segments, along with additional information per your request parameters. This can include information relating to alternative transcriptions, channel identification, partial result stabilization, language identification, and other transcription-related data.- Returns:
- Contains
Results, which contains a set of transcription results from one or more audio segments, along with additional information per your request parameters. This can include information relating to alternative transcriptions, channel identification, partial result stabilization, language identification, and other transcription-related data.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<TranscriptEvent.Builder,TranscriptEvent>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
copy
- Specified by:
copyin interfaceToCopyableBuilder<TranscriptEvent.Builder,TranscriptEvent>
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
sdkEventType
Description copied from interface:TranscriptResultStreamThe type of this event. Corresponds to the:event-typeheader on the Message.- Specified by:
sdkEventTypein interfaceTranscriptResultStream
-
accept
Calls the appropriate visit method depending on the subtype ofTranscriptEvent.- Specified by:
acceptin interfaceTranscriptResultStream- Parameters:
visitor- Visitor to invoke.
-