Interface DetectLabelsImageProperties.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DetectLabelsImageProperties.Builder,
,DetectLabelsImageProperties> SdkBuilder<DetectLabelsImageProperties.Builder,
,DetectLabelsImageProperties> SdkPojo
- Enclosing class:
DetectLabelsImageProperties
-
Method Summary
Modifier and TypeMethodDescriptionbackground
(Consumer<DetectLabelsImageBackground.Builder> background) Information about the properties of an image’s background, including the background’s quality and dominant colors, including the quality and dominant colors of the image.background
(DetectLabelsImageBackground background) Information about the properties of an image’s background, including the background’s quality and dominant colors, including the quality and dominant colors of the image.dominantColors
(Collection<DominantColor> dominantColors) Information about the dominant colors found in an image, described 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) Information about the dominant colors found in an image, described with RGB values, CSS color name, simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).dominantColors
(DominantColor... dominantColors) Information about the dominant colors found in an image, described with RGB values, CSS color name, simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).foreground
(Consumer<DetectLabelsImageForeground.Builder> foreground) Information about the properties of an image’s foreground, including the foreground’s quality and dominant colors, including the quality and dominant colors of the image.foreground
(DetectLabelsImageForeground foreground) Information about the properties of an image’s foreground, including the foreground’s quality and dominant colors, including the quality and dominant colors of the image.quality
(Consumer<DetectLabelsImageQuality.Builder> quality) Information about the quality of the image foreground as defined by brightness, sharpness, and contrast.quality
(DetectLabelsImageQuality quality) Information about the quality of the image foreground as defined by brightness, sharpness, and contrast.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
Information about the quality of the image foreground as defined by brightness, sharpness, and contrast. The higher the value the greater the brightness, sharpness, and contrast respectively.
- Parameters:
quality
- Information about the quality of the image foreground as defined by brightness, sharpness, and contrast. The higher the value the greater the brightness, sharpness, and contrast respectively.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quality
default DetectLabelsImageProperties.Builder quality(Consumer<DetectLabelsImageQuality.Builder> quality) Information about the quality of the image foreground as defined by brightness, sharpness, and contrast. The higher the value the greater the brightness, sharpness, and contrast respectively.
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
Information about the dominant colors found in an image, described with RGB values, CSS color name, simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).
- Parameters:
dominantColors
- Information about the dominant colors found in an image, described 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
Information about the dominant colors found in an image, described with RGB values, CSS color name, simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).
- Parameters:
dominantColors
- Information about the dominant colors found in an image, described 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
DetectLabelsImageProperties.Builder dominantColors(Consumer<DominantColor.Builder>... dominantColors) Information about the dominant colors found in an image, described 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:
-
foreground
Information about the properties of an image’s foreground, including the foreground’s quality and dominant colors, including the quality and dominant colors of the image.
- Parameters:
foreground
- Information about the properties of an image’s foreground, including the foreground’s quality and dominant colors, including the quality and dominant colors of the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
foreground
default DetectLabelsImageProperties.Builder foreground(Consumer<DetectLabelsImageForeground.Builder> foreground) Information about the properties of an image’s foreground, including the foreground’s quality and dominant colors, including the quality and dominant colors of the image.
This is a convenience method that creates an instance of theDetectLabelsImageForeground.Builder
avoiding the need to create one manually viaDetectLabelsImageForeground.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toforeground(DetectLabelsImageForeground)
.- Parameters:
foreground
- a consumer that will call methods onDetectLabelsImageForeground.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
background
Information about the properties of an image’s background, including the background’s quality and dominant colors, including the quality and dominant colors of the image.
- Parameters:
background
- Information about the properties of an image’s background, including the background’s quality and dominant colors, including the quality and dominant colors of the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
background
default DetectLabelsImageProperties.Builder background(Consumer<DetectLabelsImageBackground.Builder> background) Information about the properties of an image’s background, including the background’s quality and dominant colors, including the quality and dominant colors of the image.
This is a convenience method that creates an instance of theDetectLabelsImageBackground.Builder
avoiding the need to create one manually viaDetectLabelsImageBackground.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobackground(DetectLabelsImageBackground)
.- Parameters:
background
- a consumer that will call methods onDetectLabelsImageBackground.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-