@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UnsuccessfulFaceDeletion extends Object implements Serializable, Cloneable, StructuredPojo
Contains metadata like FaceId, UserID, and Reasons, for a face that was unsuccessfully deleted.
| Constructor and Description |
|---|
UnsuccessfulFaceDeletion() |
| Modifier and Type | Method and Description |
|---|---|
UnsuccessfulFaceDeletion |
clone() |
boolean |
equals(Object obj) |
String |
getFaceId()
A unique identifier assigned to the face.
|
List<String> |
getReasons()
The reason why the deletion was unsuccessful.
|
String |
getUserId()
A provided ID for the UserID.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setFaceId(String faceId)
A unique identifier assigned to the face.
|
void |
setReasons(Collection<String> reasons)
The reason why the deletion was unsuccessful.
|
void |
setUserId(String userId)
A provided ID for the UserID.
|
String |
toString()
Returns a string representation of this object.
|
UnsuccessfulFaceDeletion |
withFaceId(String faceId)
A unique identifier assigned to the face.
|
UnsuccessfulFaceDeletion |
withReasons(Collection<String> reasons)
The reason why the deletion was unsuccessful.
|
UnsuccessfulFaceDeletion |
withReasons(String... reasons)
The reason why the deletion was unsuccessful.
|
UnsuccessfulFaceDeletion |
withReasons(UnsuccessfulFaceDeletionReason... reasons)
The reason why the deletion was unsuccessful.
|
UnsuccessfulFaceDeletion |
withUserId(String userId)
A provided ID for the UserID.
|
public void setFaceId(String faceId)
A unique identifier assigned to the face.
faceId - A unique identifier assigned to the face.public String getFaceId()
A unique identifier assigned to the face.
public UnsuccessfulFaceDeletion withFaceId(String faceId)
A unique identifier assigned to the face.
faceId - A unique identifier assigned to the face.public void setUserId(String userId)
A provided ID for the UserID. Unique within the collection.
userId - A provided ID for the UserID. Unique within the collection.public String getUserId()
A provided ID for the UserID. Unique within the collection.
public UnsuccessfulFaceDeletion withUserId(String userId)
A provided ID for the UserID. Unique within the collection.
userId - A provided ID for the UserID. Unique within the collection.public List<String> getReasons()
The reason why the deletion was unsuccessful.
UnsuccessfulFaceDeletionReasonpublic void setReasons(Collection<String> reasons)
The reason why the deletion was unsuccessful.
reasons - The reason why the deletion was unsuccessful.UnsuccessfulFaceDeletionReasonpublic UnsuccessfulFaceDeletion withReasons(String... reasons)
The reason why the deletion was unsuccessful.
NOTE: This method appends the values to the existing list (if any). Use
setReasons(java.util.Collection) or withReasons(java.util.Collection) if you want to override
the existing values.
reasons - The reason why the deletion was unsuccessful.UnsuccessfulFaceDeletionReasonpublic UnsuccessfulFaceDeletion withReasons(Collection<String> reasons)
The reason why the deletion was unsuccessful.
reasons - The reason why the deletion was unsuccessful.UnsuccessfulFaceDeletionReasonpublic UnsuccessfulFaceDeletion withReasons(UnsuccessfulFaceDeletionReason... reasons)
The reason why the deletion was unsuccessful.
reasons - The reason why the deletion was unsuccessful.UnsuccessfulFaceDeletionReasonpublic String toString()
toString in class ObjectObject.toString()public UnsuccessfulFaceDeletion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.