public static interface GetContentModerationResponse.Builder extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<GetContentModerationResponse.Builder,GetContentModerationResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetContentModerationResponse.Builder |
getRequestMetadata(Consumer<GetContentModerationRequestMetadata.Builder> getRequestMetadata)
Information about the paramters used when getting a response.
|
GetContentModerationResponse.Builder |
getRequestMetadata(GetContentModerationRequestMetadata getRequestMetadata)
Information about the paramters used when getting a response.
|
GetContentModerationResponse.Builder |
jobId(String jobId)
Job identifier for the content moderation operation for which you want to obtain results.
|
GetContentModerationResponse.Builder |
jobStatus(String jobStatus)
The current status of the content moderation analysis job.
|
GetContentModerationResponse.Builder |
jobStatus(VideoJobStatus jobStatus)
The current status of the content moderation analysis job.
|
GetContentModerationResponse.Builder |
jobTag(String jobTag)
A job identifier specified in the call to StartContentModeration and returned in the job completion
notification sent to your Amazon Simple Notification Service topic.
|
GetContentModerationResponse.Builder |
moderationLabels(Collection<ContentModerationDetection> moderationLabels)
The detected inappropriate, unwanted, or offensive content moderation labels and the time(s) they were
detected.
|
GetContentModerationResponse.Builder |
moderationLabels(Consumer<ContentModerationDetection.Builder>... moderationLabels)
The detected inappropriate, unwanted, or offensive content moderation labels and the time(s) they were
detected.
|
GetContentModerationResponse.Builder |
moderationLabels(ContentModerationDetection... moderationLabels)
The detected inappropriate, unwanted, or offensive content moderation labels and the time(s) they were
detected.
|
GetContentModerationResponse.Builder |
moderationModelVersion(String moderationModelVersion)
Version number of the moderation detection model that was used to detect inappropriate, unwanted, or
offensive content.
|
GetContentModerationResponse.Builder |
nextToken(String nextToken)
If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent
request to retrieve the next set of content moderation labels.
|
GetContentModerationResponse.Builder |
statusMessage(String statusMessage)
If the job fails,
StatusMessage provides a descriptive error message. |
default GetContentModerationResponse.Builder |
video(Consumer<Video.Builder> video)
Sets the value of the Video property for this object.
|
GetContentModerationResponse.Builder |
video(Video video)
Sets the value of the Video property for this object.
|
default GetContentModerationResponse.Builder |
videoMetadata(Consumer<VideoMetadata.Builder> videoMetadata)
Information about a video that Amazon Rekognition analyzed.
|
GetContentModerationResponse.Builder |
videoMetadata(VideoMetadata videoMetadata)
Information about a video that Amazon Rekognition analyzed.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetContentModerationResponse.Builder jobStatus(String jobStatus)
The current status of the content moderation analysis job.
jobStatus - The current status of the content moderation analysis job.VideoJobStatus,
VideoJobStatusGetContentModerationResponse.Builder jobStatus(VideoJobStatus jobStatus)
The current status of the content moderation analysis job.
jobStatus - The current status of the content moderation analysis job.VideoJobStatus,
VideoJobStatusGetContentModerationResponse.Builder statusMessage(String statusMessage)
If the job fails, StatusMessage provides a descriptive error message.
statusMessage - If the job fails, StatusMessage provides a descriptive error message.GetContentModerationResponse.Builder videoMetadata(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.default GetContentModerationResponse.Builder videoMetadata(Consumer<VideoMetadata.Builder> videoMetadata)
Information about a video that Amazon Rekognition analyzed. Videometadata is returned in every
page of paginated responses from GetContentModeration.
VideoMetadata.Builder avoiding the need
to create one manually via VideoMetadata.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to videoMetadata(VideoMetadata).
videoMetadata - a consumer that will call methods on VideoMetadata.BuildervideoMetadata(VideoMetadata)GetContentModerationResponse.Builder moderationLabels(Collection<ContentModerationDetection> moderationLabels)
The detected inappropriate, unwanted, or offensive content moderation labels and the time(s) they were detected.
moderationLabels - The detected inappropriate, unwanted, or offensive content moderation labels and the time(s) they were
detected.GetContentModerationResponse.Builder moderationLabels(ContentModerationDetection... moderationLabels)
The detected inappropriate, unwanted, or offensive content moderation labels and the time(s) they were detected.
moderationLabels - The detected inappropriate, unwanted, or offensive content moderation labels and the time(s) they were
detected.GetContentModerationResponse.Builder moderationLabels(Consumer<ContentModerationDetection.Builder>... moderationLabels)
The detected inappropriate, unwanted, or offensive content moderation labels and the time(s) they were detected.
This is a convenience method that creates an instance of theContentModerationDetection.Builder avoiding the
need to create one manually via
ContentModerationDetection.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #moderationLabels(List.
moderationLabels - a consumer that will call methods on
ContentModerationDetection.Builder#moderationLabels(java.util.Collection) GetContentModerationResponse.Builder nextToken(String nextToken)
If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of content moderation labels.
nextToken - If the response is truncated, Amazon Rekognition Video returns this token that you can use in the
subsequent request to retrieve the next set of content moderation labels.GetContentModerationResponse.Builder moderationModelVersion(String moderationModelVersion)
Version number of the moderation detection model that was used to detect inappropriate, unwanted, or offensive content.
moderationModelVersion - Version number of the moderation detection model that was used to detect inappropriate, unwanted, or
offensive content.GetContentModerationResponse.Builder jobId(String jobId)
Job identifier for the content moderation operation for which you want to obtain results. The job identifer is returned by an initial call to StartContentModeration.
jobId - Job identifier for the content moderation operation for which you want to obtain results. The job
identifer is returned by an initial call to StartContentModeration.GetContentModerationResponse.Builder video(Video video)
video - The new value for the Video property for this object.default GetContentModerationResponse.Builder video(Consumer<Video.Builder> video)
Video.Builder avoiding the need to
create one manually via Video.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to video(Video).
video - a consumer that will call methods on Video.Buildervideo(Video)GetContentModerationResponse.Builder jobTag(String jobTag)
A job identifier specified in the call to StartContentModeration and returned in the job completion notification sent to your Amazon Simple Notification Service topic.
jobTag - A job identifier specified in the call to StartContentModeration and returned in the job completion
notification sent to your Amazon Simple Notification Service topic.GetContentModerationResponse.Builder getRequestMetadata(GetContentModerationRequestMetadata getRequestMetadata)
Information about the paramters used when getting a response. Includes information on aggregation and sorting methods.
getRequestMetadata - Information about the paramters used when getting a response. Includes information on aggregation and
sorting methods.default GetContentModerationResponse.Builder getRequestMetadata(Consumer<GetContentModerationRequestMetadata.Builder> getRequestMetadata)
Information about the paramters used when getting a response. Includes information on aggregation and sorting methods.
This is a convenience method that creates an instance of theGetContentModerationRequestMetadata.Builder avoiding the need to create one manually via
GetContentModerationRequestMetadata.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to getRequestMetadata(GetContentModerationRequestMetadata).
getRequestMetadata - a consumer that will call methods on GetContentModerationRequestMetadata.BuildergetRequestMetadata(GetContentModerationRequestMetadata)Copyright © 2023. All rights reserved.