public class ContentModerationDetection
extends java.lang.Object
implements java.io.Serializable
Information about an unsafe content label detection in a stored video.
Constructor and Description |
---|
ContentModerationDetection() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
ModerationLabel |
getModerationLabel()
The unsafe content label detected by in the stored video.
|
java.lang.Long |
getTimestamp()
Time, in milliseconds from the beginning of the video, that the unsafe
content label was detected.
|
int |
hashCode() |
void |
setModerationLabel(ModerationLabel moderationLabel)
The unsafe content label detected by in the stored video.
|
void |
setTimestamp(java.lang.Long timestamp)
Time, in milliseconds from the beginning of the video, that the unsafe
content label was detected.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ContentModerationDetection |
withModerationLabel(ModerationLabel moderationLabel)
The unsafe content label detected by in the stored video.
|
ContentModerationDetection |
withTimestamp(java.lang.Long timestamp)
Time, in milliseconds from the beginning of the video, that the unsafe
content label was detected.
|
public java.lang.Long getTimestamp()
Time, in milliseconds from the beginning of the video, that the unsafe content label was detected.
Time, in milliseconds from the beginning of the video, that the unsafe content label was detected.
public void setTimestamp(java.lang.Long timestamp)
Time, in milliseconds from the beginning of the video, that the unsafe content label was detected.
timestamp
- Time, in milliseconds from the beginning of the video, that the unsafe content label was detected.
public ContentModerationDetection withTimestamp(java.lang.Long timestamp)
Time, in milliseconds from the beginning of the video, that the unsafe content label was detected.
Returns a reference to this object so that method calls can be chained together.
timestamp
- Time, in milliseconds from the beginning of the video, that the unsafe content label was detected.
public ModerationLabel getModerationLabel()
The unsafe content label detected by in the stored video.
The unsafe content label detected by in the stored video.
public void setModerationLabel(ModerationLabel moderationLabel)
The unsafe content label detected by in the stored video.
moderationLabel
- The unsafe content label detected by in the stored video.
public ContentModerationDetection withModerationLabel(ModerationLabel moderationLabel)
The unsafe content label detected by in the stored video.
Returns a reference to this object so that method calls can be chained together.
moderationLabel
- The unsafe content label detected by in the stored video.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.