Class DocumentServiceWarning
- java.lang.Object
-
- com.amazonaws.services.cloudsearchdomain.model.DocumentServiceWarning
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DocumentServiceWarning extends Object implements Serializable, Cloneable
A warning returned by the document service when an issue is discovered while processing an upload request.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DocumentServiceWarning()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentServiceWarning
clone()
boolean
equals(Object obj)
String
getMessage()
The description for a warning returned by the document service.int
hashCode()
void
setMessage(String message)
The description for a warning returned by the document service.String
toString()
Returns a string representation of this object; useful for testing and debugging.DocumentServiceWarning
withMessage(String message)
The description for a warning returned by the document service.
-
-
-
Method Detail
-
setMessage
public void setMessage(String message)
The description for a warning returned by the document service.
- Parameters:
message
- The description for a warning returned by the document service.
-
getMessage
public String getMessage()
The description for a warning returned by the document service.
- Returns:
- The description for a warning returned by the document service.
-
withMessage
public DocumentServiceWarning withMessage(String message)
The description for a warning returned by the document service.
- Parameters:
message
- The description for a warning returned by the document service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DocumentServiceWarning clone()
-
-