@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetLabelDetectionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetLabelDetectionResult() |
Modifier and Type | Method and Description |
---|---|
GetLabelDetectionResult |
clone() |
boolean |
equals(Object obj) |
GetLabelDetectionRequestMetadata |
getGetRequestMetadata()
Information about the paramters used when getting a response.
|
String |
getJobId()
Job identifier for the label detection operation for which you want to obtain results.
|
String |
getJobStatus()
The current status of the label detection job.
|
String |
getJobTag()
A job identifier specified in the call to StartLabelDetection and returned in the job completion notification
sent to your Amazon Simple Notification Service topic.
|
String |
getLabelModelVersion()
Version number of the label detection model that was used to detect labels.
|
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. |
Video |
getVideo() |
VideoMetadata |
getVideoMetadata()
Information about a video that Amazon Rekognition Video analyzed.
|
int |
hashCode() |
void |
setGetRequestMetadata(GetLabelDetectionRequestMetadata getRequestMetadata)
Information about the paramters used when getting a response.
|
void |
setJobId(String jobId)
Job identifier for the label detection operation for which you want to obtain results.
|
void |
setJobStatus(String jobStatus)
The current status of the label detection job.
|
void |
setJobTag(String jobTag)
A job identifier specified in the call to StartLabelDetection and returned in the job completion notification
sent to your Amazon Simple Notification Service topic.
|
void |
setLabelModelVersion(String labelModelVersion)
Version number of the label detection model that was used to detect labels.
|
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 |
setVideo(Video video) |
void |
setVideoMetadata(VideoMetadata videoMetadata)
Information about a video that Amazon Rekognition Video analyzed.
|
String |
toString()
Returns a string representation of this object.
|
GetLabelDetectionResult |
withGetRequestMetadata(GetLabelDetectionRequestMetadata getRequestMetadata)
Information about the paramters used when getting a response.
|
GetLabelDetectionResult |
withJobId(String jobId)
Job identifier for the label detection operation for which you want to obtain results.
|
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 |
withJobTag(String jobTag)
A job identifier specified in the call to StartLabelDetection and returned in the job completion notification
sent to your Amazon Simple Notification Service topic.
|
GetLabelDetectionResult |
withLabelModelVersion(String labelModelVersion)
Version number of the label detection model that was used to detect labels.
|
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 |
withVideo(Video video) |
GetLabelDetectionResult |
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 label detection job.
jobStatus
- The current status of the label detection job.VideoJobStatus
public String getJobStatus()
The current status of the label detection job.
VideoJobStatus
public GetLabelDetectionResult withJobStatus(String jobStatus)
The current status of the label detection job.
jobStatus
- The current status of the label detection job.VideoJobStatus
public GetLabelDetectionResult withJobStatus(VideoJobStatus jobStatus)
The current status of the label detection job.
jobStatus
- The current status of the label detection 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 GetLabelDetectionResult 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 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.
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 labels.
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 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.
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.
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.
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.
NOTE: This method appends the values to the existing list (if any). Use
setLabels(java.util.Collection)
or withLabels(java.util.Collection)
if you want to override the
existing values.
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.
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 void setLabelModelVersion(String labelModelVersion)
Version number of the label detection model that was used to detect labels.
labelModelVersion
- Version number of the label detection model that was used to detect labels.public String getLabelModelVersion()
Version number of the label detection model that was used to detect labels.
public GetLabelDetectionResult withLabelModelVersion(String labelModelVersion)
Version number of the label detection model that was used to detect labels.
labelModelVersion
- Version number of the label detection model that was used to detect labels.public void setJobId(String jobId)
Job identifier for the label detection operation for which you want to obtain results. The job identifer is returned by an initial call to StartLabelDetection.
jobId
- Job identifier for the label detection operation for which you want to obtain results. The job identifer
is returned by an initial call to StartLabelDetection.public String getJobId()
Job identifier for the label detection operation for which you want to obtain results. The job identifer is returned by an initial call to StartLabelDetection.
public GetLabelDetectionResult withJobId(String jobId)
Job identifier for the label detection operation for which you want to obtain results. The job identifer is returned by an initial call to StartLabelDetection.
jobId
- Job identifier for the label detection operation for which you want to obtain results. The job identifer
is returned by an initial call to StartLabelDetection.public void setVideo(Video video)
video
- public Video getVideo()
public GetLabelDetectionResult withVideo(Video video)
video
- public void setJobTag(String jobTag)
A job identifier specified in the call to StartLabelDetection and returned in the job completion notification sent to your Amazon Simple Notification Service topic.
jobTag
- A job identifier specified in the call to StartLabelDetection and returned in the job completion
notification sent to your Amazon Simple Notification Service topic.public String getJobTag()
A job identifier specified in the call to StartLabelDetection and returned in the job completion notification sent to your Amazon Simple Notification Service topic.
public GetLabelDetectionResult withJobTag(String jobTag)
A job identifier specified in the call to StartLabelDetection and returned in the job completion notification sent to your Amazon Simple Notification Service topic.
jobTag
- A job identifier specified in the call to StartLabelDetection and returned in the job completion
notification sent to your Amazon Simple Notification Service topic.public void setGetRequestMetadata(GetLabelDetectionRequestMetadata getRequestMetadata)
Information about the paramters used when getting a response. Includes information on aggregation and sorting methods.
getRequestMetadata
- Information about the paramters used when getting a response. Includes information on aggregation and
sorting methods.public GetLabelDetectionRequestMetadata getGetRequestMetadata()
Information about the paramters used when getting a response. Includes information on aggregation and sorting methods.
public GetLabelDetectionResult withGetRequestMetadata(GetLabelDetectionRequestMetadata getRequestMetadata)
Information about the paramters used when getting a response. Includes information on aggregation and sorting methods.
getRequestMetadata
- Information about the paramters used when getting a response. Includes information on aggregation and
sorting methods.public String toString()
toString
in class Object
Object.toString()
public GetLabelDetectionResult clone()