@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetFaceSearchResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetFaceSearchResult() |
Modifier and Type | Method and Description |
---|---|
GetFaceSearchResult |
clone() |
boolean |
equals(Object obj) |
String |
getJobStatus()
The current status of the face search job.
|
String |
getNextToken()
If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent
request to retrieve the next set of search results.
|
List<PersonMatch> |
getPersons()
An array of persons, PersonMatch, in the video whose face(s) match the face(s) in an Amazon Rekognition
collection.
|
String |
getStatusMessage()
If the job fails,
StatusMessage provides a descriptive error message. |
VideoMetadata |
getVideoMetadata()
Information about a video that Amazon Rekognition analyzed.
|
int |
hashCode() |
void |
setJobStatus(String jobStatus)
The current status of the face search job.
|
void |
setNextToken(String nextToken)
If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent
request to retrieve the next set of search results.
|
void |
setPersons(Collection<PersonMatch> persons)
An array of persons, PersonMatch, in the video whose face(s) match the face(s) in an Amazon Rekognition
collection.
|
void |
setStatusMessage(String statusMessage)
If the job fails,
StatusMessage provides a descriptive error message. |
void |
setVideoMetadata(VideoMetadata videoMetadata)
Information about a video that Amazon Rekognition analyzed.
|
String |
toString()
Returns a string representation of this object.
|
GetFaceSearchResult |
withJobStatus(String jobStatus)
The current status of the face search job.
|
GetFaceSearchResult |
withJobStatus(VideoJobStatus jobStatus)
The current status of the face search job.
|
GetFaceSearchResult |
withNextToken(String nextToken)
If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent
request to retrieve the next set of search results.
|
GetFaceSearchResult |
withPersons(Collection<PersonMatch> persons)
An array of persons, PersonMatch, in the video whose face(s) match the face(s) in an Amazon Rekognition
collection.
|
GetFaceSearchResult |
withPersons(PersonMatch... persons)
An array of persons, PersonMatch, in the video whose face(s) match the face(s) in an Amazon Rekognition
collection.
|
GetFaceSearchResult |
withStatusMessage(String statusMessage)
If the job fails,
StatusMessage provides a descriptive error message. |
GetFaceSearchResult |
withVideoMetadata(VideoMetadata videoMetadata)
Information about a video that Amazon Rekognition analyzed.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setJobStatus(String jobStatus)
The current status of the face search job.
jobStatus
- The current status of the face search job.VideoJobStatus
public String getJobStatus()
The current status of the face search job.
VideoJobStatus
public GetFaceSearchResult withJobStatus(String jobStatus)
The current status of the face search job.
jobStatus
- The current status of the face search job.VideoJobStatus
public GetFaceSearchResult withJobStatus(VideoJobStatus jobStatus)
The current status of the face search job.
jobStatus
- The current status of the face search job.VideoJobStatus
public void setStatusMessage(String statusMessage)
If the job fails, StatusMessage
provides a descriptive error message.
statusMessage
- If the job fails, StatusMessage
provides a descriptive error message.public String getStatusMessage()
If the job fails, StatusMessage
provides a descriptive error message.
StatusMessage
provides a descriptive error message.public GetFaceSearchResult withStatusMessage(String statusMessage)
If the job fails, StatusMessage
provides a descriptive error message.
statusMessage
- If the job fails, StatusMessage
provides a descriptive error message.public void setNextToken(String nextToken)
If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of search results.
nextToken
- If the response is truncated, Amazon Rekognition Video returns this token that you can use in the
subsequent request to retrieve the next set of search results.public String getNextToken()
If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of search results.
public GetFaceSearchResult withNextToken(String nextToken)
If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of search results.
nextToken
- If the response is truncated, Amazon Rekognition Video returns this token that you can use in the
subsequent request to retrieve the next set of search results.public void setVideoMetadata(VideoMetadata videoMetadata)
Information about a video that Amazon Rekognition analyzed. Videometadata
is returned in every page
of paginated responses from a Amazon Rekognition Video operation.
videoMetadata
- Information about a video that Amazon Rekognition analyzed. Videometadata
is returned in
every page of paginated responses from a Amazon Rekognition Video operation.public VideoMetadata getVideoMetadata()
Information about a video that Amazon Rekognition analyzed. Videometadata
is returned in every page
of paginated responses from a Amazon Rekognition Video operation.
Videometadata
is returned in
every page of paginated responses from a Amazon Rekognition Video operation.public GetFaceSearchResult withVideoMetadata(VideoMetadata videoMetadata)
Information about a video that Amazon Rekognition analyzed. Videometadata
is returned in every page
of paginated responses from a Amazon Rekognition Video operation.
videoMetadata
- Information about a video that Amazon Rekognition analyzed. Videometadata
is returned in
every page of paginated responses from a Amazon Rekognition Video operation.public List<PersonMatch> getPersons()
An array of persons, PersonMatch, in the video whose face(s) match the face(s) in an Amazon Rekognition
collection. It also includes time information for when persons are matched in the video. You specify the input
collection in an initial call to StartFaceSearch
. Each Persons
element includes a time
the person was matched, face match details (FaceMatches
) for matching faces in the collection, and
person information (Person
) for the matched person.
StartFaceSearch
. Each
Persons
element includes a time the person was matched, face match details (
FaceMatches
) for matching faces in the collection, and person information (
Person
) for the matched person.public void setPersons(Collection<PersonMatch> persons)
An array of persons, PersonMatch, in the video whose face(s) match the face(s) in an Amazon Rekognition
collection. It also includes time information for when persons are matched in the video. You specify the input
collection in an initial call to StartFaceSearch
. Each Persons
element includes a time
the person was matched, face match details (FaceMatches
) for matching faces in the collection, and
person information (Person
) for the matched person.
persons
- An array of persons, PersonMatch, in the video whose face(s) match the face(s) in an Amazon
Rekognition collection. It also includes time information for when persons are matched in the video. You
specify the input collection in an initial call to StartFaceSearch
. Each Persons
element includes a time the person was matched, face match details (FaceMatches
) for matching
faces in the collection, and person information (Person
) for the matched person.public GetFaceSearchResult withPersons(PersonMatch... persons)
An array of persons, PersonMatch, in the video whose face(s) match the face(s) in an Amazon Rekognition
collection. It also includes time information for when persons are matched in the video. You specify the input
collection in an initial call to StartFaceSearch
. Each Persons
element includes a time
the person was matched, face match details (FaceMatches
) for matching faces in the collection, and
person information (Person
) for the matched person.
NOTE: This method appends the values to the existing list (if any). Use
setPersons(java.util.Collection)
or withPersons(java.util.Collection)
if you want to override
the existing values.
persons
- An array of persons, PersonMatch, in the video whose face(s) match the face(s) in an Amazon
Rekognition collection. It also includes time information for when persons are matched in the video. You
specify the input collection in an initial call to StartFaceSearch
. Each Persons
element includes a time the person was matched, face match details (FaceMatches
) for matching
faces in the collection, and person information (Person
) for the matched person.public GetFaceSearchResult withPersons(Collection<PersonMatch> persons)
An array of persons, PersonMatch, in the video whose face(s) match the face(s) in an Amazon Rekognition
collection. It also includes time information for when persons are matched in the video. You specify the input
collection in an initial call to StartFaceSearch
. Each Persons
element includes a time
the person was matched, face match details (FaceMatches
) for matching faces in the collection, and
person information (Person
) for the matched person.
persons
- An array of persons, PersonMatch, in the video whose face(s) match the face(s) in an Amazon
Rekognition collection. It also includes time information for when persons are matched in the video. You
specify the input collection in an initial call to StartFaceSearch
. Each Persons
element includes a time the person was matched, face match details (FaceMatches
) for matching
faces in the collection, and person information (Person
) for the matched person.public String toString()
toString
in class Object
Object.toString()
public GetFaceSearchResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.