@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPersonTrackingResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetPersonTrackingResult() |
Modifier and Type | Method and Description |
---|---|
GetPersonTrackingResult |
clone() |
boolean |
equals(Object obj) |
String |
getJobStatus()
The current status of the person tracking 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 persons.
|
List<PersonDetection> |
getPersons()
An array of the persons detected in the video and the time(s) their path was tracked throughout the video.
|
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(String jobStatus)
The current status of the person tracking 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 persons.
|
void |
setPersons(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(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.
|
String |
toString()
Returns a string representation of this object.
|
GetPersonTrackingResult |
withJobStatus(String jobStatus)
The current status of the person tracking job.
|
GetPersonTrackingResult |
withJobStatus(VideoJobStatus jobStatus)
The current status of the person tracking job.
|
GetPersonTrackingResult |
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 persons.
|
GetPersonTrackingResult |
withPersons(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(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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setJobStatus(String jobStatus)
The current status of the person tracking job.
jobStatus
- The current status of the person tracking job.VideoJobStatus
public String getJobStatus()
The current status of the person tracking job.
VideoJobStatus
public GetPersonTrackingResult withJobStatus(String jobStatus)
The current status of the person tracking job.
jobStatus
- The current status of the person tracking job.VideoJobStatus
public GetPersonTrackingResult withJobStatus(VideoJobStatus jobStatus)
The current status of the person tracking job.
jobStatus
- The current status of the person tracking 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 GetPersonTrackingResult 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 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 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.
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.
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 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 persons.
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 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.
public GetPersonTrackingResult 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 persons.
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 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.
public void setPersons(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.
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 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(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 String toString()
toString
in class Object
Object.toString()
public GetPersonTrackingResult clone()