@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LabelDetection extends Object implements Serializable, Cloneable, StructuredPojo
Information about a label detected in a video analysis request and the time the label was detected in the video.
Constructor and Description |
---|
LabelDetection() |
Modifier and Type | Method and Description |
---|---|
LabelDetection |
clone() |
boolean |
equals(Object obj) |
Long |
getDurationMillis()
The time duration of a segment in milliseconds, I.e.
|
Long |
getEndTimestampMillis()
The time in milliseconds defining the end of the timeline segment containing a continuously detected label.
|
Label |
getLabel()
Details about the detected label.
|
Long |
getStartTimestampMillis()
The time in milliseconds defining the start of the timeline segment containing a continuously detected label.
|
Long |
getTimestamp()
Time, in milliseconds from the start of the video, that the label was detected.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDurationMillis(Long durationMillis)
The time duration of a segment in milliseconds, I.e.
|
void |
setEndTimestampMillis(Long endTimestampMillis)
The time in milliseconds defining the end of the timeline segment containing a continuously detected label.
|
void |
setLabel(Label label)
Details about the detected label.
|
void |
setStartTimestampMillis(Long startTimestampMillis)
The time in milliseconds defining the start of the timeline segment containing a continuously detected label.
|
void |
setTimestamp(Long timestamp)
Time, in milliseconds from the start of the video, that the label was detected.
|
String |
toString()
Returns a string representation of this object.
|
LabelDetection |
withDurationMillis(Long durationMillis)
The time duration of a segment in milliseconds, I.e.
|
LabelDetection |
withEndTimestampMillis(Long endTimestampMillis)
The time in milliseconds defining the end of the timeline segment containing a continuously detected label.
|
LabelDetection |
withLabel(Label label)
Details about the detected label.
|
LabelDetection |
withStartTimestampMillis(Long startTimestampMillis)
The time in milliseconds defining the start of the timeline segment containing a continuously detected label.
|
LabelDetection |
withTimestamp(Long timestamp)
Time, in milliseconds from the start of the video, that the label was detected.
|
public void setTimestamp(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
- 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.public Long getTimestamp()
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 LabelDetection withTimestamp(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
- 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.public void setLabel(Label label)
Details about the detected label.
label
- Details about the detected label.public Label getLabel()
Details about the detected label.
public LabelDetection withLabel(Label label)
Details about the detected label.
label
- Details about the detected label.public void setStartTimestampMillis(Long startTimestampMillis)
The time in milliseconds defining the start of the timeline segment containing a continuously detected label.
startTimestampMillis
- The time in milliseconds defining the start of the timeline segment containing a continuously detected
label.public Long getStartTimestampMillis()
The time in milliseconds defining the start of the timeline segment containing a continuously detected label.
public LabelDetection withStartTimestampMillis(Long startTimestampMillis)
The time in milliseconds defining the start of the timeline segment containing a continuously detected label.
startTimestampMillis
- The time in milliseconds defining the start of the timeline segment containing a continuously detected
label.public void setEndTimestampMillis(Long endTimestampMillis)
The time in milliseconds defining the end of the timeline segment containing a continuously detected label.
endTimestampMillis
- The time in milliseconds defining the end of the timeline segment containing a continuously detected
label.public Long getEndTimestampMillis()
The time in milliseconds defining the end of the timeline segment containing a continuously detected label.
public LabelDetection withEndTimestampMillis(Long endTimestampMillis)
The time in milliseconds defining the end of the timeline segment containing a continuously detected label.
endTimestampMillis
- The time in milliseconds defining the end of the timeline segment containing a continuously detected
label.public void setDurationMillis(Long durationMillis)
The time duration of a segment in milliseconds, I.e. time elapsed from StartTimestampMillis to EndTimestampMillis.
durationMillis
- The time duration of a segment in milliseconds, I.e. time elapsed from StartTimestampMillis to
EndTimestampMillis.public Long getDurationMillis()
The time duration of a segment in milliseconds, I.e. time elapsed from StartTimestampMillis to EndTimestampMillis.
public LabelDetection withDurationMillis(Long durationMillis)
The time duration of a segment in milliseconds, I.e. time elapsed from StartTimestampMillis to EndTimestampMillis.
durationMillis
- The time duration of a segment in milliseconds, I.e. time elapsed from StartTimestampMillis to
EndTimestampMillis.public String toString()
toString
in class Object
Object.toString()
public LabelDetection clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.