public static interface DetectCustomLabelsRequest.Builder extends RekognitionRequest.Builder, SdkPojo, CopyableBuilder<DetectCustomLabelsRequest.Builder,DetectCustomLabelsRequest>
| Modifier and Type | Method and Description |
|---|---|
default DetectCustomLabelsRequest.Builder |
image(Consumer<Image.Builder> image)
Sets the value of the Image property for this object.
|
DetectCustomLabelsRequest.Builder |
image(Image image)
Sets the value of the Image property for this object.
|
DetectCustomLabelsRequest.Builder |
maxResults(Integer maxResults)
Maximum number of results you want the service to return in the response.
|
DetectCustomLabelsRequest.Builder |
minConfidence(Float minConfidence)
Specifies the minimum confidence level for the labels to return.
|
DetectCustomLabelsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
DetectCustomLabelsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
DetectCustomLabelsRequest.Builder |
projectVersionArn(String projectVersionArn)
The ARN of the model version that you want to use.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildDetectCustomLabelsRequest.Builder projectVersionArn(String projectVersionArn)
The ARN of the model version that you want to use.
projectVersionArn - The ARN of the model version that you want to use.DetectCustomLabelsRequest.Builder image(Image image)
image - The new value for the Image property for this object.default DetectCustomLabelsRequest.Builder image(Consumer<Image.Builder> image)
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)DetectCustomLabelsRequest.Builder maxResults(Integer maxResults)
Maximum number of results you want the service to return in the response. The service returns the specified number of highest confidence labels ranked from highest confidence to lowest.
maxResults - Maximum number of results you want the service to return in the response. The service returns the
specified number of highest confidence labels ranked from highest confidence to lowest.DetectCustomLabelsRequest.Builder minConfidence(Float minConfidence)
Specifies the minimum confidence level for the labels to return. DetectCustomLabels doesn't
return any labels with a confidence value that's lower than this specified value. If you specify a value of
0, DetectCustomLabels returns all labels, regardless of the assumed threshold applied to each
label. If you don't specify a value for MinConfidence, DetectCustomLabels returns
labels based on the assumed threshold of each label.
minConfidence - Specifies the minimum confidence level for the labels to return. DetectCustomLabels
doesn't return any labels with a confidence value that's lower than this specified value. If you
specify a value of 0, DetectCustomLabels returns all labels, regardless of the assumed
threshold applied to each label. If you don't specify a value for MinConfidence,
DetectCustomLabels returns labels based on the assumed threshold of each label.DetectCustomLabelsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderDetectCustomLabelsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.