public static interface DetectModerationLabelsRequest.Builder extends RekognitionRequest.Builder, SdkPojo, CopyableBuilder<DetectModerationLabelsRequest.Builder,DetectModerationLabelsRequest>
| Modifier and Type | Method and Description |
|---|---|
default DetectModerationLabelsRequest.Builder |
humanLoopConfig(Consumer<HumanLoopConfig.Builder> humanLoopConfig)
Sets up the configuration for human evaluation, including the FlowDefinition the image will be sent to.
|
DetectModerationLabelsRequest.Builder |
humanLoopConfig(HumanLoopConfig humanLoopConfig)
Sets up the configuration for human evaluation, including the FlowDefinition the image will be sent to.
|
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) |
DetectModerationLabelsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, 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.
If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes
passed using the Bytes field. For more information, see Images in the Amazon Rekognition
developer guide.
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.
If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image
bytes passed using the Bytes field. For more information, see Images in the Amazon
Rekognition developer guide.
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.
If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes
passed using the Bytes field. For more information, see Images in the Amazon Rekognition
developer guide.
Image.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 humanLoopConfig(HumanLoopConfig humanLoopConfig)
Sets up the configuration for human evaluation, including the FlowDefinition the image will be sent to.
humanLoopConfig - Sets up the configuration for human evaluation, including the FlowDefinition the image will be sent
to.default DetectModerationLabelsRequest.Builder humanLoopConfig(Consumer<HumanLoopConfig.Builder> humanLoopConfig)
Sets up the configuration for human evaluation, including the FlowDefinition the image will be sent to.
This is a convenience that creates an instance of theHumanLoopConfig.Builder avoiding the need to
create one manually via HumanLoopConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to humanLoopConfig(HumanLoopConfig).humanLoopConfig - a consumer that will call methods on HumanLoopConfig.BuilderhumanLoopConfig(HumanLoopConfig)DetectModerationLabelsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderDetectModerationLabelsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2020. All rights reserved.