public class ListFacesResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ListFacesResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getFaceModelVersion()
Version number of the face detection model associated with the input
collection (
CollectionId ). |
java.util.List<Face> |
getFaces()
An array of
Face objects. |
java.lang.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(java.lang.String faceModelVersion)
Version number of the face detection model associated with the input
collection (
CollectionId ). |
void |
setFaces(java.util.Collection<Face> faces)
An array of
Face objects. |
void |
setNextToken(java.lang.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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListFacesResult |
withFaceModelVersion(java.lang.String faceModelVersion)
Version number of the face detection model associated with the input
collection (
CollectionId ). |
ListFacesResult |
withFaces(java.util.Collection<Face> faces)
An array of
Face objects. |
ListFacesResult |
withFaces(Face... faces)
An array of
Face objects. |
ListFacesResult |
withNextToken(java.lang.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.
|
public java.util.List<Face> getFaces()
An array of Face
objects.
An array of Face
objects.
public void setFaces(java.util.Collection<Face> faces)
An array of Face
objects.
faces
-
An array of Face
objects.
public ListFacesResult withFaces(Face... faces)
An array of Face
objects.
Returns a reference to this object so that method calls can be chained together.
faces
-
An array of Face
objects.
public ListFacesResult withFaces(java.util.Collection<Face> faces)
An array of Face
objects.
Returns a reference to this object so that method calls can be chained together.
faces
-
An array of Face
objects.
public java.lang.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.
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 setNextToken(java.lang.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 ListFacesResult withNextToken(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
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 java.lang.String getFaceModelVersion()
Version number of the face detection model associated with the input
collection (CollectionId
).
Version number of the face detection model associated with the
input collection (CollectionId
).
public void setFaceModelVersion(java.lang.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 ListFacesResult withFaceModelVersion(java.lang.String faceModelVersion)
Version number of the face detection model associated with the input
collection (CollectionId
).
Returns a reference to this object so that method calls can be chained together.
faceModelVersion
-
Version number of the face detection model associated with the
input collection (CollectionId
).
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.