Class AbsoluteTimeRange
- java.lang.Object
-
- software.amazon.awssdk.services.transcribe.model.AbsoluteTimeRange
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AbsoluteTimeRange.Builder,AbsoluteTimeRange>
@Generated("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
StartTimeandEndTimeto search a custom segment. For example, settingStartTimeto 10000 andEndTimeto 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 useStartTimeandEndTimeas a set; that is, if you include one, you must include both.You can use also
Firstto search from the start of the audio until the time that you specify, orLastto search from the time that you specify until the end of the audio. For example, settingFirstto 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 useFirstandLastindependently of each other.If you prefer to use percentage instead of milliseconds, see .
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAbsoluteTimeRange.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AbsoluteTimeRange.Builderbuilder()LongendTime()The time, in milliseconds, when Amazon Transcribe stops searching for the specified criteria in your audio.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Longfirst()The time, in milliseconds, from the start of your media file until the specified value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Longlast()The time, in milliseconds, from the specified value until the end of your media file.List<SdkField<?>>sdkFields()static Class<? extends AbsoluteTimeRange.Builder>serializableBuilderClass()LongstartTime()The time, in milliseconds, when Amazon Transcribe starts searching for the specified criteria in your audio.AbsoluteTimeRange.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
startTime
public final Long startTime()
The time, in milliseconds, when Amazon Transcribe starts searching for the specified criteria in your audio. If you include
StartTimein your request, you must also includeEndTime.- Returns:
- The time, in milliseconds, when Amazon Transcribe starts searching for the specified criteria in your
audio. If you include
StartTimein your request, you must also includeEndTime.
-
endTime
public final Long endTime()
The time, in milliseconds, when Amazon Transcribe stops searching for the specified criteria in your audio. If you include
EndTimein your request, you must also includeStartTime.- Returns:
- The time, in milliseconds, when Amazon Transcribe stops searching for the specified criteria in your
audio. If you include
EndTimein your request, you must also includeStartTime.
-
first
public final Long first()
The time, in milliseconds, from the start of your media file until the specified value. Amazon Transcribe searches for your specified criteria in this time segment.
- Returns:
- The time, in milliseconds, from the start of your media file until the specified value. Amazon Transcribe searches for your specified criteria in this time segment.
-
last
public final Long last()
The time, in milliseconds, from the specified value until the end of your media file. Amazon Transcribe searches for your specified criteria in this time segment.
- Returns:
- The time, in milliseconds, from the specified value until the end of your media file. Amazon Transcribe searches for your specified criteria in this time segment.
-
toBuilder
public AbsoluteTimeRange.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AbsoluteTimeRange.Builder,AbsoluteTimeRange>
-
builder
public static AbsoluteTimeRange.Builder builder()
-
serializableBuilderClass
public static Class<? extends AbsoluteTimeRange.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
-