@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) |
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 |
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; useful for testing and debugging.
|
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 String toString()
toString in class ObjectObject.toString()public ListFacesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.