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
Modifier and TypeMethodDescriptioncustomLabels(Collection<CustomLabel> customLabels) An array of custom labels detected in the input image.customLabels(Consumer<CustomLabel.Builder>... customLabels) An array of custom labels detected in the input image.customLabels(CustomLabel... customLabels) An array of custom labels detected in the input image.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rekognition.model.RekognitionResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse 
- 
Method Details
- 
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
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
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 tocustomLabels(List<CustomLabel>).- 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:
 
 
 -