Interface DetectLabelsImageBackground.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DetectLabelsImageBackground.Builder,DetectLabelsImageBackground>,SdkBuilder<DetectLabelsImageBackground.Builder,DetectLabelsImageBackground>,SdkPojo
- Enclosing class:
- DetectLabelsImageBackground
public static interface DetectLabelsImageBackground.Builder extends SdkPojo, CopyableBuilder<DetectLabelsImageBackground.Builder,DetectLabelsImageBackground>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DetectLabelsImageBackground.BuilderdominantColors(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).DetectLabelsImageBackground.BuilderdominantColors(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).DetectLabelsImageBackground.BuilderdominantColors(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).default DetectLabelsImageBackground.Builderquality(Consumer<DetectLabelsImageQuality.Builder> quality)The quality of the image background as defined by brightness and sharpness.DetectLabelsImageBackground.Builderquality(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, sdkFields
-
-
-
-
Method Detail
-
quality
DetectLabelsImageBackground.Builder quality(DetectLabelsImageQuality 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.Builderavoiding the need to create one manually viaDetectLabelsImageQuality.builder().When the
Consumercompletes,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:
quality(DetectLabelsImageQuality)
-
dominantColors
DetectLabelsImageBackground.Builder dominantColors(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).
- 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(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).
- 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.Builderavoiding the need to create one manually viaDominantColor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#dominantColors(List.) - 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:
#dominantColors(java.util.Collection)
-
-