@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.
ContentClassifier
public 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.ContentClassifier
public 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.ContentClassifier
public 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.ContentClassifier
public 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.ContentClassifier
public String toString()
toString
in class Object
Object.toString()
public HumanLoopDataAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.