@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetectLabelsSettings extends Object implements Serializable, Cloneable, StructuredPojo
Settings for the DetectLabels request. Settings can include filters for both GENERAL_LABELS and IMAGE_PROPERTIES. GENERAL_LABELS filters can be inclusive or exclusive and applied to individual labels or label categories. IMAGE_PROPERTIES filters allow specification of a maximum number of dominant colors.
Constructor and Description |
---|
DetectLabelsSettings() |
Modifier and Type | Method and Description |
---|---|
DetectLabelsSettings |
clone() |
boolean |
equals(Object obj) |
GeneralLabelsSettings |
getGeneralLabels()
Contains the specified filters for GENERAL_LABELS.
|
DetectLabelsImagePropertiesSettings |
getImageProperties()
Contains the chosen number of maximum dominant colors in an image.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGeneralLabels(GeneralLabelsSettings generalLabels)
Contains the specified filters for GENERAL_LABELS.
|
void |
setImageProperties(DetectLabelsImagePropertiesSettings imageProperties)
Contains the chosen number of maximum dominant colors in an image.
|
String |
toString()
Returns a string representation of this object.
|
DetectLabelsSettings |
withGeneralLabels(GeneralLabelsSettings generalLabels)
Contains the specified filters for GENERAL_LABELS.
|
DetectLabelsSettings |
withImageProperties(DetectLabelsImagePropertiesSettings imageProperties)
Contains the chosen number of maximum dominant colors in an image.
|
public void setGeneralLabels(GeneralLabelsSettings generalLabels)
Contains the specified filters for GENERAL_LABELS.
generalLabels
- Contains the specified filters for GENERAL_LABELS.public GeneralLabelsSettings getGeneralLabels()
Contains the specified filters for GENERAL_LABELS.
public DetectLabelsSettings withGeneralLabels(GeneralLabelsSettings generalLabels)
Contains the specified filters for GENERAL_LABELS.
generalLabels
- Contains the specified filters for GENERAL_LABELS.public void setImageProperties(DetectLabelsImagePropertiesSettings imageProperties)
Contains the chosen number of maximum dominant colors in an image.
imageProperties
- Contains the chosen number of maximum dominant colors in an image.public DetectLabelsImagePropertiesSettings getImageProperties()
Contains the chosen number of maximum dominant colors in an image.
public DetectLabelsSettings withImageProperties(DetectLabelsImagePropertiesSettings imageProperties)
Contains the chosen number of maximum dominant colors in an image.
imageProperties
- Contains the chosen number of maximum dominant colors in an image.public String toString()
toString
in class Object
Object.toString()
public DetectLabelsSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.