Interface GetContentModerationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetContentModerationRequest.Builder,GetContentModerationRequest>,RekognitionRequest.Builder,SdkBuilder<GetContentModerationRequest.Builder,GetContentModerationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetContentModerationRequest
public static interface GetContentModerationRequest.Builder extends RekognitionRequest.Builder, SdkPojo, CopyableBuilder<GetContentModerationRequest.Builder,GetContentModerationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetContentModerationRequest.BuilderaggregateBy(String aggregateBy)Defines how to aggregate results of the StartContentModeration request.GetContentModerationRequest.BuilderaggregateBy(ContentModerationAggregateBy aggregateBy)Defines how to aggregate results of the StartContentModeration request.GetContentModerationRequest.BuilderjobId(String jobId)The identifier for the inappropriate, unwanted, or offensive content moderation job.GetContentModerationRequest.BuildermaxResults(Integer maxResults)Maximum number of results to return per paginated call.GetContentModerationRequest.BuildernextToken(String nextToken)If the previous response was incomplete (because there is more data to retrieve), Amazon Rekognition returns a pagination token in the response.GetContentModerationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetContentModerationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)GetContentModerationRequest.BuildersortBy(String sortBy)Sort to use for elements in theModerationLabelDetectionsarray.GetContentModerationRequest.BuildersortBy(ContentModerationSortBy sortBy)Sort to use for elements in theModerationLabelDetectionsarray.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.rekognition.model.RekognitionRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
jobId
GetContentModerationRequest.Builder jobId(String jobId)
The identifier for the inappropriate, unwanted, or offensive content moderation job. Use
JobIdto identify the job in a subsequent call toGetContentModeration.- Parameters:
jobId- The identifier for the inappropriate, unwanted, or offensive content moderation job. UseJobIdto identify the job in a subsequent call toGetContentModeration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
GetContentModerationRequest.Builder maxResults(Integer maxResults)
Maximum number of results to return per paginated call. The largest value you can specify is 1000. If you specify a value greater than 1000, a maximum of 1000 results is returned. The default value is 1000.
- Parameters:
maxResults- Maximum number of results to return per paginated call. The largest value you can specify is 1000. If you specify a value greater than 1000, a maximum of 1000 results is returned. The default value is 1000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
GetContentModerationRequest.Builder nextToken(String nextToken)
If the previous response was incomplete (because there is more data to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of content moderation labels.
- Parameters:
nextToken- If the previous response was incomplete (because there is more data to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of content moderation labels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
GetContentModerationRequest.Builder sortBy(String sortBy)
Sort to use for elements in the
ModerationLabelDetectionsarray. UseTIMESTAMPto sort array elements by the time labels are detected. UseNAMEto alphabetically group elements for a label together. Within each label group, the array element are sorted by detection confidence. The default sort is byTIMESTAMP.- Parameters:
sortBy- Sort to use for elements in theModerationLabelDetectionsarray. UseTIMESTAMPto sort array elements by the time labels are detected. UseNAMEto alphabetically group elements for a label together. Within each label group, the array element are sorted by detection confidence. The default sort is byTIMESTAMP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ContentModerationSortBy,ContentModerationSortBy
-
sortBy
GetContentModerationRequest.Builder sortBy(ContentModerationSortBy sortBy)
Sort to use for elements in the
ModerationLabelDetectionsarray. UseTIMESTAMPto sort array elements by the time labels are detected. UseNAMEto alphabetically group elements for a label together. Within each label group, the array element are sorted by detection confidence. The default sort is byTIMESTAMP.- Parameters:
sortBy- Sort to use for elements in theModerationLabelDetectionsarray. UseTIMESTAMPto sort array elements by the time labels are detected. UseNAMEto alphabetically group elements for a label together. Within each label group, the array element are sorted by detection confidence. The default sort is byTIMESTAMP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ContentModerationSortBy,ContentModerationSortBy
-
aggregateBy
GetContentModerationRequest.Builder aggregateBy(String aggregateBy)
Defines how to aggregate results of the StartContentModeration request. Default aggregation option is TIMESTAMPS. SEGMENTS mode aggregates moderation labels over time.
- Parameters:
aggregateBy- Defines how to aggregate results of the StartContentModeration request. Default aggregation option is TIMESTAMPS. SEGMENTS mode aggregates moderation labels over time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ContentModerationAggregateBy,ContentModerationAggregateBy
-
aggregateBy
GetContentModerationRequest.Builder aggregateBy(ContentModerationAggregateBy aggregateBy)
Defines how to aggregate results of the StartContentModeration request. Default aggregation option is TIMESTAMPS. SEGMENTS mode aggregates moderation labels over time.
- Parameters:
aggregateBy- Defines how to aggregate results of the StartContentModeration request. Default aggregation option is TIMESTAMPS. SEGMENTS mode aggregates moderation labels over time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ContentModerationAggregateBy,ContentModerationAggregateBy
-
overrideConfiguration
GetContentModerationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetContentModerationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-