@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnalyzeDocumentResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
AnalyzeDocumentResult() |
Modifier and Type | Method and Description |
---|---|
AnalyzeDocumentResult |
clone() |
boolean |
equals(Object obj) |
String |
getAnalyzeDocumentModelVersion()
The version of the model used to analyze the document.
|
List<Block> |
getBlocks()
The items that are detected and analyzed by
AnalyzeDocument . |
DocumentMetadata |
getDocumentMetadata()
Metadata about the analyzed document.
|
HumanLoopActivationOutput |
getHumanLoopActivationOutput()
Shows the results of the human in the loop evaluation.
|
int |
hashCode() |
void |
setAnalyzeDocumentModelVersion(String analyzeDocumentModelVersion)
The version of the model used to analyze the document.
|
void |
setBlocks(Collection<Block> blocks)
The items that are detected and analyzed by
AnalyzeDocument . |
void |
setDocumentMetadata(DocumentMetadata documentMetadata)
Metadata about the analyzed document.
|
void |
setHumanLoopActivationOutput(HumanLoopActivationOutput humanLoopActivationOutput)
Shows the results of the human in the loop evaluation.
|
String |
toString()
Returns a string representation of this object.
|
AnalyzeDocumentResult |
withAnalyzeDocumentModelVersion(String analyzeDocumentModelVersion)
The version of the model used to analyze the document.
|
AnalyzeDocumentResult |
withBlocks(Block... blocks)
The items that are detected and analyzed by
AnalyzeDocument . |
AnalyzeDocumentResult |
withBlocks(Collection<Block> blocks)
The items that are detected and analyzed by
AnalyzeDocument . |
AnalyzeDocumentResult |
withDocumentMetadata(DocumentMetadata documentMetadata)
Metadata about the analyzed document.
|
AnalyzeDocumentResult |
withHumanLoopActivationOutput(HumanLoopActivationOutput humanLoopActivationOutput)
Shows the results of the human in the loop evaluation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setDocumentMetadata(DocumentMetadata documentMetadata)
Metadata about the analyzed document. An example is the number of pages.
documentMetadata
- Metadata about the analyzed document. An example is the number of pages.public DocumentMetadata getDocumentMetadata()
Metadata about the analyzed document. An example is the number of pages.
public AnalyzeDocumentResult withDocumentMetadata(DocumentMetadata documentMetadata)
Metadata about the analyzed document. An example is the number of pages.
documentMetadata
- Metadata about the analyzed document. An example is the number of pages.public List<Block> getBlocks()
The items that are detected and analyzed by AnalyzeDocument
.
AnalyzeDocument
.public void setBlocks(Collection<Block> blocks)
The items that are detected and analyzed by AnalyzeDocument
.
blocks
- The items that are detected and analyzed by AnalyzeDocument
.public AnalyzeDocumentResult withBlocks(Block... blocks)
The items that are detected and analyzed by AnalyzeDocument
.
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
- The items that are detected and analyzed by AnalyzeDocument
.public AnalyzeDocumentResult withBlocks(Collection<Block> blocks)
The items that are detected and analyzed by AnalyzeDocument
.
blocks
- The items that are detected and analyzed by AnalyzeDocument
.public void setHumanLoopActivationOutput(HumanLoopActivationOutput humanLoopActivationOutput)
Shows the results of the human in the loop evaluation.
humanLoopActivationOutput
- Shows the results of the human in the loop evaluation.public HumanLoopActivationOutput getHumanLoopActivationOutput()
Shows the results of the human in the loop evaluation.
public AnalyzeDocumentResult withHumanLoopActivationOutput(HumanLoopActivationOutput humanLoopActivationOutput)
Shows the results of the human in the loop evaluation.
humanLoopActivationOutput
- Shows the results of the human in the loop evaluation.public void setAnalyzeDocumentModelVersion(String analyzeDocumentModelVersion)
The version of the model used to analyze the document.
analyzeDocumentModelVersion
- The version of the model used to analyze the document.public String getAnalyzeDocumentModelVersion()
The version of the model used to analyze the document.
public AnalyzeDocumentResult withAnalyzeDocumentModelVersion(String analyzeDocumentModelVersion)
The version of the model used to analyze the document.
analyzeDocumentModelVersion
- The version of the model used to analyze the document.public String toString()
toString
in class Object
Object.toString()
public AnalyzeDocumentResult clone()