public class GetDocumentTextDetectionResult extends Object implements Serializable
| Constructor and Description |
|---|
GetDocumentTextDetectionResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<Block> |
getBlocks()
The results of the text-detection operation.
|
DocumentMetadata |
getDocumentMetadata()
Information about a document that Amazon Textract processed.
|
String |
getJobStatus()
The current status of the text detection job.
|
String |
getNextToken()
If the response is truncated, Amazon Textract returns this token.
|
String |
getStatusMessage()
The current status of an asynchronous document text-detection operation.
|
List<Warning> |
getWarnings()
A list of warnings that occurred during the document text-detection
operation.
|
int |
hashCode() |
void |
setBlocks(Collection<Block> blocks)
The results of the text-detection operation.
|
void |
setDocumentMetadata(DocumentMetadata documentMetadata)
Information about a document that Amazon Textract processed.
|
void |
setJobStatus(JobStatus jobStatus)
The current status of the text detection job.
|
void |
setJobStatus(String jobStatus)
The current status of the text detection job.
|
void |
setNextToken(String nextToken)
If the response is truncated, Amazon Textract returns this token.
|
void |
setStatusMessage(String statusMessage)
The current status of an asynchronous document text-detection operation.
|
void |
setWarnings(Collection<Warning> warnings)
A list of warnings that occurred during the document text-detection
operation.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetDocumentTextDetectionResult |
withBlocks(Block... blocks)
The results of the text-detection operation.
|
GetDocumentTextDetectionResult |
withBlocks(Collection<Block> blocks)
The results of the text-detection operation.
|
GetDocumentTextDetectionResult |
withDocumentMetadata(DocumentMetadata documentMetadata)
Information about a document that Amazon Textract processed.
|
GetDocumentTextDetectionResult |
withJobStatus(JobStatus jobStatus)
The current status of the text detection job.
|
GetDocumentTextDetectionResult |
withJobStatus(String jobStatus)
The current status of the text detection job.
|
GetDocumentTextDetectionResult |
withNextToken(String nextToken)
If the response is truncated, Amazon Textract returns this token.
|
GetDocumentTextDetectionResult |
withStatusMessage(String statusMessage)
The current status of an asynchronous document text-detection operation.
|
GetDocumentTextDetectionResult |
withWarnings(Collection<Warning> warnings)
A list of warnings that occurred during the document text-detection
operation.
|
GetDocumentTextDetectionResult |
withWarnings(Warning... warnings)
A list of warnings that occurred during the document text-detection
operation.
|
public DocumentMetadata getDocumentMetadata()
Information about a document that Amazon Textract processed.
DocumentMetadata is returned in every page of paginated
responses from an Amazon Textract video operation.
Information about a document that Amazon Textract processed.
DocumentMetadata is returned in every page of
paginated responses from an Amazon Textract video operation.
public void setDocumentMetadata(DocumentMetadata documentMetadata)
Information about a document that Amazon Textract processed.
DocumentMetadata is returned in every page of paginated
responses from an Amazon Textract video operation.
documentMetadata -
Information about a document that Amazon Textract processed.
DocumentMetadata is returned in every page of
paginated responses from an Amazon Textract video operation.
public GetDocumentTextDetectionResult withDocumentMetadata(DocumentMetadata documentMetadata)
Information about a document that Amazon Textract processed.
DocumentMetadata is returned in every page of paginated
responses from an Amazon Textract video operation.
Returns a reference to this object so that method calls can be chained together.
documentMetadata -
Information about a document that Amazon Textract processed.
DocumentMetadata is returned in every page of
paginated responses from an Amazon Textract video operation.
public String getJobStatus()
The current status of the text detection job.
Constraints:
Allowed Values: IN_PROGRESS, SUCCEEDED, FAILED, PARTIAL_SUCCESS
The current status of the text detection job.
JobStatuspublic void setJobStatus(String jobStatus)
The current status of the text detection job.
Constraints:
Allowed Values: IN_PROGRESS, SUCCEEDED, FAILED, PARTIAL_SUCCESS
jobStatus - The current status of the text detection job.
JobStatuspublic GetDocumentTextDetectionResult withJobStatus(String jobStatus)
The 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, PARTIAL_SUCCESS
jobStatus - The current status of the text detection job.
JobStatuspublic void setJobStatus(JobStatus jobStatus)
The current status of the text detection job.
Constraints:
Allowed Values: IN_PROGRESS, SUCCEEDED, FAILED, PARTIAL_SUCCESS
jobStatus - The current status of the text detection job.
JobStatuspublic GetDocumentTextDetectionResult withJobStatus(JobStatus jobStatus)
The 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, PARTIAL_SUCCESS
jobStatus - The current status of the text detection job.
JobStatuspublic String getNextToken()
If the response is truncated, Amazon Textract returns this token. You can use this token in the subsequent request to retrieve the next set of text-detection results.
Constraints:
Length: 1 - 255
Pattern: .*\S.*
If the response is truncated, Amazon Textract returns this token. You can use this token in the subsequent request to retrieve the next set of text-detection results.
public void setNextToken(String nextToken)
If the response is truncated, Amazon Textract returns this token. You can use this token in the subsequent request to retrieve the next set of text-detection results.
Constraints:
Length: 1 - 255
Pattern: .*\S.*
nextToken - If the response is truncated, Amazon Textract returns this token. You can use this token in the subsequent request to retrieve the next set of text-detection results.
public GetDocumentTextDetectionResult withNextToken(String nextToken)
If the response is truncated, Amazon Textract returns this token. You can use this token in the subsequent request to retrieve the next set of text-detection results.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: .*\S.*
nextToken - If the response is truncated, Amazon Textract returns this token. You can use this token in the subsequent request to retrieve the next set of text-detection results.
public List<Block> getBlocks()
The results of the text-detection operation.
The results of the text-detection operation.
public void setBlocks(Collection<Block> blocks)
The results of the text-detection operation.
blocks - The results of the text-detection operation.
public GetDocumentTextDetectionResult withBlocks(Block... blocks)
The results of the text-detection operation.
Returns a reference to this object so that method calls can be chained together.
blocks - The results of the text-detection operation.
public GetDocumentTextDetectionResult withBlocks(Collection<Block> blocks)
The results of the text-detection operation.
Returns a reference to this object so that method calls can be chained together.
blocks - The results of the text-detection operation.
public List<Warning> getWarnings()
A list of warnings that occurred during the document text-detection operation.
A list of warnings that occurred during the document text-detection operation.
public void setWarnings(Collection<Warning> warnings)
A list of warnings that occurred during the document text-detection operation.
warnings - A list of warnings that occurred during the document text-detection operation.
public GetDocumentTextDetectionResult withWarnings(Warning... warnings)
A list of warnings that occurred during the document text-detection operation.
Returns a reference to this object so that method calls can be chained together.
warnings - A list of warnings that occurred during the document text-detection operation.
public GetDocumentTextDetectionResult withWarnings(Collection<Warning> warnings)
A list of warnings that occurred during the document text-detection operation.
Returns a reference to this object so that method calls can be chained together.
warnings - A list of warnings that occurred during the document text-detection operation.
public String getStatusMessage()
The current status of an asynchronous document text-detection operation.
The current status of an asynchronous document text-detection operation.
public void setStatusMessage(String statusMessage)
The current status of an asynchronous document text-detection operation.
statusMessage - The current status of an asynchronous document text-detection operation.
public GetDocumentTextDetectionResult withStatusMessage(String statusMessage)
The current status of an asynchronous document text-detection operation.
Returns a reference to this object so that method calls can be chained together.
statusMessage - The current status of an asynchronous document text-detection operation.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.