@Generated(value="software.amazon.awssdk:codegen") public final class DocumentGroup extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DocumentGroup.Builder,DocumentGroup>
Summary information about documents grouped by the same document type.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DocumentGroup.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DocumentGroup.Builder |
builder() |
List<DetectedSignature> |
detectedSignatures()
A list of the detected signatures found in a document group.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDetectedSignatures()
For responses, this returns true if the service returned a value for the DetectedSignatures property.
|
int |
hashCode() |
boolean |
hasSplitDocuments()
For responses, this returns true if the service returned a value for the SplitDocuments property.
|
boolean |
hasUndetectedSignatures()
For responses, this returns true if the service returned a value for the UndetectedSignatures property.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DocumentGroup.Builder> |
serializableBuilderClass() |
List<SplitDocument> |
splitDocuments()
An array that contains information about the pages of a document, defined by logical boundary.
|
DocumentGroup.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
type()
The type of document that Amazon Textract has detected.
|
List<UndetectedSignature> |
undetectedSignatures()
A list of any expected signatures not found in a document group.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String type()
The type of document that Amazon Textract has detected. See LINK for a list of all types returned by Textract.
public final boolean hasSplitDocuments()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<SplitDocument> splitDocuments()
An array that contains information about the pages of a document, defined by logical boundary.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSplitDocuments() method.
public final boolean hasDetectedSignatures()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<DetectedSignature> detectedSignatures()
A list of the detected signatures found in a document group.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDetectedSignatures() method.
public final boolean hasUndetectedSignatures()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<UndetectedSignature> undetectedSignatures()
A list of any expected signatures not found in a document group.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasUndetectedSignatures() method.
public DocumentGroup.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DocumentGroup.Builder,DocumentGroup>public static DocumentGroup.Builder builder()
public static Class<? extends DocumentGroup.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.