CopyableBuilder<DetectLabelsRequest.Builder,DetectLabelsRequest>
, SdkBuilder<DetectLabelsRequest.Builder,DetectLabelsRequest>
public static interface DetectLabelsRequest.Builder extends CopyableBuilder<DetectLabelsRequest.Builder,DetectLabelsRequest>
Modifier and Type | Method | Description |
---|---|---|
DetectLabelsRequest.Builder |
image(Image image) |
The input image.
|
DetectLabelsRequest.Builder |
maxLabels(Integer maxLabels) |
Maximum number of labels you want the service to return in the response.
|
DetectLabelsRequest.Builder |
minConfidence(Float minConfidence) |
Specifies the minimum confidence level for the labels to return.
|
copy
apply, build
DetectLabelsRequest.Builder image(Image image)
The input image. You can provide a blob of image bytes or an S3 object.
image
- The input image. You can provide a blob of image bytes or an S3 object.DetectLabelsRequest.Builder maxLabels(Integer maxLabels)
Maximum number of labels you want the service to return in the response. The service returns the specified number of highest confidence labels.
maxLabels
- Maximum number of labels you want the service to return in the response. The service returns the
specified number of highest confidence labels.DetectLabelsRequest.Builder minConfidence(Float minConfidence)
Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any labels with confidence lower than this specified value.
If MinConfidence
is not specified, the operation returns labels with a 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 confidence lower than this specified value.
If MinConfidence
is not specified, the operation returns labels with a confidence values
greater than or equal to 50 percent.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.