@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetectLabelsImagePropertiesSettings extends Object implements Serializable, Cloneable, StructuredPojo
Settings for the IMAGE_PROPERTIES feature type.
Constructor and Description |
---|
DetectLabelsImagePropertiesSettings() |
Modifier and Type | Method and Description |
---|---|
DetectLabelsImagePropertiesSettings |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaxDominantColors()
The maximum number of dominant colors to return when detecting labels in an image.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMaxDominantColors(Integer maxDominantColors)
The maximum number of dominant colors to return when detecting labels in an image.
|
String |
toString()
Returns a string representation of this object.
|
DetectLabelsImagePropertiesSettings |
withMaxDominantColors(Integer maxDominantColors)
The maximum number of dominant colors to return when detecting labels in an image.
|
public void setMaxDominantColors(Integer maxDominantColors)
The maximum number of dominant colors to return when detecting labels in an image. The default value is 10.
maxDominantColors
- The maximum number of dominant colors to return when detecting labels in an image. The default value is
10.public Integer getMaxDominantColors()
The maximum number of dominant colors to return when detecting labels in an image. The default value is 10.
public DetectLabelsImagePropertiesSettings withMaxDominantColors(Integer maxDominantColors)
The maximum number of dominant colors to return when detecting labels in an image. The default value is 10.
maxDominantColors
- The maximum number of dominant colors to return when detecting labels in an image. The default value is
10.public String toString()
toString
in class Object
Object.toString()
public DetectLabelsImagePropertiesSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.