public class DocumentServiceWarning
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
A warning returned by the document service when an issue is discovered while processing an upload request.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
message
The description for a warning returned by the document service.
|
Constructor and Description |
---|
DocumentServiceWarning() |
Modifier and Type | Method and Description |
---|---|
DocumentServiceWarning |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMessage()
The description for a warning returned by the document service.
|
int |
hashCode() |
void |
setMessage(java.lang.String message)
The description for a warning returned by the document service.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DocumentServiceWarning |
withMessage(java.lang.String message)
The description for a warning returned by the document service.
|
private java.lang.String message
The description for a warning returned by the document service.
public void setMessage(java.lang.String message)
The description for a warning returned by the document service.
message
- The description for a warning returned by the document service.public java.lang.String getMessage()
The description for a warning returned by the document service.
public DocumentServiceWarning withMessage(java.lang.String message)
The description for a warning returned by the document service.
message
- The description for a warning returned by the document service.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DocumentServiceWarning clone()
clone
in class java.lang.Object