Class MedicalScribeSessionControlEvent
- All Implemented Interfaces:
Serializable,SdkPojo,MedicalScribeInputStream,ToCopyableBuilder<MedicalScribeSessionControlEvent.Builder,MedicalScribeSessionControlEvent>
- Direct Known Subclasses:
DefaultSessionControlEvent
Specify the lifecycle of your streaming session.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceprotected static classNested classes/interfaces inherited from interface software.amazon.awssdk.services.transcribestreaming.model.MedicalScribeInputStream
MedicalScribeInputStream.EventType -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbuilder()copy(Consumer<? super MedicalScribeSessionControlEvent.Builder> modifier) final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends MedicalScribeSessionControlEvent.Builder>final StringtoString()Returns a string representation of this object.type()The type ofMedicalScribeSessionControlEvent.final StringThe type ofMedicalScribeSessionControlEvent.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.services.transcribestreaming.model.MedicalScribeInputStream
sdkEventType
-
Constructor Details
-
MedicalScribeSessionControlEvent
-
-
Method Details
-
type
The type of
MedicalScribeSessionControlEvent.Possible Values:
-
END_OF_SESSION- Indicates the audio streaming is complete. After you send an END_OF_SESSION event, Amazon Web Services HealthScribe starts the post-stream analytics. The session can't be resumed after this event is sent. After Amazon Web Services HealthScribe processes the event, the real-timeStreamStatusisCOMPLETED. You get theStreamStatusand other stream details with the GetMedicalScribeStream API operation. For more information about different streaming statuses, see theStreamStatusdescription in the MedicalScribeStreamDetails.
If the service returns an enum value that is not available in the current SDK version,
typewill returnMedicalScribeSessionControlEventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of
MedicalScribeSessionControlEvent.Possible Values:
-
END_OF_SESSION- Indicates the audio streaming is complete. After you send an END_OF_SESSION event, Amazon Web Services HealthScribe starts the post-stream analytics. The session can't be resumed after this event is sent. After Amazon Web Services HealthScribe processes the event, the real-timeStreamStatusisCOMPLETED. You get theStreamStatusand other stream details with the GetMedicalScribeStream API operation. For more information about different streaming statuses, see theStreamStatusdescription in the MedicalScribeStreamDetails.
-
- See Also:
-
-
typeAsString
The type of
MedicalScribeSessionControlEvent.Possible Values:
-
END_OF_SESSION- Indicates the audio streaming is complete. After you send an END_OF_SESSION event, Amazon Web Services HealthScribe starts the post-stream analytics. The session can't be resumed after this event is sent. After Amazon Web Services HealthScribe processes the event, the real-timeStreamStatusisCOMPLETED. You get theStreamStatusand other stream details with the GetMedicalScribeStream API operation. For more information about different streaming statuses, see theStreamStatusdescription in the MedicalScribeStreamDetails.
If the service returns an enum value that is not available in the current SDK version,
typewill returnMedicalScribeSessionControlEventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of
MedicalScribeSessionControlEvent.Possible Values:
-
END_OF_SESSION- Indicates the audio streaming is complete. After you send an END_OF_SESSION event, Amazon Web Services HealthScribe starts the post-stream analytics. The session can't be resumed after this event is sent. After Amazon Web Services HealthScribe processes the event, the real-timeStreamStatusisCOMPLETED. You get theStreamStatusand other stream details with the GetMedicalScribeStream API operation. For more information about different streaming statuses, see theStreamStatusdescription in the MedicalScribeStreamDetails.
-
- See Also:
-
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<MedicalScribeSessionControlEvent.Builder,MedicalScribeSessionControlEvent>
-
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
public final MedicalScribeSessionControlEvent copy(Consumer<? super MedicalScribeSessionControlEvent.Builder> modifier) - Specified by:
copyin interfaceToCopyableBuilder<MedicalScribeSessionControlEvent.Builder,MedicalScribeSessionControlEvent>
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-