@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetContentModerationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetContentModerationResult() |
Modifier and Type | Method and Description |
---|---|
GetContentModerationResult |
clone() |
boolean |
equals(Object obj) |
String |
getJobStatus()
The current status of the content moderation job.
|
List<ContentModerationDetection> |
getModerationLabels()
The detected moderation labels and the time(s) they were detected.
|
String |
getNextToken()
If the response is truncated, Rekognition Video returns this token that you can use in the subsequent request to
retrieve the next set of moderation labels.
|
String |
getStatusMessage()
If the job fails,
StatusMessage provides a descriptive error message. |
VideoMetadata |
getVideoMetadata()
Information about a video that Amazon Rekognition analyzed.
|
int |
hashCode() |
void |
setJobStatus(String jobStatus)
The current status of the content moderation job.
|
void |
setModerationLabels(Collection<ContentModerationDetection> moderationLabels)
The detected moderation labels and the time(s) they were detected.
|
void |
setNextToken(String nextToken)
If the response is truncated, Rekognition Video returns this token that you can use in the subsequent request to
retrieve the next set of moderation labels.
|
void |
setStatusMessage(String statusMessage)
If the job fails,
StatusMessage provides a descriptive error message. |
void |
setVideoMetadata(VideoMetadata videoMetadata)
Information about a video that Amazon Rekognition analyzed.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetContentModerationResult |
withJobStatus(String jobStatus)
The current status of the content moderation job.
|
GetContentModerationResult |
withJobStatus(VideoJobStatus jobStatus)
The current status of the content moderation job.
|
GetContentModerationResult |
withModerationLabels(Collection<ContentModerationDetection> moderationLabels)
The detected moderation labels and the time(s) they were detected.
|
GetContentModerationResult |
withModerationLabels(ContentModerationDetection... moderationLabels)
The detected moderation labels and the time(s) they were detected.
|
GetContentModerationResult |
withNextToken(String nextToken)
If the response is truncated, Rekognition Video returns this token that you can use in the subsequent request to
retrieve the next set of moderation labels.
|
GetContentModerationResult |
withStatusMessage(String statusMessage)
If the job fails,
StatusMessage provides a descriptive error message. |
GetContentModerationResult |
withVideoMetadata(VideoMetadata videoMetadata)
Information about a video that Amazon Rekognition analyzed.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setJobStatus(String jobStatus)
The current status of the content moderation job.
jobStatus
- The current status of the content moderation job.VideoJobStatus
public String getJobStatus()
The current status of the content moderation job.
VideoJobStatus
public GetContentModerationResult withJobStatus(String jobStatus)
The current status of the content moderation job.
jobStatus
- The current status of the content moderation job.VideoJobStatus
public GetContentModerationResult withJobStatus(VideoJobStatus jobStatus)
The current status of the content moderation job.
jobStatus
- The current status of the content moderation job.VideoJobStatus
public void setStatusMessage(String statusMessage)
If the job fails, StatusMessage
provides a descriptive error message.
statusMessage
- If the job fails, StatusMessage
provides a descriptive error message.public String getStatusMessage()
If the job fails, StatusMessage
provides a descriptive error message.
StatusMessage
provides a descriptive error message.public GetContentModerationResult withStatusMessage(String statusMessage)
If the job fails, StatusMessage
provides a descriptive error message.
statusMessage
- If the job fails, StatusMessage
provides a descriptive error message.public void setVideoMetadata(VideoMetadata videoMetadata)
Information about a video that Amazon Rekognition analyzed. Videometadata
is returned in every page
of paginated responses from GetContentModeration
.
videoMetadata
- Information about a video that Amazon Rekognition analyzed. Videometadata
is returned in
every page of paginated responses from GetContentModeration
.public VideoMetadata getVideoMetadata()
Information about a video that Amazon Rekognition analyzed. Videometadata
is returned in every page
of paginated responses from GetContentModeration
.
Videometadata
is returned in
every page of paginated responses from GetContentModeration
.public GetContentModerationResult withVideoMetadata(VideoMetadata videoMetadata)
Information about a video that Amazon Rekognition analyzed. Videometadata
is returned in every page
of paginated responses from GetContentModeration
.
videoMetadata
- Information about a video that Amazon Rekognition analyzed. Videometadata
is returned in
every page of paginated responses from GetContentModeration
.public List<ContentModerationDetection> getModerationLabels()
The detected moderation labels and the time(s) they were detected.
public void setModerationLabels(Collection<ContentModerationDetection> moderationLabels)
The detected moderation labels and the time(s) they were detected.
moderationLabels
- The detected moderation labels and the time(s) they were detected.public GetContentModerationResult withModerationLabels(ContentModerationDetection... moderationLabels)
The detected moderation labels and the time(s) they were detected.
NOTE: This method appends the values to the existing list (if any). Use
setModerationLabels(java.util.Collection)
or withModerationLabels(java.util.Collection)
if you
want to override the existing values.
moderationLabels
- The detected moderation labels and the time(s) they were detected.public GetContentModerationResult withModerationLabels(Collection<ContentModerationDetection> moderationLabels)
The detected moderation labels and the time(s) they were detected.
moderationLabels
- The detected moderation labels and the time(s) they were detected.public void setNextToken(String nextToken)
If the response is truncated, Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of moderation labels.
nextToken
- If the response is truncated, Rekognition Video returns this token that you can use in the subsequent
request to retrieve the next set of moderation labels.public String getNextToken()
If the response is truncated, Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of moderation labels.
public GetContentModerationResult withNextToken(String nextToken)
If the response is truncated, Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of moderation labels.
nextToken
- If the response is truncated, Rekognition Video returns this token that you can use in the subsequent
request to retrieve the next set of moderation labels.public String toString()
toString
in class Object
Object.toString()
public GetContentModerationResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.