@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UnsearchedFace extends Object implements Serializable, Cloneable, StructuredPojo
Face details inferred from the image but not used for search. The response attribute contains reasons for why a face wasn't used for Search.
Constructor and Description |
---|
UnsearchedFace() |
Modifier and Type | Method and Description |
---|---|
UnsearchedFace |
clone() |
boolean |
equals(Object obj) |
FaceDetail |
getFaceDetails() |
List<String> |
getReasons()
Reasons why a face wasn't used for Search.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFaceDetails(FaceDetail faceDetails) |
void |
setReasons(Collection<String> reasons)
Reasons why a face wasn't used for Search.
|
String |
toString()
Returns a string representation of this object.
|
UnsearchedFace |
withFaceDetails(FaceDetail faceDetails) |
UnsearchedFace |
withReasons(Collection<String> reasons)
Reasons why a face wasn't used for Search.
|
UnsearchedFace |
withReasons(String... reasons)
Reasons why a face wasn't used for Search.
|
UnsearchedFace |
withReasons(UnsearchedFaceReason... reasons)
Reasons why a face wasn't used for Search.
|
public void setFaceDetails(FaceDetail faceDetails)
faceDetails
- public FaceDetail getFaceDetails()
public UnsearchedFace withFaceDetails(FaceDetail faceDetails)
faceDetails
- public List<String> getReasons()
Reasons why a face wasn't used for Search.
UnsearchedFaceReason
public void setReasons(Collection<String> reasons)
Reasons why a face wasn't used for Search.
reasons
- Reasons why a face wasn't used for Search.UnsearchedFaceReason
public UnsearchedFace withReasons(String... reasons)
Reasons why a face wasn't used for Search.
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
- Reasons why a face wasn't used for Search.UnsearchedFaceReason
public UnsearchedFace withReasons(Collection<String> reasons)
Reasons why a face wasn't used for Search.
reasons
- Reasons why a face wasn't used for Search.UnsearchedFaceReason
public UnsearchedFace withReasons(UnsearchedFaceReason... reasons)
Reasons why a face wasn't used for Search.
reasons
- Reasons why a face wasn't used for Search.UnsearchedFaceReason
public String toString()
toString
in class Object
Object.toString()
public UnsearchedFace clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.