@Generated(value="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 model.
The document to classify is semi-structured, but the classifier is a plain-text model.
| Modifier and Type | Class and Description |
|---|---|
static interface |
WarningsListItem.Builder |
| Modifier and Type | Method and Description |
|---|---|
static WarningsListItem.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
page()
Page number in the input document.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends WarningsListItem.Builder> |
serializableBuilderClass() |
WarningsListItem.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
PageBasedWarningCode |
warnCode()
The type of warning.
|
String |
warnCodeAsString()
The type of warning.
|
String |
warnMessage()
Text message associated with the warning.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer page()
Page number in the input document.
public final PageBasedWarningCode warnCode()
The type of warning.
If the service returns an enum value that is not available in the current SDK version, warnCode will
return PageBasedWarningCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from warnCodeAsString().
PageBasedWarningCodepublic final String warnCodeAsString()
The type of warning.
If the service returns an enum value that is not available in the current SDK version, warnCode will
return PageBasedWarningCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from warnCodeAsString().
PageBasedWarningCodepublic final String warnMessage()
Text message associated with the warning.
public WarningsListItem.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<WarningsListItem.Builder,WarningsListItem>public static WarningsListItem.Builder builder()
public static Class<? extends WarningsListItem.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.