Interface DocumentGroup.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DocumentGroup.Builder,DocumentGroup>,SdkBuilder<DocumentGroup.Builder,DocumentGroup>,SdkPojo
- Enclosing class:
- DocumentGroup
@Mutable @NotThreadSafe public static interface DocumentGroup.Builder extends SdkPojo, CopyableBuilder<DocumentGroup.Builder,DocumentGroup>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DocumentGroup.BuilderdetectedSignatures(Collection<DetectedSignature> detectedSignatures)A list of the detected signatures found in a document group.DocumentGroup.BuilderdetectedSignatures(Consumer<DetectedSignature.Builder>... detectedSignatures)A list of the detected signatures found in a document group.DocumentGroup.BuilderdetectedSignatures(DetectedSignature... detectedSignatures)A list of the detected signatures found in a document group.DocumentGroup.BuildersplitDocuments(Collection<SplitDocument> splitDocuments)An array that contains information about the pages of a document, defined by logical boundary.DocumentGroup.BuildersplitDocuments(Consumer<SplitDocument.Builder>... splitDocuments)An array that contains information about the pages of a document, defined by logical boundary.DocumentGroup.BuildersplitDocuments(SplitDocument... splitDocuments)An array that contains information about the pages of a document, defined by logical boundary.DocumentGroup.Buildertype(String type)The type of document that Amazon Textract has detected.DocumentGroup.BuilderundetectedSignatures(Collection<UndetectedSignature> undetectedSignatures)A list of any expected signatures not found in a document group.DocumentGroup.BuilderundetectedSignatures(Consumer<UndetectedSignature.Builder>... undetectedSignatures)A list of any expected signatures not found in a document group.DocumentGroup.BuilderundetectedSignatures(UndetectedSignature... undetectedSignatures)A list of any expected signatures not found in a document group.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
type
DocumentGroup.Builder type(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.
- Parameters:
type- The type of document that Amazon Textract has detected. See Analyze Lending Response Objects for a list of all types returned by Textract.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
splitDocuments
DocumentGroup.Builder splitDocuments(Collection<SplitDocument> splitDocuments)
An array that contains information about the pages of a document, defined by logical boundary.
- Parameters:
splitDocuments- An array that contains information about the pages of a document, defined by logical boundary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
splitDocuments
DocumentGroup.Builder splitDocuments(SplitDocument... splitDocuments)
An array that contains information about the pages of a document, defined by logical boundary.
- Parameters:
splitDocuments- An array that contains information about the pages of a document, defined by logical boundary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
splitDocuments
DocumentGroup.Builder splitDocuments(Consumer<SplitDocument.Builder>... splitDocuments)
An array that contains information about the pages of a document, defined by logical boundary.
This is a convenience method that creates an instance of theSplitDocument.Builderavoiding the need to create one manually viaSplitDocument.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#splitDocuments(List.) - Parameters:
splitDocuments- a consumer that will call methods onSplitDocument.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#splitDocuments(java.util.Collection)
-
detectedSignatures
DocumentGroup.Builder detectedSignatures(Collection<DetectedSignature> detectedSignatures)
A list of the detected signatures found in a document group.
- Parameters:
detectedSignatures- A list of the detected signatures found in a document group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectedSignatures
DocumentGroup.Builder detectedSignatures(DetectedSignature... detectedSignatures)
A list of the detected signatures found in a document group.
- Parameters:
detectedSignatures- A list of the detected signatures found in a document group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectedSignatures
DocumentGroup.Builder detectedSignatures(Consumer<DetectedSignature.Builder>... detectedSignatures)
A list of the detected signatures found in a document group.
This is a convenience method that creates an instance of theDetectedSignature.Builderavoiding the need to create one manually viaDetectedSignature.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#detectedSignatures(List.) - Parameters:
detectedSignatures- a consumer that will call methods onDetectedSignature.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#detectedSignatures(java.util.Collection)
-
undetectedSignatures
DocumentGroup.Builder undetectedSignatures(Collection<UndetectedSignature> undetectedSignatures)
A list of any expected signatures not found in a document group.
- Parameters:
undetectedSignatures- A list of any expected signatures not found in a document group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
undetectedSignatures
DocumentGroup.Builder undetectedSignatures(UndetectedSignature... undetectedSignatures)
A list of any expected signatures not found in a document group.
- Parameters:
undetectedSignatures- A list of any expected signatures not found in a document group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
undetectedSignatures
DocumentGroup.Builder undetectedSignatures(Consumer<UndetectedSignature.Builder>... undetectedSignatures)
A list of any expected signatures not found in a document group.
This is a convenience method that creates an instance of theUndetectedSignature.Builderavoiding the need to create one manually viaUndetectedSignature.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#undetectedSignatures(List.) - Parameters:
undetectedSignatures- a consumer that will call methods onUndetectedSignature.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#undetectedSignatures(java.util.Collection)
-
-