public class AnalyzeDocumentResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
AnalyzeDocumentResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAnalyzeDocumentModelVersion()
The version of the model used to analyze the document.
|
java.util.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(java.lang.String analyzeDocumentModelVersion)
The version of the model used to analyze the document.
|
void |
setBlocks(java.util.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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AnalyzeDocumentResult |
withAnalyzeDocumentModelVersion(java.lang.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(java.util.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.
|
public DocumentMetadata getDocumentMetadata()
Metadata about the analyzed document. An example is the number of pages.
Metadata about the analyzed document. An example is the number of pages.
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 AnalyzeDocumentResult withDocumentMetadata(DocumentMetadata documentMetadata)
Metadata about the analyzed document. An example is the number of pages.
Returns a reference to this object so that method calls can be chained together.
documentMetadata
- Metadata about the analyzed document. An example is the number of pages.
public java.util.List<Block> getBlocks()
The items that are detected and analyzed by AnalyzeDocument
.
The items that are detected and analyzed by
AnalyzeDocument
.
public void setBlocks(java.util.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
.
Returns a reference to this object so that method calls can be chained together.
blocks
-
The items that are detected and analyzed by
AnalyzeDocument
.
public AnalyzeDocumentResult withBlocks(java.util.Collection<Block> blocks)
The items that are detected and analyzed by AnalyzeDocument
.
Returns a reference to this object so that method calls can be chained together.
blocks
-
The items that are detected and analyzed by
AnalyzeDocument
.
public HumanLoopActivationOutput getHumanLoopActivationOutput()
Shows the results of the human in the loop evaluation.
Shows the results of the human in the loop evaluation.
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 AnalyzeDocumentResult withHumanLoopActivationOutput(HumanLoopActivationOutput humanLoopActivationOutput)
Shows the results of the human in the loop evaluation.
Returns a reference to this object so that method calls can be chained together.
humanLoopActivationOutput
- Shows the results of the human in the loop evaluation.
public java.lang.String getAnalyzeDocumentModelVersion()
The version of the model used to analyze the document.
The version of the model used to analyze the document.
public void setAnalyzeDocumentModelVersion(java.lang.String analyzeDocumentModelVersion)
The version of the model used to analyze the document.
analyzeDocumentModelVersion
- The version of the model used to analyze the document.
public AnalyzeDocumentResult withAnalyzeDocumentModelVersion(java.lang.String analyzeDocumentModelVersion)
The version of the model used to analyze the document.
Returns a reference to this object so that method calls can be chained together.
analyzeDocumentModelVersion
- The version of the model used to analyze the document.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.