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