@Generated(value="software.amazon.awssdk:codegen") public final class Result extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Result.Builder,Result>
The result of transcribing a portion of the input audio stream.
Modifier and Type | Class and Description |
---|---|
static interface |
Result.Builder |
Modifier and Type | Method and Description |
---|---|
List<Alternative> |
alternatives()
A list of possible transcriptions for the audio.
|
static Result.Builder |
builder() |
Double |
endTime()
The offset in milliseconds from the beginning of the audio stream to the end of the result.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
isPartial()
true to indicate that Amazon Transcribe has additional transcription data to send,
false to indicate that this is the last transcription result for the audio stream. |
String |
resultId()
A unique identifier for the result.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Result.Builder> |
serializableBuilderClass() |
Double |
startTime()
The offset in milliseconds from the beginning of the audio stream to the beginning of the result.
|
Result.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String resultId()
A unique identifier for the result.
public Double startTime()
The offset in milliseconds from the beginning of the audio stream to the beginning of the result.
public Double endTime()
The offset in milliseconds from the beginning of the audio stream to the end of the result.
public Boolean isPartial()
true
to indicate that Amazon Transcribe has additional transcription data to send,
false
to indicate that this is the last transcription result for the audio stream.
true
to indicate that Amazon Transcribe has additional transcription data to send,
false
to indicate that this is the last transcription result for the audio stream.public List<Alternative> alternatives()
A list of possible transcriptions for the audio. Each alternative typically contains one item
that
contains the result of the transcription.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
item
that contains the result of the transcription.public Result.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Result.Builder,Result>
public static Result.Builder builder()
public static Class<? extends Result.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.