Interface DetectLabelsImageBackground.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DetectLabelsImageBackground.Builder,
,DetectLabelsImageBackground> SdkBuilder<DetectLabelsImageBackground.Builder,
,DetectLabelsImageBackground> SdkPojo
- Enclosing class:
DetectLabelsImageBackground
-
Method Summary
Modifier and TypeMethodDescriptiondominantColors
(Collection<DominantColor> dominantColors) The dominant colors found in the background of an image, defined with RGB values, CSS color name, simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).dominantColors
(Consumer<DominantColor.Builder>... dominantColors) The dominant colors found in the background of an image, defined with RGB values, CSS color name, simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).dominantColors
(DominantColor... dominantColors) The dominant colors found in the background of an image, defined with RGB values, CSS color name, simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).quality
(Consumer<DetectLabelsImageQuality.Builder> quality) The quality of the image background as defined by brightness and sharpness.quality
(DetectLabelsImageQuality quality) The quality of the image background as defined by brightness and sharpness.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
quality
The quality of the image background as defined by brightness and sharpness.
- Parameters:
quality
- The quality of the image background as defined by brightness and sharpness.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quality
default DetectLabelsImageBackground.Builder quality(Consumer<DetectLabelsImageQuality.Builder> quality) The quality of the image background as defined by brightness and sharpness.
This is a convenience method that creates an instance of theDetectLabelsImageQuality.Builder
avoiding the need to create one manually viaDetectLabelsImageQuality.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toquality(DetectLabelsImageQuality)
.- Parameters:
quality
- a consumer that will call methods onDetectLabelsImageQuality.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dominantColors
The dominant colors found in the background of an image, defined with RGB values, CSS color name, simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).
- Parameters:
dominantColors
- The dominant colors found in the background of an image, defined with RGB values, CSS color name, simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dominantColors
The dominant colors found in the background of an image, defined with RGB values, CSS color name, simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).
- Parameters:
dominantColors
- The dominant colors found in the background of an image, defined with RGB values, CSS color name, simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dominantColors
DetectLabelsImageBackground.Builder dominantColors(Consumer<DominantColor.Builder>... dominantColors) The dominant colors found in the background of an image, defined with RGB values, CSS color name, simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).
This is a convenience method that creates an instance of theDominantColor.Builder
avoiding the need to create one manually viaDominantColor.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todominantColors(List<DominantColor>)
.- Parameters:
dominantColors
- a consumer that will call methods onDominantColor.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-