Class DocumentClassifierSummary
- java.lang.Object
-
- software.amazon.awssdk.services.comprehend.model.DocumentClassifierSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DocumentClassifierSummary.Builder,DocumentClassifierSummary>
@Generated("software.amazon.awssdk:codegen") public final class DocumentClassifierSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DocumentClassifierSummary.Builder,DocumentClassifierSummary>
Describes information about a document classifier and its versions.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDocumentClassifierSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DocumentClassifierSummary.Builderbuilder()StringdocumentClassifierName()The name that you assigned the document classifier.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlatestVersionCreatedAt()The time that the latest document classifier version was submitted for processing.StringlatestVersionName()The version name you assigned to the latest document classifier version.ModelStatuslatestVersionStatus()Provides the status of the latest document classifier version.StringlatestVersionStatusAsString()Provides the status of the latest document classifier version.IntegernumberOfVersions()The number of versions you created.List<SdkField<?>>sdkFields()static Class<? extends DocumentClassifierSummary.Builder>serializableBuilderClass()DocumentClassifierSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
documentClassifierName
public final String documentClassifierName()
The name that you assigned the document classifier.
- Returns:
- The name that you assigned the document classifier.
-
numberOfVersions
public final Integer numberOfVersions()
The number of versions you created.
- Returns:
- The number of versions you created.
-
latestVersionCreatedAt
public final Instant latestVersionCreatedAt()
The time that the latest document classifier version was submitted for processing.
- Returns:
- The time that the latest document classifier version was submitted for processing.
-
latestVersionName
public final String latestVersionName()
The version name you assigned to the latest document classifier version.
- Returns:
- The version name you assigned to the latest document classifier version.
-
latestVersionStatus
public final ModelStatus latestVersionStatus()
Provides the status of the latest document classifier version.
If the service returns an enum value that is not available in the current SDK version,
latestVersionStatuswill returnModelStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlatestVersionStatusAsString().- Returns:
- Provides the status of the latest document classifier version.
- See Also:
ModelStatus
-
latestVersionStatusAsString
public final String latestVersionStatusAsString()
Provides the status of the latest document classifier version.
If the service returns an enum value that is not available in the current SDK version,
latestVersionStatuswill returnModelStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlatestVersionStatusAsString().- Returns:
- Provides the status of the latest document classifier version.
- See Also:
ModelStatus
-
toBuilder
public DocumentClassifierSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DocumentClassifierSummary.Builder,DocumentClassifierSummary>
-
builder
public static DocumentClassifierSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends DocumentClassifierSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-