@Generated(value="software.amazon.awssdk:codegen") public final class MedicalResult extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MedicalResult.Builder,MedicalResult>
The Result associated with a .
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
MedicalResult.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<MedicalAlternative> |
alternatives()
A list of possible alternative transcriptions for the input audio.
|
static MedicalResult.Builder |
builder() |
String |
channelId()
Indicates the channel identified for the
Result. |
Double |
endTime()
The end time, in milliseconds, of the
Result. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAlternatives()
For responses, this returns true if the service returned a value for the Alternatives property.
|
int |
hashCode() |
Boolean |
isPartial()
Indicates if the segment is complete.
|
String |
resultId()
Provides a unique identifier for the
Result. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends MedicalResult.Builder> |
serializableBuilderClass() |
Double |
startTime()
The start time, in milliseconds, of the
Result. |
MedicalResult.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String resultId()
Provides a unique identifier for the Result.
Result.public final Double startTime()
The start time, in milliseconds, of the Result.
Result.public final Double endTime()
The end time, in milliseconds, of the Result.
Result.public final Boolean isPartial()
Indicates if the segment is complete.
If IsPartial is true, the segment is not complete. If IsPartial is
false, the segment is complete.
If IsPartial is true, the segment is not complete. If IsPartial is
false, the segment is complete.
public final boolean hasAlternatives()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<MedicalAlternative> alternatives()
A list of possible alternative transcriptions for the input audio. Each alternative may contain one or more of
Items, Entities, or Transcript.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAlternatives() method.
Items, Entities, or Transcript.public final String channelId()
Indicates the channel identified for the Result.
Result.public MedicalResult.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<MedicalResult.Builder,MedicalResult>public static MedicalResult.Builder builder()
public static Class<? extends MedicalResult.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.