public static interface DetectLabelsImageForeground.Builder extends SdkPojo, CopyableBuilder<DetectLabelsImageForeground.Builder,DetectLabelsImageForeground>
| Modifier and Type | Method and Description |
|---|---|
DetectLabelsImageForeground.Builder |
dominantColors(Collection<DominantColor> dominantColors)
The dominant colors found in the foreground 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).
|
DetectLabelsImageForeground.Builder |
dominantColors(Consumer<DominantColor.Builder>... dominantColors)
The dominant colors found in the foreground 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).
|
DetectLabelsImageForeground.Builder |
dominantColors(DominantColor... dominantColors)
The dominant colors found in the foreground 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 DetectLabelsImageForeground.Builder |
quality(Consumer<DetectLabelsImageQuality.Builder> quality)
The quality of the image foreground as defined by brightness and sharpness.
|
DetectLabelsImageForeground.Builder |
quality(DetectLabelsImageQuality quality)
The quality of the image foreground as defined by brightness and sharpness.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDetectLabelsImageForeground.Builder quality(DetectLabelsImageQuality quality)
The quality of the image foreground as defined by brightness and sharpness.
quality - The quality of the image foreground as defined by brightness and sharpness.default DetectLabelsImageForeground.Builder quality(Consumer<DetectLabelsImageQuality.Builder> quality)
The quality of the image foreground 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 via DetectLabelsImageQuality.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to quality(DetectLabelsImageQuality).
quality - a consumer that will call methods on DetectLabelsImageQuality.Builderquality(DetectLabelsImageQuality)DetectLabelsImageForeground.Builder dominantColors(Collection<DominantColor> dominantColors)
The dominant colors found in the foreground 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 - The dominant colors found in the foreground 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).DetectLabelsImageForeground.Builder dominantColors(DominantColor... dominantColors)
The dominant colors found in the foreground 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 - The dominant colors found in the foreground 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).DetectLabelsImageForeground.Builder dominantColors(Consumer<DominantColor.Builder>... dominantColors)
The dominant colors found in the foreground 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 via DominantColor.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #dominantColors(List.
dominantColors - a consumer that will call methods on
DominantColor.Builder#dominantColors(java.util.Collection) Copyright © 2023. All rights reserved.