@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetectLabelsImageBackground extends Object implements Serializable, Cloneable, StructuredPojo
The background of the image with regard to image quality and dominant colors.
Constructor and Description |
---|
DetectLabelsImageBackground() |
Modifier and Type | Method and Description |
---|---|
DetectLabelsImageBackground |
clone() |
boolean |
equals(Object obj) |
List<DominantColor> |
getDominantColors()
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).
|
DetectLabelsImageQuality |
getQuality()
The quality of the image background as defined by brightness and sharpness.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDominantColors(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).
|
void |
setQuality(DetectLabelsImageQuality quality)
The quality of the image background as defined by brightness and sharpness.
|
String |
toString()
Returns a string representation of this object.
|
DetectLabelsImageBackground |
withDominantColors(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 |
withDominantColors(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 |
withQuality(DetectLabelsImageQuality quality)
The quality of the image background as defined by brightness and sharpness.
|
public void setQuality(DetectLabelsImageQuality quality)
The quality of the image background as defined by brightness and sharpness.
quality
- The quality of the image background as defined by brightness and sharpness.public DetectLabelsImageQuality getQuality()
The quality of the image background as defined by brightness and sharpness.
public DetectLabelsImageBackground withQuality(DetectLabelsImageQuality quality)
The quality of the image background as defined by brightness and sharpness.
quality
- The quality of the image background as defined by brightness and sharpness.public List<DominantColor> getDominantColors()
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).
public void setDominantColors(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
- 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).public DetectLabelsImageBackground withDominantColors(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).
NOTE: This method appends the values to the existing list (if any). Use
setDominantColors(java.util.Collection)
or withDominantColors(java.util.Collection)
if you want
to override the existing values.
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).public DetectLabelsImageBackground withDominantColors(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
- 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).public String toString()
toString
in class Object
Object.toString()
public DetectLabelsImageBackground clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.