@Generated(value="software.amazon.awssdk:codegen") public final class DocumentClass extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DocumentClass.Builder,DocumentClass>
Specifies the class that categorizes the document being analyzed
| Modifier and Type | Class and Description |
|---|---|
static interface |
DocumentClass.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DocumentClass.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the class.
|
Integer |
page()
Page number in the input document.
|
Float |
score()
The confidence score that Amazon Comprehend has this class correctly attributed.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DocumentClass.Builder> |
serializableBuilderClass() |
DocumentClass.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the class.
public final Float score()
The confidence score that Amazon Comprehend has this class correctly attributed.
public final Integer page()
Page number in the input document. This field is present in the response only if your request includes the
Byte parameter.
Byte parameter.public DocumentClass.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DocumentClass.Builder,DocumentClass>public static DocumentClass.Builder builder()
public static Class<? extends DocumentClass.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.