public static interface DetectCustomLabelsResponse.Builder extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<DetectCustomLabelsResponse.Builder,DetectCustomLabelsResponse>
| Modifier and Type | Method and Description |
|---|---|
DetectCustomLabelsResponse.Builder |
customLabels(Collection<CustomLabel> customLabels)
An array of custom labels detected in the input image.
|
DetectCustomLabelsResponse.Builder |
customLabels(Consumer<CustomLabel.Builder>... customLabels)
An array of custom labels detected in the input image.
|
DetectCustomLabelsResponse.Builder |
customLabels(CustomLabel... customLabels)
An array of custom labels detected in the input image.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDetectCustomLabelsResponse.Builder customLabels(Collection<CustomLabel> customLabels)
An array of custom labels detected in the input image.
customLabels - An array of custom labels detected in the input image.DetectCustomLabelsResponse.Builder customLabels(CustomLabel... customLabels)
An array of custom labels detected in the input image.
customLabels - An array of custom labels detected in the input image.DetectCustomLabelsResponse.Builder customLabels(Consumer<CustomLabel.Builder>... customLabels)
An array of custom labels detected in the input image.
This is a convenience method that creates an instance of theCustomLabel.Builder avoiding the need to create one
manually via CustomLabel.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #customLabels(List.
customLabels - a consumer that will call methods on
CustomLabel.Builder#customLabels(java.util.Collection) Copyright © 2023. All rights reserved.