@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) |
Label |
getLabel()
Details about the 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 |
setLabel(Label label)
Details about the 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 |
withLabel(Label label)
Details about the 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.
timestamp
- Time, in milliseconds from the start of the video, that the label was detected.public Long getTimestamp()
Time, in milliseconds from the start of the video, that the label was detected.
public LabelDetection withTimestamp(Long timestamp)
Time, in milliseconds from the start of the video, that the label was detected.
timestamp
- Time, in milliseconds from the start of the video, that the label was detected.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 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.