Class WarningsListItem
- java.lang.Object
-
- software.amazon.awssdk.services.comprehend.model.WarningsListItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WarningsListItem.Builder,WarningsListItem>
@Generated("software.amazon.awssdk:codegen") public final class WarningsListItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WarningsListItem.Builder,WarningsListItem>
The system identified one of the following warnings while processing the input document:
-
The document to classify is plain text, but the classifier is a native document model.
-
The document to classify is semi-structured, but the classifier is a plain-text model.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWarningsListItem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WarningsListItem.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integerpage()Page number in the input document.List<SdkField<?>>sdkFields()static Class<? extends WarningsListItem.Builder>serializableBuilderClass()WarningsListItem.BuildertoBuilder()StringtoString()Returns a string representation of this object.PageBasedWarningCodewarnCode()The type of warning.StringwarnCodeAsString()The type of warning.StringwarnMessage()Text message associated with the warning.-
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
-
page
public final Integer page()
Page number in the input document.
- Returns:
- Page number in the input document.
-
warnCode
public final PageBasedWarningCode warnCode()
The type of warning.
If the service returns an enum value that is not available in the current SDK version,
warnCodewill returnPageBasedWarningCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromwarnCodeAsString().- Returns:
- The type of warning.
- See Also:
PageBasedWarningCode
-
warnCodeAsString
public final String warnCodeAsString()
The type of warning.
If the service returns an enum value that is not available in the current SDK version,
warnCodewill returnPageBasedWarningCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromwarnCodeAsString().- Returns:
- The type of warning.
- See Also:
PageBasedWarningCode
-
warnMessage
public final String warnMessage()
Text message associated with the warning.
- Returns:
- Text message associated with the warning.
-
toBuilder
public WarningsListItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<WarningsListItem.Builder,WarningsListItem>
-
builder
public static WarningsListItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends WarningsListItem.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.
-
-