public class GetTextDetectionResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description | 
|---|
GetTextDetectionResult()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(java.lang.Object obj)  | 
java.lang.String | 
getJobStatus()
 Current status of the text detection 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
 text. 
 | 
java.lang.String | 
getStatusMessage()
 If the job fails,  
StatusMessage provides a descriptive error
 message. | 
java.util.List<TextDetectionResult> | 
getTextDetections()
 An array of text detected in the video. 
 | 
java.lang.String | 
getTextModelVersion()
 Version number of the text detection model that was used to detect text. 
 | 
VideoMetadata | 
getVideoMetadata()
 Information about a video that Amazon Rekognition analyzed. 
 | 
int | 
hashCode()  | 
void | 
setJobStatus(java.lang.String jobStatus)
 Current status of the text detection job. 
 | 
void | 
setJobStatus(VideoJobStatus jobStatus)
 Current status of the text detection 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
 text. 
 | 
void | 
setStatusMessage(java.lang.String statusMessage)
 If the job fails,  
StatusMessage provides a descriptive error
 message. | 
void | 
setTextDetections(java.util.Collection<TextDetectionResult> textDetections)
 An array of text detected in the video. 
 | 
void | 
setTextModelVersion(java.lang.String textModelVersion)
 Version number of the text detection model that was used to detect text. 
 | 
void | 
setVideoMetadata(VideoMetadata videoMetadata)
 Information about a video that Amazon Rekognition analyzed. 
 | 
java.lang.String | 
toString()
Returns a string representation of this object; useful for testing and
 debugging. 
 | 
GetTextDetectionResult | 
withJobStatus(java.lang.String jobStatus)
 Current status of the text detection job. 
 | 
GetTextDetectionResult | 
withJobStatus(VideoJobStatus jobStatus)
 Current status of the text detection job. 
 | 
GetTextDetectionResult | 
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
 text. 
 | 
GetTextDetectionResult | 
withStatusMessage(java.lang.String statusMessage)
 If the job fails,  
StatusMessage provides a descriptive error
 message. | 
GetTextDetectionResult | 
withTextDetections(java.util.Collection<TextDetectionResult> textDetections)
 An array of text detected in the video. 
 | 
GetTextDetectionResult | 
withTextDetections(TextDetectionResult... textDetections)
 An array of text detected in the video. 
 | 
GetTextDetectionResult | 
withTextModelVersion(java.lang.String textModelVersion)
 Version number of the text detection model that was used to detect text. 
 | 
GetTextDetectionResult | 
withVideoMetadata(VideoMetadata videoMetadata)
 Information about a video that Amazon Rekognition analyzed. 
 | 
public java.lang.String getJobStatus()
Current status of the text detection job.
 Constraints:
 Allowed Values: IN_PROGRESS, SUCCEEDED, FAILED
Current status of the text detection job.
VideoJobStatuspublic void setJobStatus(java.lang.String jobStatus)
Current status of the text detection job.
 Constraints:
 Allowed Values: IN_PROGRESS, SUCCEEDED, FAILED
jobStatus - Current status of the text detection job.
VideoJobStatuspublic GetTextDetectionResult withJobStatus(java.lang.String jobStatus)
Current status of the text detection job.
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Allowed Values: IN_PROGRESS, SUCCEEDED, FAILED
jobStatus - Current status of the text detection job.
VideoJobStatuspublic void setJobStatus(VideoJobStatus jobStatus)
Current status of the text detection job.
 Constraints:
 Allowed Values: IN_PROGRESS, SUCCEEDED, FAILED
jobStatus - Current status of the text detection job.
VideoJobStatuspublic GetTextDetectionResult withJobStatus(VideoJobStatus jobStatus)
Current status of the text detection job.
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Allowed Values: IN_PROGRESS, SUCCEEDED, FAILED
jobStatus - Current status of the text detection job.
VideoJobStatuspublic 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 GetTextDetectionResult 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 analyzed.
 Videometadata is returned in every page of paginated
 responses from a Amazon Rekognition video operation.
 
         Information about a video that Amazon Rekognition 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 analyzed.
 Videometadata is returned in every page of paginated
 responses from a Amazon Rekognition video operation.
 
videoMetadata - 
            Information about a video that Amazon Rekognition analyzed.
            Videometadata is returned in every page of
            paginated responses from a Amazon Rekognition video operation.
            
public GetTextDetectionResult withVideoMetadata(VideoMetadata videoMetadata)
 Information about a video that Amazon Rekognition 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 analyzed.
            Videometadata is returned in every page of
            paginated responses from a Amazon Rekognition video operation.
            
public java.util.List<TextDetectionResult> getTextDetections()
An array of text detected in the video. Each element contains the detected text, the time in milliseconds from the start of the video that the text was detected, and where it was detected on the screen.
An array of text detected in the video. Each element contains the detected text, the time in milliseconds from the start of the video that the text was detected, and where it was detected on the screen.
public void setTextDetections(java.util.Collection<TextDetectionResult> textDetections)
An array of text detected in the video. Each element contains the detected text, the time in milliseconds from the start of the video that the text was detected, and where it was detected on the screen.
textDetections - An array of text detected in the video. Each element contains the detected text, the time in milliseconds from the start of the video that the text was detected, and where it was detected on the screen.
public GetTextDetectionResult withTextDetections(TextDetectionResult... textDetections)
An array of text detected in the video. Each element contains the detected text, the time in milliseconds from the start of the video that the text was detected, and where it was detected on the screen.
Returns a reference to this object so that method calls can be chained together.
textDetections - An array of text detected in the video. Each element contains the detected text, the time in milliseconds from the start of the video that the text was detected, and where it was detected on the screen.
public GetTextDetectionResult withTextDetections(java.util.Collection<TextDetectionResult> textDetections)
An array of text detected in the video. Each element contains the detected text, the time in milliseconds from the start of the video that the text was detected, and where it was detected on the screen.
Returns a reference to this object so that method calls can be chained together.
textDetections - An array of text detected in the video. Each element contains the detected text, the time in milliseconds from the start of the video that the text was detected, and where it was detected on the screen.
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 text.
 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 text.
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 text.
 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 text.
public GetTextDetectionResult 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 text.
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 text.
public java.lang.String getTextModelVersion()
Version number of the text detection model that was used to detect text.
Version number of the text detection model that was used to detect text.
public void setTextModelVersion(java.lang.String textModelVersion)
Version number of the text detection model that was used to detect text.
textModelVersion - Version number of the text detection model that was used to detect text.
public GetTextDetectionResult withTextModelVersion(java.lang.String textModelVersion)
Version number of the text detection model that was used to detect text.
Returns a reference to this object so that method calls can be chained together.
textModelVersion - Version number of the text detection model that was used to detect text.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.