@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetectCustomLabelsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
DetectCustomLabelsResult() |
| Modifier and Type | Method and Description |
|---|---|
DetectCustomLabelsResult |
clone() |
boolean |
equals(Object obj) |
List<CustomLabel> |
getCustomLabels()
An array of custom labels detected in the input image.
|
int |
hashCode() |
void |
setCustomLabels(Collection<CustomLabel> customLabels)
An array of custom labels detected in the input image.
|
String |
toString()
Returns a string representation of this object.
|
DetectCustomLabelsResult |
withCustomLabels(Collection<CustomLabel> customLabels)
An array of custom labels detected in the input image.
|
DetectCustomLabelsResult |
withCustomLabels(CustomLabel... customLabels)
An array of custom labels detected in the input image.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<CustomLabel> getCustomLabels()
An array of custom labels detected in the input image.
public void setCustomLabels(Collection<CustomLabel> customLabels)
An array of custom labels detected in the input image.
customLabels - An array of custom labels detected in the input image.public DetectCustomLabelsResult withCustomLabels(CustomLabel... customLabels)
An array of custom labels detected in the input image.
NOTE: This method appends the values to the existing list (if any). Use
setCustomLabels(java.util.Collection) or withCustomLabels(java.util.Collection) if you want to
override the existing values.
customLabels - An array of custom labels detected in the input image.public DetectCustomLabelsResult withCustomLabels(Collection<CustomLabel> customLabels)
An array of custom labels detected in the input image.
customLabels - An array of custom labels detected in the input image.public String toString()
toString in class ObjectObject.toString()public DetectCustomLabelsResult clone()