public class HumanLoopDataAttributes
extends java.lang.Object
implements java.io.Serializable
Allows you to set attributes of the image. Currently, you can declare an image as free of personally identifiable information and adult content.
| Constructor and Description |
|---|
HumanLoopDataAttributes() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getContentClassifiers()
Sets whether the input image is free of personally identifiable
information or adult content.
|
int |
hashCode() |
void |
setContentClassifiers(java.util.Collection<java.lang.String> contentClassifiers)
Sets whether the input image is free of personally identifiable
information or adult content.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
HumanLoopDataAttributes |
withContentClassifiers(java.util.Collection<java.lang.String> contentClassifiers)
Sets whether the input image is free of personally identifiable
information or adult content.
|
HumanLoopDataAttributes |
withContentClassifiers(java.lang.String... contentClassifiers)
Sets whether the input image is free of personally identifiable
information or adult content.
|
public java.util.List<java.lang.String> getContentClassifiers()
Sets whether the input image is free of personally identifiable information or adult content.
Sets whether the input image is free of personally identifiable information or adult content.
public void setContentClassifiers(java.util.Collection<java.lang.String> contentClassifiers)
Sets whether the input image is free of personally identifiable information or adult content.
contentClassifiers - Sets whether the input image is free of personally identifiable information or adult content.
public HumanLoopDataAttributes withContentClassifiers(java.lang.String... contentClassifiers)
Sets whether the input image is free of personally identifiable information or adult content.
Returns a reference to this object so that method calls can be chained together.
contentClassifiers - Sets whether the input image is free of personally identifiable information or adult content.
public HumanLoopDataAttributes withContentClassifiers(java.util.Collection<java.lang.String> contentClassifiers)
Sets whether the input image is free of personally identifiable information or adult content.
Returns a reference to this object so that method calls can be chained together.
contentClassifiers - Sets whether the input image is free of personally identifiable information or adult content.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.