@Generated(value="software.amazon.awssdk:codegen") public final class AbsoluteTimeRange extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AbsoluteTimeRange.Builder,AbsoluteTimeRange>
A time range, in milliseconds, between two points in your media file.
You can use StartTime and EndTime to search a custom segment. For example, setting
StartTime to 10000 and EndTime to 50000 only searches for your specified criteria in the
audio contained between the 10,000 millisecond mark and the 50,000 millisecond mark of your media file. You must use
StartTime and EndTime as a set; that is, if you include one, you must include both.
You can use also First to search from the start of the audio until the time you specify, or
Last to search from the time you specify until the end of the audio. For example, setting
First to 50000 only searches for your specified criteria in the audio contained between the start of the
media file to the 50,000 millisecond mark. You can use First and Last independently of each
other.
If you prefer to use percentage instead of milliseconds, see .
| Modifier and Type | Class and Description |
|---|---|
static interface |
AbsoluteTimeRange.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AbsoluteTimeRange.Builder |
builder() |
Long |
endTime()
The time, in milliseconds, when Amazon Transcribe stops searching for the specified criteria in your audio.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Long |
first()
The time, in milliseconds, from the start of your media file until the value you specify in which Amazon
Transcribe searches for your specified criteria.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
last()
The time, in milliseconds, from the value you specify until the end of your media file in which Amazon Transcribe
searches for your specified criteria.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AbsoluteTimeRange.Builder> |
serializableBuilderClass() |
Long |
startTime()
The time, in milliseconds, when Amazon Transcribe starts searching for the specified criteria in your audio.
|
AbsoluteTimeRange.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Long startTime()
The time, in milliseconds, when Amazon Transcribe starts searching for the specified criteria in your audio. If
you include StartTime in your request, you must also include EndTime.
StartTime in your request, you must also include EndTime.public final Long endTime()
The time, in milliseconds, when Amazon Transcribe stops searching for the specified criteria in your audio. If
you include EndTime in your request, you must also include StartTime.
EndTime in your request, you must also include StartTime.public final Long first()
The time, in milliseconds, from the start of your media file until the value you specify in which Amazon Transcribe searches for your specified criteria.
public final Long last()
The time, in milliseconds, from the value you specify until the end of your media file in which Amazon Transcribe searches for your specified criteria.
public AbsoluteTimeRange.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AbsoluteTimeRange.Builder,AbsoluteTimeRange>public static AbsoluteTimeRange.Builder builder()
public static Class<? extends AbsoluteTimeRange.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.