@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RootCauseException extends Object implements Serializable, Cloneable, StructuredPojo
The exception associated with a root cause.
Constructor and Description |
---|
RootCauseException() |
Modifier and Type | Method and Description |
---|---|
RootCauseException |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
The message of the exception.
|
String |
getName()
The name of the exception.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMessage(String message)
The message of the exception.
|
void |
setName(String name)
The name of the exception.
|
String |
toString()
Returns a string representation of this object.
|
RootCauseException |
withMessage(String message)
The message of the exception.
|
RootCauseException |
withName(String name)
The name of the exception.
|
public void setName(String name)
The name of the exception.
name
- The name of the exception.public String getName()
The name of the exception.
public RootCauseException withName(String name)
The name of the exception.
name
- The name of the exception.public void setMessage(String message)
The message of the exception.
message
- The message of the exception.public String getMessage()
The message of the exception.
public RootCauseException withMessage(String message)
The message of the exception.
message
- The message of the exception.public String toString()
toString
in class Object
Object.toString()
public RootCauseException clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.