@Generated(value="software.amazon.awssdk:codegen") public final class LabelDetection extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LabelDetection.Builder,LabelDetection>
Information about a label detected in a video analysis request and the time the label was detected in the video.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LabelDetection.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LabelDetection.Builder |
builder() |
Long |
durationMillis()
The time duration of a segment in milliseconds, I.e.
|
Long |
endTimestampMillis()
The time in milliseconds defining the end of the timeline segment containing a continuously detected label.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Label |
label()
Details about the detected label.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LabelDetection.Builder> |
serializableBuilderClass() |
Long |
startTimestampMillis()
The time in milliseconds defining the start of the timeline segment containing a continuously detected label.
|
Long |
timestamp()
Time, in milliseconds from the start of the video, that the label was detected.
|
LabelDetection.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Long timestamp()
Time, in milliseconds from the start of the video, that the label was detected. Note that Timestamp
is not guaranteed to be accurate to the individual frame where the label first appears.
Timestamp is not guaranteed to be accurate to the individual frame where the label first
appears.public final Label label()
Details about the detected label.
public final Long startTimestampMillis()
The time in milliseconds defining the start of the timeline segment containing a continuously detected label.
public final Long endTimestampMillis()
The time in milliseconds defining the end of the timeline segment containing a continuously detected label.
public final Long durationMillis()
The time duration of a segment in milliseconds, I.e. time elapsed from StartTimestampMillis to EndTimestampMillis.
public LabelDetection.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LabelDetection.Builder,LabelDetection>public static LabelDetection.Builder builder()
public static Class<? extends LabelDetection.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.