@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UnsuccessfulFaceDisassociation extends Object implements Serializable, Cloneable, StructuredPojo
Contains metadata like FaceId, UserID, and Reasons, for a face that was unsuccessfully disassociated.
Constructor and Description |
---|
UnsuccessfulFaceDisassociation() |
Modifier and Type | Method and Description |
---|---|
UnsuccessfulFaceDisassociation |
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.
|
UnsuccessfulFaceDisassociation |
withFaceId(String faceId)
A unique identifier assigned to the face.
|
UnsuccessfulFaceDisassociation |
withReasons(Collection<String> reasons)
The reason why the deletion was unsuccessful.
|
UnsuccessfulFaceDisassociation |
withReasons(String... reasons)
The reason why the deletion was unsuccessful.
|
UnsuccessfulFaceDisassociation |
withReasons(UnsuccessfulFaceDisassociationReason... reasons)
The reason why the deletion was unsuccessful.
|
UnsuccessfulFaceDisassociation |
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 UnsuccessfulFaceDisassociation 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 UnsuccessfulFaceDisassociation 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.
UnsuccessfulFaceDisassociationReason
public void setReasons(Collection<String> reasons)
The reason why the deletion was unsuccessful.
reasons
- The reason why the deletion was unsuccessful.UnsuccessfulFaceDisassociationReason
public UnsuccessfulFaceDisassociation 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.UnsuccessfulFaceDisassociationReason
public UnsuccessfulFaceDisassociation withReasons(Collection<String> reasons)
The reason why the deletion was unsuccessful.
reasons
- The reason why the deletion was unsuccessful.UnsuccessfulFaceDisassociationReason
public UnsuccessfulFaceDisassociation withReasons(UnsuccessfulFaceDisassociationReason... reasons)
The reason why the deletion was unsuccessful.
reasons
- The reason why the deletion was unsuccessful.UnsuccessfulFaceDisassociationReason
public String toString()
toString
in class Object
Object.toString()
public UnsuccessfulFaceDisassociation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.