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.Integer |
getBillableDurationSeconds()
Returns the value of the billableDurationSeconds property for this
object.
|
java.lang.String |
getErrorCode()
Returns the value of the errorCode property for this object.
|
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 times they are
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.
|
java.util.List<Warning> |
getWarnings()
Returns the value of the warnings property for this object.
|
int |
hashCode() |
void |
setBillableDurationSeconds(java.lang.Integer billableDurationSeconds)
Sets the value of billableDurationSeconds
|
void |
setErrorCode(java.lang.String errorCode)
Sets the value of errorCode
|
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 times they are
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.
|
void |
setWarnings(java.util.Collection<Warning> warnings)
Sets the value of warnings
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetPersonTrackingResult |
withBillableDurationSeconds(java.lang.Integer billableDurationSeconds)
Sets the value of the billableDurationSeconds property for this object.
|
GetPersonTrackingResult |
withErrorCode(java.lang.String errorCode)
Sets the value of the errorCode property for this object.
|
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 times they are
tracked throughout the video.
|
GetPersonTrackingResult |
withPersons(PersonDetection... persons)
An array of the persons detected in the video and the times they are
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.
|
GetPersonTrackingResult |
withWarnings(java.util.Collection<Warning> warnings)
Sets the value of the warnings property for this object.
|
GetPersonTrackingResult |
withWarnings(Warning... warnings)
Sets the value of the warnings property for this object.
|
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 times they are tracked throughout the video. An array element will exist for each time the person is tracked.
An array of the persons detected in the video and the times they are tracked throughout the video. An array element will exist for each time the person is tracked.
public void setPersons(java.util.Collection<PersonDetection> persons)
An array of the persons detected in the video and the times they are tracked throughout the video. An array element will exist for each time the person is tracked.
persons
- An array of the persons detected in the video and the times they are tracked throughout the video. An array element will exist for each time the person is tracked.
public GetPersonTrackingResult withPersons(PersonDetection... persons)
An array of the persons detected in the video and the times they are tracked throughout the video. An array element will exist for each time the person 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 times they are tracked throughout the video. An array element will exist for each time the person is tracked.
public GetPersonTrackingResult withPersons(java.util.Collection<PersonDetection> persons)
An array of the persons detected in the video and the times they are tracked throughout the video. An array element will exist for each time the person 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 times they are tracked throughout the video. An array element will exist for each time the person is tracked.
public java.lang.Integer getBillableDurationSeconds()
Constraints:
Range: 0 -
public void setBillableDurationSeconds(java.lang.Integer billableDurationSeconds)
Constraints:
Range: 0 -
billableDurationSeconds
- The new value for the
billableDurationSeconds property for this object.public GetPersonTrackingResult withBillableDurationSeconds(java.lang.Integer billableDurationSeconds)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
billableDurationSeconds
- The new value for the
billableDurationSeconds property for this object.public java.lang.String getErrorCode()
public void setErrorCode(java.lang.String errorCode)
errorCode
- The new value for the errorCode property for this
object.public GetPersonTrackingResult withErrorCode(java.lang.String errorCode)
Returns a reference to this object so that method calls can be chained together.
errorCode
- The new value for the errorCode property for this
object.public java.util.List<Warning> getWarnings()
public void setWarnings(java.util.Collection<Warning> warnings)
warnings
- The new value for the warnings property for this object.public GetPersonTrackingResult withWarnings(Warning... warnings)
Returns a reference to this object so that method calls can be chained together.
warnings
- The new value for the warnings property for this object.public GetPersonTrackingResult withWarnings(java.util.Collection<Warning> warnings)
Returns a reference to this object so that method calls can be chained together.
warnings
- The new value for the warnings property for this object.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.