Interface DocumentGroup.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<DocumentGroup.Builder,DocumentGroup>
,SdkBuilder<DocumentGroup.Builder,DocumentGroup>
,SdkPojo
- Enclosing class:
- DocumentGroup
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.Builder
detectedSignatures(Collection<DetectedSignature> detectedSignatures)
A list of the detected signatures found in a document group.DocumentGroup.Builder
detectedSignatures(Consumer<DetectedSignature.Builder>... detectedSignatures)
A list of the detected signatures found in a document group.DocumentGroup.Builder
detectedSignatures(DetectedSignature... detectedSignatures)
A list of the detected signatures found in a document group.DocumentGroup.Builder
splitDocuments(Collection<SplitDocument> splitDocuments)
An array that contains information about the pages of a document, defined by logical boundary.DocumentGroup.Builder
splitDocuments(Consumer<SplitDocument.Builder>... splitDocuments)
An array that contains information about the pages of a document, defined by logical boundary.DocumentGroup.Builder
splitDocuments(SplitDocument... splitDocuments)
An array that contains information about the pages of a document, defined by logical boundary.DocumentGroup.Builder
type(String type)
The type of document that Amazon Textract has detected.DocumentGroup.Builder
undetectedSignatures(Collection<UndetectedSignature> undetectedSignatures)
A list of any expected signatures not found in a document group.DocumentGroup.Builder
undetectedSignatures(Consumer<UndetectedSignature.Builder>... undetectedSignatures)
A list of any expected signatures not found in a document group.DocumentGroup.Builder
undetectedSignatures(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, 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.Builder
avoiding the need to create one manually viaSplitDocument.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaDetectedSignature.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaUndetectedSignature.builder()
.When the
Consumer
completes,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
)
-
-