public static interface GetContentModerationResponse.Builder extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<GetContentModerationResponse.Builder,GetContentModerationResponse>
Modifier and Type | Method and Description |
---|---|
GetContentModerationResponse.Builder |
jobStatus(String jobStatus)
The current status of the content moderation job.
|
GetContentModerationResponse.Builder |
jobStatus(VideoJobStatus jobStatus)
The current status of the content moderation job.
|
GetContentModerationResponse.Builder |
moderationLabels(Collection<ContentModerationDetection> moderationLabels)
The detected moderation labels and the time(s) they were detected.
|
GetContentModerationResponse.Builder |
moderationLabels(Consumer<ContentModerationDetection.Builder>... moderationLabels)
The detected moderation labels and the time(s) they were detected.
|
GetContentModerationResponse.Builder |
moderationLabels(ContentModerationDetection... moderationLabels)
The detected moderation labels and the time(s) they were detected.
|
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 moderation labels.
|
GetContentModerationResponse.Builder |
statusMessage(String statusMessage)
If the job fails,
StatusMessage provides a descriptive error message. |
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, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetContentModerationResponse.Builder jobStatus(String jobStatus)
The current status of the content moderation job.
jobStatus
- The current status of the content moderation job.VideoJobStatus
,
VideoJobStatus
GetContentModerationResponse.Builder jobStatus(VideoJobStatus jobStatus)
The current status of the content moderation job.
jobStatus
- The current status of the content moderation job.VideoJobStatus
,
VideoJobStatus
GetContentModerationResponse.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.Builder
videoMetadata(VideoMetadata)
GetContentModerationResponse.Builder moderationLabels(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.GetContentModerationResponse.Builder moderationLabels(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.GetContentModerationResponse.Builder moderationLabels(Consumer<ContentModerationDetection.Builder>... moderationLabels)
The detected moderation labels and the time(s) they were detected.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #moderationLabels(List)
.moderationLabels
- a consumer that will call methods on List.Builder
#moderationLabels(List)
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 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 moderation labels.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.