@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HumanLoopDataAttributes extends Object implements Serializable, Cloneable, StructuredPojo
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 |
|---|---|
HumanLoopDataAttributes |
clone() |
boolean |
equals(Object obj) |
List<String> |
getContentClassifiers()
Sets whether the input image is free of personally identifiable information or adult content.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setContentClassifiers(Collection<String> contentClassifiers)
Sets whether the input image is free of personally identifiable information or adult content.
|
String |
toString()
Returns a string representation of this object.
|
HumanLoopDataAttributes |
withContentClassifiers(Collection<String> contentClassifiers)
Sets whether the input image is free of personally identifiable information or adult content.
|
HumanLoopDataAttributes |
withContentClassifiers(ContentClassifier... contentClassifiers)
Sets whether the input image is free of personally identifiable information or adult content.
|
HumanLoopDataAttributes |
withContentClassifiers(String... contentClassifiers)
Sets whether the input image is free of personally identifiable information or adult content.
|
public List<String> getContentClassifiers()
Sets whether the input image is free of personally identifiable information or adult content.
ContentClassifierpublic void setContentClassifiers(Collection<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.ContentClassifierpublic HumanLoopDataAttributes withContentClassifiers(String... contentClassifiers)
Sets whether the input image is free of personally identifiable information or adult content.
NOTE: This method appends the values to the existing list (if any). Use
setContentClassifiers(java.util.Collection) or withContentClassifiers(java.util.Collection) if
you want to override the existing values.
contentClassifiers - Sets whether the input image is free of personally identifiable information or adult content.ContentClassifierpublic HumanLoopDataAttributes withContentClassifiers(Collection<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.ContentClassifierpublic HumanLoopDataAttributes withContentClassifiers(ContentClassifier... 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.ContentClassifierpublic String toString()
toString in class ObjectObject.toString()public HumanLoopDataAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.