Interface DetectLabelsImageProperties.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DetectLabelsImageProperties.Builder,DetectLabelsImageProperties>,SdkBuilder<DetectLabelsImageProperties.Builder,DetectLabelsImageProperties>,SdkPojo
- Enclosing class:
- DetectLabelsImageProperties
public static interface DetectLabelsImageProperties.Builder extends SdkPojo, CopyableBuilder<DetectLabelsImageProperties.Builder,DetectLabelsImageProperties>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DetectLabelsImageProperties.Builderbackground(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.DetectLabelsImageProperties.Builderbackground(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.DetectLabelsImageProperties.BuilderdominantColors(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).DetectLabelsImageProperties.BuilderdominantColors(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).DetectLabelsImageProperties.BuilderdominantColors(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).default DetectLabelsImageProperties.Builderforeground(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.DetectLabelsImageProperties.Builderforeground(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.default DetectLabelsImageProperties.Builderquality(Consumer<DetectLabelsImageQuality.Builder> quality)Information about the quality of the image foreground as defined by brightness, sharpness, and contrast.DetectLabelsImageProperties.Builderquality(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, sdkFields
-
-
-
-
Method Detail
-
quality
DetectLabelsImageProperties.Builder quality(DetectLabelsImageQuality 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.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
DetectLabelsImageProperties.Builder 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).
- 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(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).
- 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.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)
-
foreground
DetectLabelsImageProperties.Builder 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.
- 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.Builderavoiding the need to create one manually viaDetectLabelsImageForeground.builder().When the
Consumercompletes,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:
foreground(DetectLabelsImageForeground)
-
background
DetectLabelsImageProperties.Builder 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.
- 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.Builderavoiding the need to create one manually viaDetectLabelsImageBackground.builder().When the
Consumercompletes,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:
background(DetectLabelsImageBackground)
-
-