public class GetLabelDetectionResult extends Object implements Serializable
Constructor and Description |
---|
GetLabelDetectionResult() |
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.
|
String |
getJobStatus()
The current status of the label detection job.
|
List<LabelDetection> |
getLabels()
An array of labels detected in the video.
|
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
labels.
|
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 |
setJobStatus(String jobStatus)
The current status of the label detection job.
|
void |
setJobStatus(VideoJobStatus jobStatus)
The current status of the label detection job.
|
void |
setLabels(Collection<LabelDetection> labels)
An array of labels detected in the video.
|
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
labels.
|
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.
|
GetLabelDetectionResult |
withBillableDurationSeconds(Integer billableDurationSeconds)
Sets the value of the billableDurationSeconds property for this object.
|
GetLabelDetectionResult |
withErrorCode(String errorCode)
Sets the value of the errorCode property for this object.
|
GetLabelDetectionResult |
withJobStatus(String jobStatus)
The current status of the label detection job.
|
GetLabelDetectionResult |
withJobStatus(VideoJobStatus jobStatus)
The current status of the label detection job.
|
GetLabelDetectionResult |
withLabels(Collection<LabelDetection> labels)
An array of labels detected in the video.
|
GetLabelDetectionResult |
withLabels(LabelDetection... labels)
An array of labels detected in the video.
|
GetLabelDetectionResult |
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
labels.
|
GetLabelDetectionResult |
withStatusMessage(String statusMessage)
If the job fails,
StatusMessage provides a descriptive error
message. |
GetLabelDetectionResult |
withVideoMetadata(VideoMetadata videoMetadata)
Information about a video that Amazon Rekognition Video analyzed.
|
GetLabelDetectionResult |
withWarnings(Collection<Warning> warnings)
Sets the value of the warnings property for this object.
|
GetLabelDetectionResult |
withWarnings(Warning... warnings)
Sets the value of the warnings property for this object.
|
public String getJobStatus()
The current status of the label detection job.
Constraints:
Allowed Values: IN_PROGRESS, SUCCEEDED, FAILED
The current status of the label detection job.
VideoJobStatus
public void setJobStatus(String jobStatus)
The current status of the label detection job.
Constraints:
Allowed Values: IN_PROGRESS, SUCCEEDED, FAILED
jobStatus
- The current status of the label detection job.
VideoJobStatus
public GetLabelDetectionResult withJobStatus(String jobStatus)
The current status of the label 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 label detection job.
VideoJobStatus
public void setJobStatus(VideoJobStatus jobStatus)
The current status of the label detection job.
Constraints:
Allowed Values: IN_PROGRESS, SUCCEEDED, FAILED
jobStatus
- The current status of the label detection job.
VideoJobStatus
public GetLabelDetectionResult withJobStatus(VideoJobStatus jobStatus)
The current status of the label 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 label 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 GetLabelDetectionResult 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 GetLabelDetectionResult 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 Video returns this token that you can use in the subsequent request to retrieve the next set of labels.
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 labels.
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 labels.
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 labels.
public GetLabelDetectionResult 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 labels.
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 labels.
public List<LabelDetection> getLabels()
An array of labels detected in the video. Each element contains the detected label and the time, in milliseconds from the start of the video, that the label was detected.
An array of labels detected in the video. Each element contains the detected label and the time, in milliseconds from the start of the video, that the label was detected.
public void setLabels(Collection<LabelDetection> labels)
An array of labels detected in the video. Each element contains the detected label and the time, in milliseconds from the start of the video, that the label was detected.
labels
- An array of labels detected in the video. Each element contains the detected label and the time, in milliseconds from the start of the video, that the label was detected.
public GetLabelDetectionResult withLabels(LabelDetection... labels)
An array of labels detected in the video. Each element contains the detected label and the time, in milliseconds from the start of the video, that the label was detected.
Returns a reference to this object so that method calls can be chained together.
labels
- An array of labels detected in the video. Each element contains the detected label and the time, in milliseconds from the start of the video, that the label was detected.
public GetLabelDetectionResult withLabels(Collection<LabelDetection> labels)
An array of labels detected in the video. Each element contains the detected label and the time, in milliseconds from the start of the video, that the label was detected.
Returns a reference to this object so that method calls can be chained together.
labels
- An array of labels detected in the video. Each element contains the detected label and the time, in milliseconds from the start of the video, that the label 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 GetLabelDetectionResult 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 GetLabelDetectionResult 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 GetLabelDetectionResult 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 GetLabelDetectionResult 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.