public class GetFaceSearchResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
GetFaceSearchResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getJobStatus()
The current status of the face search job.
|
java.lang.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.
|
java.util.List<PersonMatch> |
getPersons()
An array of persons, PersonMatch, in the video whose face(s) match
the face(s) in an Amazon Rekognition collection.
|
java.lang.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(java.lang.String jobStatus)
The current status of the face search job.
|
void |
setJobStatus(VideoJobStatus jobStatus)
The current status of the face search job.
|
void |
setNextToken(java.lang.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(java.util.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(java.lang.String statusMessage)
If the job fails,
StatusMessage provides a descriptive error
message. |
void |
setVideoMetadata(VideoMetadata videoMetadata)
Information about a video that Amazon Rekognition analyzed.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetFaceSearchResult |
withJobStatus(java.lang.String jobStatus)
The current status of the face search job.
|
GetFaceSearchResult |
withJobStatus(VideoJobStatus jobStatus)
The current status of the face search job.
|
GetFaceSearchResult |
withNextToken(java.lang.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(java.util.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(java.lang.String statusMessage)
If the job fails,
StatusMessage provides a descriptive error
message. |
GetFaceSearchResult |
withVideoMetadata(VideoMetadata videoMetadata)
Information about a video that Amazon Rekognition analyzed.
|
public java.lang.String getJobStatus()
The current status of the face search job.
Constraints:
Allowed Values: IN_PROGRESS, SUCCEEDED, FAILED
The current status of the face search job.
VideoJobStatus
public void setJobStatus(java.lang.String jobStatus)
The current status of the face search job.
Constraints:
Allowed Values: IN_PROGRESS, SUCCEEDED, FAILED
jobStatus
- The current status of the face search job.
VideoJobStatus
public GetFaceSearchResult withJobStatus(java.lang.String jobStatus)
The current status of the face search job.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: IN_PROGRESS, SUCCEEDED, FAILED
jobStatus
- The current status of the face search job.
VideoJobStatus
public void setJobStatus(VideoJobStatus jobStatus)
The current status of the face search job.
Constraints:
Allowed Values: IN_PROGRESS, SUCCEEDED, FAILED
jobStatus
- The current status of the face search job.
VideoJobStatus
public GetFaceSearchResult withJobStatus(VideoJobStatus jobStatus)
The current status of the face search job.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: IN_PROGRESS, SUCCEEDED, FAILED
jobStatus
- The current status of the face search job.
VideoJobStatus
public java.lang.String getStatusMessage()
If the job fails, StatusMessage
provides a descriptive error
message.
If the job fails, StatusMessage
provides a
descriptive error message.
public void setStatusMessage(java.lang.String statusMessage)
If the job fails, StatusMessage
provides a descriptive error
message.
statusMessage
-
If the job fails, StatusMessage
provides a
descriptive error message.
public GetFaceSearchResult withStatusMessage(java.lang.String statusMessage)
If the job fails, StatusMessage
provides a descriptive error
message.
Returns a reference to this object so that method calls can be chained together.
statusMessage
-
If the job fails, StatusMessage
provides a
descriptive error message.
public java.lang.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.
Constraints:
Length: - 255
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 setNextToken(java.lang.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.
Constraints:
Length: - 255
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 GetFaceSearchResult withNextToken(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 255
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 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.
Information about a video that Amazon Rekognition analyzed.
Videometadata
is returned in every page of paginated
responses from a Amazon Rekognition Video operation.
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 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.
Returns a reference to this object so that method calls can be chained together.
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 java.util.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.
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 void setPersons(java.util.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.
Returns a reference to this object so that method calls can be chained together.
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(java.util.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.
Returns a reference to this object so that method calls can be chained together.
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 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.