@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) |
List<ContentType> |
getContentTypes()
A list of predicted results for the type of content an image contains.
|
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 moderation
label.
|
ModerationLabel |
getModerationLabel()
The content moderation label detected by in the stored video.
|
Long |
getStartTimestampMillis()
The time in milliseconds defining the start of the timeline segment containing a continuously detected moderation
label.
|
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 |
setContentTypes(Collection<ContentType> contentTypes)
A list of predicted results for the type of content an image contains.
|
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 moderation
label.
|
void |
setModerationLabel(ModerationLabel moderationLabel)
The content moderation label detected by in the stored video.
|
void |
setStartTimestampMillis(Long startTimestampMillis)
The time in milliseconds defining the start of the timeline segment containing a continuously detected moderation
label.
|
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 |
withContentTypes(Collection<ContentType> contentTypes)
A list of predicted results for the type of content an image contains.
|
ContentModerationDetection |
withContentTypes(ContentType... contentTypes)
A list of predicted results for the type of content an image contains.
|
ContentModerationDetection |
withDurationMillis(Long durationMillis)
The time duration of a segment in milliseconds, I.e.
|
ContentModerationDetection |
withEndTimestampMillis(Long endTimestampMillis)
The time in milliseconds defining the end of the timeline segment containing a continuously detected moderation
label.
|
ContentModerationDetection |
withModerationLabel(ModerationLabel moderationLabel)
The content moderation label detected by in the stored video.
|
ContentModerationDetection |
withStartTimestampMillis(Long startTimestampMillis)
The time in milliseconds defining the start of the timeline segment containing a continuously detected moderation
label.
|
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 void setStartTimestampMillis(Long startTimestampMillis)
The time in milliseconds defining the start of the timeline segment containing a continuously detected moderation label.
startTimestampMillis
- The time in milliseconds defining the start of the timeline segment containing a continuously detected
moderation label.public Long getStartTimestampMillis()
The time in milliseconds defining the start of the timeline segment containing a continuously detected moderation label.
public ContentModerationDetection withStartTimestampMillis(Long startTimestampMillis)
The time in milliseconds defining the start of the timeline segment containing a continuously detected moderation label.
startTimestampMillis
- The time in milliseconds defining the start of the timeline segment containing a continuously detected
moderation label.public void setEndTimestampMillis(Long endTimestampMillis)
The time in milliseconds defining the end of the timeline segment containing a continuously detected moderation label.
endTimestampMillis
- The time in milliseconds defining the end of the timeline segment containing a continuously detected
moderation label.public Long getEndTimestampMillis()
The time in milliseconds defining the end of the timeline segment containing a continuously detected moderation label.
public ContentModerationDetection withEndTimestampMillis(Long endTimestampMillis)
The time in milliseconds defining the end of the timeline segment containing a continuously detected moderation label.
endTimestampMillis
- The time in milliseconds defining the end of the timeline segment containing a continuously detected
moderation 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 ContentModerationDetection 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 List<ContentType> getContentTypes()
A list of predicted results for the type of content an image contains. For example, the image content might be from animation, sports, or a video game.
public void setContentTypes(Collection<ContentType> contentTypes)
A list of predicted results for the type of content an image contains. For example, the image content might be from animation, sports, or a video game.
contentTypes
- A list of predicted results for the type of content an image contains. For example, the image content
might be from animation, sports, or a video game.public ContentModerationDetection withContentTypes(ContentType... contentTypes)
A list of predicted results for the type of content an image contains. For example, the image content might be from animation, sports, or a video game.
NOTE: This method appends the values to the existing list (if any). Use
setContentTypes(java.util.Collection)
or withContentTypes(java.util.Collection)
if you want to
override the existing values.
contentTypes
- A list of predicted results for the type of content an image contains. For example, the image content
might be from animation, sports, or a video game.public ContentModerationDetection withContentTypes(Collection<ContentType> contentTypes)
A list of predicted results for the type of content an image contains. For example, the image content might be from animation, sports, or a video game.
contentTypes
- A list of predicted results for the type of content an image contains. For example, the image content
might be from animation, sports, or a video game.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.