Interface GetContentModerationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetContentModerationResponse.Builder,GetContentModerationResponse>,RekognitionResponse.Builder,SdkBuilder<GetContentModerationResponse.Builder,GetContentModerationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetContentModerationResponse
public static interface GetContentModerationResponse.Builder extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<GetContentModerationResponse.Builder,GetContentModerationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetContentModerationResponse.BuildergetRequestMetadata(Consumer<GetContentModerationRequestMetadata.Builder> getRequestMetadata)Information about the paramters used when getting a response.GetContentModerationResponse.BuildergetRequestMetadata(GetContentModerationRequestMetadata getRequestMetadata)Information about the paramters used when getting a response.GetContentModerationResponse.BuilderjobId(String jobId)Job identifier for the content moderation operation for which you want to obtain results.GetContentModerationResponse.BuilderjobStatus(String jobStatus)The current status of the content moderation analysis job.GetContentModerationResponse.BuilderjobStatus(VideoJobStatus jobStatus)The current status of the content moderation analysis job.GetContentModerationResponse.BuilderjobTag(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.BuildermoderationLabels(Collection<ContentModerationDetection> moderationLabels)The detected inappropriate, unwanted, or offensive content moderation labels and the time(s) they were detected.GetContentModerationResponse.BuildermoderationLabels(Consumer<ContentModerationDetection.Builder>... moderationLabels)The detected inappropriate, unwanted, or offensive content moderation labels and the time(s) they were detected.GetContentModerationResponse.BuildermoderationLabels(ContentModerationDetection... moderationLabels)The detected inappropriate, unwanted, or offensive content moderation labels and the time(s) they were detected.GetContentModerationResponse.BuildermoderationModelVersion(String moderationModelVersion)Version number of the moderation detection model that was used to detect inappropriate, unwanted, or offensive content.GetContentModerationResponse.BuildernextToken(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.BuilderstatusMessage(String statusMessage)If the job fails,StatusMessageprovides a descriptive error message.default GetContentModerationResponse.Buildervideo(Consumer<Video.Builder> video)Sets the value of the Video property for this object.GetContentModerationResponse.Buildervideo(Video video)Sets the value of the Video property for this object.default GetContentModerationResponse.BuildervideoMetadata(Consumer<VideoMetadata.Builder> videoMetadata)Information about a video that Amazon Rekognition analyzed.GetContentModerationResponse.BuildervideoMetadata(VideoMetadata videoMetadata)Information about a video that Amazon Rekognition analyzed.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.rekognition.model.RekognitionResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
jobStatus
GetContentModerationResponse.Builder jobStatus(String jobStatus)
The current status of the content moderation analysis job.
- Parameters:
jobStatus- The current status of the content moderation analysis job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VideoJobStatus,VideoJobStatus
-
jobStatus
GetContentModerationResponse.Builder jobStatus(VideoJobStatus jobStatus)
The current status of the content moderation analysis job.
- Parameters:
jobStatus- The current status of the content moderation analysis job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VideoJobStatus,VideoJobStatus
-
statusMessage
GetContentModerationResponse.Builder statusMessage(String statusMessage)
If the job fails,
StatusMessageprovides a descriptive error message.- Parameters:
statusMessage- If the job fails,StatusMessageprovides a descriptive error message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
videoMetadata
GetContentModerationResponse.Builder videoMetadata(VideoMetadata videoMetadata)
Information about a video that Amazon Rekognition analyzed.
Videometadatais returned in every page of paginated responses fromGetContentModeration.- Parameters:
videoMetadata- Information about a video that Amazon Rekognition analyzed.Videometadatais returned in every page of paginated responses fromGetContentModeration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
videoMetadata
default GetContentModerationResponse.Builder videoMetadata(Consumer<VideoMetadata.Builder> videoMetadata)
Information about a video that Amazon Rekognition analyzed.
This is a convenience method that creates an instance of theVideometadatais returned in every page of paginated responses fromGetContentModeration.VideoMetadata.Builderavoiding the need to create one manually viaVideoMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovideoMetadata(VideoMetadata).- Parameters:
videoMetadata- a consumer that will call methods onVideoMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
videoMetadata(VideoMetadata)
-
moderationLabels
GetContentModerationResponse.Builder moderationLabels(Collection<ContentModerationDetection> moderationLabels)
The detected inappropriate, unwanted, or offensive content moderation labels and the time(s) they were detected.
- Parameters:
moderationLabels- The detected inappropriate, unwanted, or offensive content moderation labels and the time(s) they were detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
moderationLabels
GetContentModerationResponse.Builder moderationLabels(ContentModerationDetection... moderationLabels)
The detected inappropriate, unwanted, or offensive content moderation labels and the time(s) they were detected.
- Parameters:
moderationLabels- The detected inappropriate, unwanted, or offensive content moderation labels and the time(s) they were detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
moderationLabels
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.Builderavoiding the need to create one manually viaContentModerationDetection.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#moderationLabels(List.) - Parameters:
moderationLabels- a consumer that will call methods onContentModerationDetection.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#moderationLabels(java.util.Collection)
-
nextToken
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
moderationModelVersion
GetContentModerationResponse.Builder moderationModelVersion(String moderationModelVersion)
Version number of the moderation detection model that was used to detect inappropriate, unwanted, or offensive content.
- Parameters:
moderationModelVersion- Version number of the moderation detection model that was used to detect inappropriate, unwanted, or offensive content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobId
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
video
GetContentModerationResponse.Builder video(Video video)
Sets the value of the Video property for this object.- Parameters:
video- The new value for the Video property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
video
default GetContentModerationResponse.Builder video(Consumer<Video.Builder> video)
Sets the value of the Video property for this object. This is a convenience method that creates an instance of theVideo.Builderavoiding the need to create one manually viaVideo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovideo(Video).- Parameters:
video- a consumer that will call methods onVideo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
video(Video)
-
jobTag
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getRequestMetadata
GetContentModerationResponse.Builder getRequestMetadata(GetContentModerationRequestMetadata getRequestMetadata)
Information about the paramters used when getting a response. Includes information on aggregation and sorting methods.
- Parameters:
getRequestMetadata- Information about the paramters used when getting a response. Includes information on aggregation and sorting methods.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getRequestMetadata
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.Builderavoiding the need to create one manually viaGetContentModerationRequestMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togetRequestMetadata(GetContentModerationRequestMetadata).- Parameters:
getRequestMetadata- a consumer that will call methods onGetContentModerationRequestMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
getRequestMetadata(GetContentModerationRequestMetadata)
-
-