@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContentModerationDetection extends Object implements Serializable, Cloneable, StructuredPojo
Information about an inappropriate, unwanted, or offensive content label detection in a stored video.
Constructor and Description |
---|
ContentModerationDetection() |
Modifier and Type | Method and Description |
---|---|
ContentModerationDetection |
clone() |
boolean |
equals(Object obj) |
ModerationLabel |
getModerationLabel()
The content moderation label detected by in the stored video.
|
Long |
getTimestamp()
Time, in milliseconds from the beginning of the video, that the content moderation label was detected.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setModerationLabel(ModerationLabel moderationLabel)
The content moderation label detected by in the stored video.
|
void |
setTimestamp(Long timestamp)
Time, in milliseconds from the beginning of the video, that the content moderation label was detected.
|
String |
toString()
Returns a string representation of this object.
|
ContentModerationDetection |
withModerationLabel(ModerationLabel moderationLabel)
The content moderation label detected by in the stored video.
|
ContentModerationDetection |
withTimestamp(Long timestamp)
Time, in milliseconds from the beginning of the video, that the content moderation label was detected.
|
public void setTimestamp(Long timestamp)
Time, in milliseconds from the beginning of the video, that the content moderation label was detected. Note that
Timestamp
is not guaranteed to be accurate to the individual frame where the moderated content first
appears.
timestamp
- Time, in milliseconds from the beginning of the video, that the content moderation label was detected.
Note that Timestamp
is not guaranteed to be accurate to the individual frame where the
moderated content first appears.public Long getTimestamp()
Time, in milliseconds from the beginning of the video, that the content moderation label was detected. Note that
Timestamp
is not guaranteed to be accurate to the individual frame where the moderated content first
appears.
Timestamp
is not guaranteed to be accurate to the individual frame where the
moderated content first appears.public ContentModerationDetection withTimestamp(Long timestamp)
Time, in milliseconds from the beginning of the video, that the content moderation label was detected. Note that
Timestamp
is not guaranteed to be accurate to the individual frame where the moderated content first
appears.
timestamp
- Time, in milliseconds from the beginning of the video, that the content moderation label was detected.
Note that Timestamp
is not guaranteed to be accurate to the individual frame where the
moderated content first appears.public void setModerationLabel(ModerationLabel moderationLabel)
The content moderation label detected by in the stored video.
moderationLabel
- The content moderation label detected by in the stored video.public ModerationLabel getModerationLabel()
The content moderation label detected by in the stored video.
public ContentModerationDetection withModerationLabel(ModerationLabel moderationLabel)
The content moderation label detected by in the stored video.
moderationLabel
- The content moderation label detected by in the stored video.public String toString()
toString
in class Object
Object.toString()
public ContentModerationDetection clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.