@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WarningsListItem extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
WarningsListItem() |
Modifier and Type | Method and Description |
---|---|
WarningsListItem |
clone() |
boolean |
equals(Object obj) |
Integer |
getPage()
Page number in the input document.
|
String |
getWarnCode()
The type of warning.
|
String |
getWarnMessage()
Text message associated with the warning.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPage(Integer page)
Page number in the input document.
|
void |
setWarnCode(String warnCode)
The type of warning.
|
void |
setWarnMessage(String warnMessage)
Text message associated with the warning.
|
String |
toString()
Returns a string representation of this object.
|
WarningsListItem |
withPage(Integer page)
Page number in the input document.
|
WarningsListItem |
withWarnCode(PageBasedWarningCode warnCode)
The type of warning.
|
WarningsListItem |
withWarnCode(String warnCode)
The type of warning.
|
WarningsListItem |
withWarnMessage(String warnMessage)
Text message associated with the warning.
|
public void setPage(Integer page)
Page number in the input document.
page
- Page number in the input document.public Integer getPage()
Page number in the input document.
public WarningsListItem withPage(Integer page)
Page number in the input document.
page
- Page number in the input document.public void setWarnCode(String warnCode)
The type of warning.
warnCode
- The type of warning.PageBasedWarningCode
public String getWarnCode()
The type of warning.
PageBasedWarningCode
public WarningsListItem withWarnCode(String warnCode)
The type of warning.
warnCode
- The type of warning.PageBasedWarningCode
public WarningsListItem withWarnCode(PageBasedWarningCode warnCode)
The type of warning.
warnCode
- The type of warning.PageBasedWarningCode
public void setWarnMessage(String warnMessage)
Text message associated with the warning.
warnMessage
- Text message associated with the warning.public String getWarnMessage()
Text message associated with the warning.
public WarningsListItem withWarnMessage(String warnMessage)
Text message associated with the warning.
warnMessage
- Text message associated with the warning.public String toString()
toString
in class Object
Object.toString()
public WarningsListItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.