@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocumentGroup extends Object implements Serializable, Cloneable, StructuredPojo
Summary information about documents grouped by the same document type.
Constructor and Description |
---|
DocumentGroup() |
Modifier and Type | Method and Description |
---|---|
DocumentGroup |
clone() |
boolean |
equals(Object obj) |
List<DetectedSignature> |
getDetectedSignatures()
A list of the detected signatures found in a document group.
|
List<SplitDocument> |
getSplitDocuments()
An array that contains information about the pages of a document, defined by logical boundary.
|
String |
getType()
The type of document that Amazon Textract has detected.
|
List<UndetectedSignature> |
getUndetectedSignatures()
A list of any expected signatures not found in a document group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDetectedSignatures(Collection<DetectedSignature> detectedSignatures)
A list of the detected signatures found in a document group.
|
void |
setSplitDocuments(Collection<SplitDocument> splitDocuments)
An array that contains information about the pages of a document, defined by logical boundary.
|
void |
setType(String type)
The type of document that Amazon Textract has detected.
|
void |
setUndetectedSignatures(Collection<UndetectedSignature> undetectedSignatures)
A list of any expected signatures not found in a document group.
|
String |
toString()
Returns a string representation of this object.
|
DocumentGroup |
withDetectedSignatures(Collection<DetectedSignature> detectedSignatures)
A list of the detected signatures found in a document group.
|
DocumentGroup |
withDetectedSignatures(DetectedSignature... detectedSignatures)
A list of the detected signatures found in a document group.
|
DocumentGroup |
withSplitDocuments(Collection<SplitDocument> splitDocuments)
An array that contains information about the pages of a document, defined by logical boundary.
|
DocumentGroup |
withSplitDocuments(SplitDocument... splitDocuments)
An array that contains information about the pages of a document, defined by logical boundary.
|
DocumentGroup |
withType(String type)
The type of document that Amazon Textract has detected.
|
DocumentGroup |
withUndetectedSignatures(Collection<UndetectedSignature> undetectedSignatures)
A list of any expected signatures not found in a document group.
|
DocumentGroup |
withUndetectedSignatures(UndetectedSignature... undetectedSignatures)
A list of any expected signatures not found in a document group.
|
public void setType(String type)
The type of document that Amazon Textract has detected. See Analyze Lending Response Objects for a list of all types returned by Textract.
type
- The type of document that Amazon Textract has detected. See Analyze Lending
Response Objects for a list of all types returned by Textract.public String getType()
The type of document that Amazon Textract has detected. See Analyze Lending Response Objects for a list of all types returned by Textract.
public DocumentGroup withType(String type)
The type of document that Amazon Textract has detected. See Analyze Lending Response Objects for a list of all types returned by Textract.
type
- The type of document that Amazon Textract has detected. See Analyze Lending
Response Objects for a list of all types returned by Textract.public List<SplitDocument> getSplitDocuments()
An array that contains information about the pages of a document, defined by logical boundary.
public void setSplitDocuments(Collection<SplitDocument> splitDocuments)
An array that contains information about the pages of a document, defined by logical boundary.
splitDocuments
- An array that contains information about the pages of a document, defined by logical boundary.public DocumentGroup withSplitDocuments(SplitDocument... splitDocuments)
An array that contains information about the pages of a document, defined by logical boundary.
NOTE: This method appends the values to the existing list (if any). Use
setSplitDocuments(java.util.Collection)
or withSplitDocuments(java.util.Collection)
if you want
to override the existing values.
splitDocuments
- An array that contains information about the pages of a document, defined by logical boundary.public DocumentGroup withSplitDocuments(Collection<SplitDocument> splitDocuments)
An array that contains information about the pages of a document, defined by logical boundary.
splitDocuments
- An array that contains information about the pages of a document, defined by logical boundary.public List<DetectedSignature> getDetectedSignatures()
A list of the detected signatures found in a document group.
public void setDetectedSignatures(Collection<DetectedSignature> detectedSignatures)
A list of the detected signatures found in a document group.
detectedSignatures
- A list of the detected signatures found in a document group.public DocumentGroup withDetectedSignatures(DetectedSignature... detectedSignatures)
A list of the detected signatures found in a document group.
NOTE: This method appends the values to the existing list (if any). Use
setDetectedSignatures(java.util.Collection)
or withDetectedSignatures(java.util.Collection)
if
you want to override the existing values.
detectedSignatures
- A list of the detected signatures found in a document group.public DocumentGroup withDetectedSignatures(Collection<DetectedSignature> detectedSignatures)
A list of the detected signatures found in a document group.
detectedSignatures
- A list of the detected signatures found in a document group.public List<UndetectedSignature> getUndetectedSignatures()
A list of any expected signatures not found in a document group.
public void setUndetectedSignatures(Collection<UndetectedSignature> undetectedSignatures)
A list of any expected signatures not found in a document group.
undetectedSignatures
- A list of any expected signatures not found in a document group.public DocumentGroup withUndetectedSignatures(UndetectedSignature... undetectedSignatures)
A list of any expected signatures not found in a document group.
NOTE: This method appends the values to the existing list (if any). Use
setUndetectedSignatures(java.util.Collection)
or withUndetectedSignatures(java.util.Collection)
if you want to override the existing values.
undetectedSignatures
- A list of any expected signatures not found in a document group.public DocumentGroup withUndetectedSignatures(Collection<UndetectedSignature> undetectedSignatures)
A list of any expected signatures not found in a document group.
undetectedSignatures
- A list of any expected signatures not found in a document group.public String toString()
toString
in class Object
Object.toString()
public DocumentGroup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.