public static interface DetectModerationLabelsRequest.Builder extends RekognitionRequest.Builder, SdkPojo, CopyableBuilder<DetectModerationLabelsRequest.Builder,DetectModerationLabelsRequest>
| Modifier and Type | Method and Description |
|---|---|
default DetectModerationLabelsRequest.Builder |
image(Consumer<Image.Builder> image)
The input image as base64-encoded bytes or an S3 object.
|
DetectModerationLabelsRequest.Builder |
image(Image image)
The input image as base64-encoded bytes or an S3 object.
|
DetectModerationLabelsRequest.Builder |
minConfidence(Float minConfidence)
Specifies the minimum confidence level for the labels to return.
|
DetectModerationLabelsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
DetectModerationLabelsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
buildoverrideConfigurationcopyapplyMutation, buildDetectModerationLabelsRequest.Builder image(Image image)
The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.
image - The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon
Rekognition operations, passing base64-encoded image bytes is not supported.default DetectModerationLabelsRequest.Builder image(Consumer<Image.Builder> image)
The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.
This is a convenience that creates an instance of theImage.Builder avoiding the need to create one
manually via Image.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to image(Image).image - a consumer that will call methods on Image.Builderimage(Image)DetectModerationLabelsRequest.Builder minConfidence(Float minConfidence)
Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any labels with a confidence level lower than this specified value.
If you don't specify MinConfidence, the operation returns labels with confidence values greater
than or equal to 50 percent.
minConfidence - Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any
labels with a confidence level lower than this specified value.
If you don't specify MinConfidence, the operation returns labels with confidence values
greater than or equal to 50 percent.
DetectModerationLabelsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.DetectModerationLabelsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.