CopyableBuilder<DetectModerationLabelsRequest.Builder,DetectModerationLabelsRequest>
, SdkBuilder<DetectModerationLabelsRequest.Builder,DetectModerationLabelsRequest>
public static interface DetectModerationLabelsRequest.Builder extends CopyableBuilder<DetectModerationLabelsRequest.Builder,DetectModerationLabelsRequest>
Modifier and Type | Method | Description |
---|---|---|
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.
|
copy
apply, build
DetectModerationLabelsRequest.Builder image(Image image)
The input image as bytes or an S3 object.
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. 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.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.