public static interface DetectModerationLabelsRequest.Builder extends RekognitionRequest.Builder, CopyableBuilder<DetectModerationLabelsRequest.Builder,DetectModerationLabelsRequest>
| Modifier and Type | Method and Description |
|---|---|
default DetectModerationLabelsRequest.Builder |
image(Consumer<Image.Builder> image)
The input image as bytes or an S3 object.
|
DetectModerationLabelsRequest.Builder |
image(Image image)
The input image as bytes or an S3 object.
|
DetectModerationLabelsRequest.Builder |
minConfidence(Float minConfidence)
Specifies the minimum confidence level for the labels to return.
|
DetectModerationLabelsRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
DetectModerationLabelsRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
buildrequestOverrideConfigcopyapply, buildDetectModerationLabelsRequest.Builder image(Image image)
The input image as bytes or an S3 object.
image - The input image as bytes or an S3 object.default DetectModerationLabelsRequest.Builder image(Consumer<Image.Builder> image)
The input image as bytes or an S3 object.
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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.DetectModerationLabelsRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.