@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListFacesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListFacesResult() |
| Modifier and Type | Method and Description |
|---|---|
ListFacesResult |
clone() |
boolean |
equals(Object obj) |
String |
getFaceModelVersion()
Version number of the face detection model associated with the input collection (
CollectionId). |
List<Face> |
getFaces()
An array of
Face objects. |
String |
getNextToken()
If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to
retrieve the next set of faces.
|
int |
hashCode() |
void |
setFaceModelVersion(String faceModelVersion)
Version number of the face detection model associated with the input collection (
CollectionId). |
void |
setFaces(Collection<Face> faces)
An array of
Face objects. |
void |
setNextToken(String nextToken)
If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to
retrieve the next set of faces.
|
String |
toString()
Returns a string representation of this object.
|
ListFacesResult |
withFaceModelVersion(String faceModelVersion)
Version number of the face detection model associated with the input collection (
CollectionId). |
ListFacesResult |
withFaces(Collection<Face> faces)
An array of
Face objects. |
ListFacesResult |
withFaces(Face... faces)
An array of
Face objects. |
ListFacesResult |
withNextToken(String nextToken)
If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to
retrieve the next set of faces.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setFaces(Collection<Face> faces)
An array of Face objects.
faces - An array of Face objects.public ListFacesResult withFaces(Face... faces)
An array of Face objects.
NOTE: This method appends the values to the existing list (if any). Use
setFaces(java.util.Collection) or withFaces(java.util.Collection) if you want to override the
existing values.
faces - An array of Face objects.public ListFacesResult withFaces(Collection<Face> faces)
An array of Face objects.
faces - An array of Face objects.public void setNextToken(String nextToken)
If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to retrieve the next set of faces.
nextToken - If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent
request to retrieve the next set of faces.public String getNextToken()
If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to retrieve the next set of faces.
public ListFacesResult withNextToken(String nextToken)
If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to retrieve the next set of faces.
nextToken - If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent
request to retrieve the next set of faces.public void setFaceModelVersion(String faceModelVersion)
Version number of the face detection model associated with the input collection (CollectionId).
faceModelVersion - Version number of the face detection model associated with the input collection (CollectionId
).public String getFaceModelVersion()
Version number of the face detection model associated with the input collection (CollectionId).
CollectionId).public ListFacesResult withFaceModelVersion(String faceModelVersion)
Version number of the face detection model associated with the input collection (CollectionId).
faceModelVersion - Version number of the face detection model associated with the input collection (CollectionId
).public String toString()
toString in class ObjectObject.toString()public ListFacesResult clone()