Interface DetectCustomLabelsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DetectCustomLabelsResponse.Builder,DetectCustomLabelsResponse>,RekognitionResponse.Builder,SdkBuilder<DetectCustomLabelsResponse.Builder,DetectCustomLabelsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DetectCustomLabelsResponse
public static interface DetectCustomLabelsResponse.Builder extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<DetectCustomLabelsResponse.Builder,DetectCustomLabelsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DetectCustomLabelsResponse.BuildercustomLabels(Collection<CustomLabel> customLabels)An array of custom labels detected in the input image.DetectCustomLabelsResponse.BuildercustomLabels(Consumer<CustomLabel.Builder>... customLabels)An array of custom labels detected in the input image.DetectCustomLabelsResponse.BuildercustomLabels(CustomLabel... customLabels)An array of custom labels detected in the input image.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.rekognition.model.RekognitionResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
customLabels
DetectCustomLabelsResponse.Builder customLabels(Collection<CustomLabel> customLabels)
An array of custom labels detected in the input image.
- Parameters:
customLabels- An array of custom labels detected in the input image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customLabels
DetectCustomLabelsResponse.Builder customLabels(CustomLabel... customLabels)
An array of custom labels detected in the input image.
- Parameters:
customLabels- An array of custom labels detected in the input image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customLabels
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.Builderavoiding the need to create one manually viaCustomLabel.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#customLabels(List.) - Parameters:
customLabels- a consumer that will call methods onCustomLabel.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#customLabels(java.util.Collection)
-
-