public class GetPersonTrackingResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
GetPersonTrackingResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getJobStatus()
The current status of the person tracking 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
persons.
|
java.util.List<PersonDetection> |
getPersons()
An array of the persons detected in the video and the time(s) their path
was tracked throughout the video.
|
java.lang.String |
getStatusMessage()
If the job fails,
StatusMessage provides a descriptive error
message. |
VideoMetadata |
getVideoMetadata()
Information about a video that Amazon Rekognition Video analyzed.
|
int |
hashCode() |
void |
setJobStatus(java.lang.String jobStatus)
The current status of the person tracking job.
|
void |
setJobStatus(VideoJobStatus jobStatus)
The current status of the person tracking 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
persons.
|
void |
setPersons(java.util.Collection<PersonDetection> persons)
An array of the persons detected in the video and the time(s) their path
was tracked throughout the video.
|
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 Video analyzed.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetPersonTrackingResult |
withJobStatus(java.lang.String jobStatus)
The current status of the person tracking job.
|
GetPersonTrackingResult |
withJobStatus(VideoJobStatus jobStatus)
The current status of the person tracking job.
|
GetPersonTrackingResult |
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
persons.
|
GetPersonTrackingResult |
withPersons(java.util.Collection<PersonDetection> persons)
An array of the persons detected in the video and the time(s) their path
was tracked throughout the video.
|
GetPersonTrackingResult |
withPersons(PersonDetection... persons)
An array of the persons detected in the video and the time(s) their path
was tracked throughout the video.
|
GetPersonTrackingResult |
withStatusMessage(java.lang.String statusMessage)
If the job fails,
StatusMessage provides a descriptive error
message. |
GetPersonTrackingResult |
withVideoMetadata(VideoMetadata videoMetadata)
Information about a video that Amazon Rekognition Video analyzed.
|
public java.lang.String getJobStatus()
The current status of the person tracking job.
Constraints:
Allowed Values: IN_PROGRESS, SUCCEEDED, FAILED
The current status of the person tracking job.
VideoJobStatus
public void setJobStatus(java.lang.String jobStatus)
The current status of the person tracking job.
Constraints:
Allowed Values: IN_PROGRESS, SUCCEEDED, FAILED
jobStatus
- The current status of the person tracking job.
VideoJobStatus
public GetPersonTrackingResult withJobStatus(java.lang.String jobStatus)
The current status of the person tracking 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 person tracking job.
VideoJobStatus
public void setJobStatus(VideoJobStatus jobStatus)
The current status of the person tracking job.
Constraints:
Allowed Values: IN_PROGRESS, SUCCEEDED, FAILED
jobStatus
- The current status of the person tracking job.
VideoJobStatus
public GetPersonTrackingResult withJobStatus(VideoJobStatus jobStatus)
The current status of the person tracking 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 person tracking 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 GetPersonTrackingResult 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 VideoMetadata getVideoMetadata()
Information about a video that Amazon Rekognition Video analyzed.
Videometadata
is returned in every page of paginated
responses from a Amazon Rekognition Video operation.
Information about a video that Amazon Rekognition Video 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 Video analyzed.
Videometadata
is returned in every page of paginated
responses from a Amazon Rekognition Video operation.
videoMetadata
-
Information about a video that Amazon Rekognition Video
analyzed. Videometadata
is returned in every page
of paginated responses from a Amazon Rekognition Video
operation.
public GetPersonTrackingResult withVideoMetadata(VideoMetadata videoMetadata)
Information about a video that Amazon Rekognition Video 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 Video
analyzed. Videometadata
is returned in every page
of paginated responses from a Amazon Rekognition Video
operation.
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 persons.
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 persons.
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 persons.
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 persons.
public GetPersonTrackingResult 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 persons.
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 persons.
public java.util.List<PersonDetection> getPersons()
An array of the persons detected in the video and the time(s) their path was tracked throughout the video. An array element will exist for each time a person's path is tracked.
An array of the persons detected in the video and the time(s) their path was tracked throughout the video. An array element will exist for each time a person's path is tracked.
public void setPersons(java.util.Collection<PersonDetection> persons)
An array of the persons detected in the video and the time(s) their path was tracked throughout the video. An array element will exist for each time a person's path is tracked.
persons
- An array of the persons detected in the video and the time(s) their path was tracked throughout the video. An array element will exist for each time a person's path is tracked.
public GetPersonTrackingResult withPersons(PersonDetection... persons)
An array of the persons detected in the video and the time(s) their path was tracked throughout the video. An array element will exist for each time a person's path is tracked.
Returns a reference to this object so that method calls can be chained together.
persons
- An array of the persons detected in the video and the time(s) their path was tracked throughout the video. An array element will exist for each time a person's path is tracked.
public GetPersonTrackingResult withPersons(java.util.Collection<PersonDetection> persons)
An array of the persons detected in the video and the time(s) their path was tracked throughout the video. An array element will exist for each time a person's path is tracked.
Returns a reference to this object so that method calls can be chained together.
persons
- An array of the persons detected in the video and the time(s) their path was tracked throughout the video. An array element will exist for each time a person's path is tracked.
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.