public class GetFaceDetectionResult extends Object implements Serializable
Constructor and Description |
---|
GetFaceDetectionResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Integer |
getBillableDurationSeconds()
Returns the value of the billableDurationSeconds property for this
object.
|
String |
getErrorCode()
Returns the value of the errorCode property for this object.
|
List<FaceDetection> |
getFaces()
An array of faces detected in the video.
|
String |
getJobStatus()
The current status of the face detection job.
|
String |
getNextToken()
If the response is truncated, Amazon Rekognition returns this token that
you can use in the subsequent request to retrieve the next set of faces.
|
String |
getStatusMessage()
If the job fails,
StatusMessage provides a descriptive error
message. |
VideoMetadata |
getVideoMetadata()
Information about a video that Amazon Rekognition Video analyzed.
|
List<Warning> |
getWarnings()
Returns the value of the warnings property for this object.
|
int |
hashCode() |
void |
setBillableDurationSeconds(Integer billableDurationSeconds)
Sets the value of billableDurationSeconds
|
void |
setErrorCode(String errorCode)
Sets the value of errorCode
|
void |
setFaces(Collection<FaceDetection> faces)
An array of faces detected in the video.
|
void |
setJobStatus(String jobStatus)
The current status of the face detection job.
|
void |
setJobStatus(VideoJobStatus jobStatus)
The current status of the face detection job.
|
void |
setNextToken(String nextToken)
If the response is truncated, Amazon Rekognition returns this token that
you can use in the subsequent request to retrieve the next set of faces.
|
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.
|
void |
setWarnings(Collection<Warning> warnings)
Sets the value of warnings
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetFaceDetectionResult |
withBillableDurationSeconds(Integer billableDurationSeconds)
Sets the value of the billableDurationSeconds property for this object.
|
GetFaceDetectionResult |
withErrorCode(String errorCode)
Sets the value of the errorCode property for this object.
|
GetFaceDetectionResult |
withFaces(Collection<FaceDetection> faces)
An array of faces detected in the video.
|
GetFaceDetectionResult |
withFaces(FaceDetection... faces)
An array of faces detected in the video.
|
GetFaceDetectionResult |
withJobStatus(String jobStatus)
The current status of the face detection job.
|
GetFaceDetectionResult |
withJobStatus(VideoJobStatus jobStatus)
The current status of the face detection job.
|
GetFaceDetectionResult |
withNextToken(String nextToken)
If the response is truncated, Amazon Rekognition returns this token that
you can use in the subsequent request to retrieve the next set of faces.
|
GetFaceDetectionResult |
withStatusMessage(String statusMessage)
If the job fails,
StatusMessage provides a descriptive error
message. |
GetFaceDetectionResult |
withVideoMetadata(VideoMetadata videoMetadata)
Information about a video that Amazon Rekognition Video analyzed.
|
GetFaceDetectionResult |
withWarnings(Collection<Warning> warnings)
Sets the value of the warnings property for this object.
|
GetFaceDetectionResult |
withWarnings(Warning... warnings)
Sets the value of the warnings property for this object.
|
public String getJobStatus()
The current status of the face detection job.
Constraints:
Allowed Values: IN_PROGRESS, SUCCEEDED, FAILED
The current status of the face detection job.
VideoJobStatus
public void setJobStatus(String jobStatus)
The current status of the face detection job.
Constraints:
Allowed Values: IN_PROGRESS, SUCCEEDED, FAILED
jobStatus
- The current status of the face detection job.
VideoJobStatus
public GetFaceDetectionResult withJobStatus(String jobStatus)
The current status of the face detection 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 detection job.
VideoJobStatus
public void setJobStatus(VideoJobStatus jobStatus)
The current status of the face detection job.
Constraints:
Allowed Values: IN_PROGRESS, SUCCEEDED, FAILED
jobStatus
- The current status of the face detection job.
VideoJobStatus
public GetFaceDetectionResult withJobStatus(VideoJobStatus jobStatus)
The current status of the face detection 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 detection job.
VideoJobStatus
public 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(String statusMessage)
If the job fails, StatusMessage
provides a descriptive error
message.
statusMessage
-
If the job fails, StatusMessage
provides a
descriptive error message.
public GetFaceDetectionResult withStatusMessage(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 GetFaceDetectionResult 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 String getNextToken()
If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to retrieve the next set of faces.
Constraints:
Length: - 255
If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to retrieve the next set of faces.
public void setNextToken(String nextToken)
If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to retrieve the next set of faces.
Constraints:
Length: - 255
nextToken
- If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to retrieve the next set of faces.
public GetFaceDetectionResult withNextToken(String nextToken)
If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to retrieve the next set of faces.
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 returns this token that you can use in the subsequent request to retrieve the next set of faces.
public List<FaceDetection> getFaces()
An array of faces detected in the video. Each element contains a detected face's details and the time, in milliseconds from the start of the video, the face was detected.
An array of faces detected in the video. Each element contains a detected face's details and the time, in milliseconds from the start of the video, the face was detected.
public void setFaces(Collection<FaceDetection> faces)
An array of faces detected in the video. Each element contains a detected face's details and the time, in milliseconds from the start of the video, the face was detected.
faces
- An array of faces detected in the video. Each element contains a detected face's details and the time, in milliseconds from the start of the video, the face was detected.
public GetFaceDetectionResult withFaces(FaceDetection... faces)
An array of faces detected in the video. Each element contains a detected face's details and the time, in milliseconds from the start of the video, the face was detected.
Returns a reference to this object so that method calls can be chained together.
faces
- An array of faces detected in the video. Each element contains a detected face's details and the time, in milliseconds from the start of the video, the face was detected.
public GetFaceDetectionResult withFaces(Collection<FaceDetection> faces)
An array of faces detected in the video. Each element contains a detected face's details and the time, in milliseconds from the start of the video, the face was detected.
Returns a reference to this object so that method calls can be chained together.
faces
- An array of faces detected in the video. Each element contains a detected face's details and the time, in milliseconds from the start of the video, the face was detected.
public Integer getBillableDurationSeconds()
Constraints:
Range: 0 -
public void setBillableDurationSeconds(Integer billableDurationSeconds)
Constraints:
Range: 0 -
billableDurationSeconds
- The new value for the
billableDurationSeconds property for this object.public GetFaceDetectionResult withBillableDurationSeconds(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 String getErrorCode()
public void setErrorCode(String errorCode)
errorCode
- The new value for the errorCode property for this
object.public GetFaceDetectionResult withErrorCode(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 List<Warning> getWarnings()
public void setWarnings(Collection<Warning> warnings)
warnings
- The new value for the warnings property for this object.public GetFaceDetectionResult 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 GetFaceDetectionResult withWarnings(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 String toString()
toString
in class Object
Object.toString()
Copyright © 2018. All rights reserved.