@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FailureCause extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the error message that is returned if the operation cannot be successfully completed.
| Constructor and Description |
|---|
FailureCause() |
| Modifier and Type | Method and Description |
|---|---|
FailureCause |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
The description of the error message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setMessage(String message)
The description of the error message.
|
String |
toString()
Returns a string representation of this object.
|
FailureCause |
withMessage(String message)
The description of the error message.
|
public void setMessage(String message)
The description of the error message.
message - The description of the error message.public String getMessage()
The description of the error message.
public FailureCause withMessage(String message)
The description of the error message.
message - The description of the error message.public String toString()
toString in class ObjectObject.toString()public FailureCause clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.