@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetectDocumentTextResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
DetectDocumentTextResult()  | 
| Modifier and Type | Method and Description | 
|---|---|
DetectDocumentTextResult | 
clone()  | 
boolean | 
equals(Object obj)  | 
List<Block> | 
getBlocks()
 An array of  
Block objects that contain the text that's detected in the document. | 
String | 
getDetectDocumentTextModelVersion()
 | 
DocumentMetadata | 
getDocumentMetadata()
 Metadata about the document. 
 | 
int | 
hashCode()  | 
void | 
setBlocks(Collection<Block> blocks)
 An array of  
Block objects that contain the text that's detected in the document. | 
void | 
setDetectDocumentTextModelVersion(String detectDocumentTextModelVersion)
 | 
void | 
setDocumentMetadata(DocumentMetadata documentMetadata)
 Metadata about the document. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
DetectDocumentTextResult | 
withBlocks(Block... blocks)
 An array of  
Block objects that contain the text that's detected in the document. | 
DetectDocumentTextResult | 
withBlocks(Collection<Block> blocks)
 An array of  
Block objects that contain the text that's detected in the document. | 
DetectDocumentTextResult | 
withDetectDocumentTextModelVersion(String detectDocumentTextModelVersion)
 | 
DetectDocumentTextResult | 
withDocumentMetadata(DocumentMetadata documentMetadata)
 Metadata about the document. 
 | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setDocumentMetadata(DocumentMetadata documentMetadata)
Metadata about the document. It contains the number of pages that are detected in the document.
documentMetadata - Metadata about the document. It contains the number of pages that are detected in the document.public DocumentMetadata getDocumentMetadata()
Metadata about the document. It contains the number of pages that are detected in the document.
public DetectDocumentTextResult withDocumentMetadata(DocumentMetadata documentMetadata)
Metadata about the document. It contains the number of pages that are detected in the document.
documentMetadata - Metadata about the document. It contains the number of pages that are detected in the document.public List<Block> getBlocks()
 An array of Block objects that contain the text that's detected in the document.
 
Block objects that contain the text that's detected in the document.public void setBlocks(Collection<Block> blocks)
 An array of Block objects that contain the text that's detected in the document.
 
blocks - An array of Block objects that contain the text that's detected in the document.public DetectDocumentTextResult withBlocks(Block... blocks)
 An array of Block objects that contain the text that's detected in the document.
 
 NOTE: This method appends the values to the existing list (if any). Use
 setBlocks(java.util.Collection) or withBlocks(java.util.Collection) if you want to override the
 existing values.
 
blocks - An array of Block objects that contain the text that's detected in the document.public DetectDocumentTextResult withBlocks(Collection<Block> blocks)
 An array of Block objects that contain the text that's detected in the document.
 
blocks - An array of Block objects that contain the text that's detected in the document.public void setDetectDocumentTextModelVersion(String detectDocumentTextModelVersion)
detectDocumentTextModelVersion - public String getDetectDocumentTextModelVersion()
public DetectDocumentTextResult withDetectDocumentTextModelVersion(String detectDocumentTextModelVersion)
detectDocumentTextModelVersion - public String toString()
toString in class ObjectObject.toString()public DetectDocumentTextResult clone()