@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BundleTaskError extends Object implements Serializable, Cloneable
Describes an error for BundleInstance.
Constructor and Description |
---|
BundleTaskError() |
Modifier and Type | Method and Description |
---|---|
BundleTaskError |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The error code.
|
String |
getMessage()
The error message.
|
int |
hashCode() |
void |
setCode(String code)
The error code.
|
void |
setMessage(String message)
The error message.
|
String |
toString()
Returns a string representation of this object.
|
BundleTaskError |
withCode(String code)
The error code.
|
BundleTaskError |
withMessage(String message)
The error message.
|
public void setCode(String code)
The error code.
code
- The error code.public String getCode()
The error code.
public BundleTaskError withCode(String code)
The error code.
code
- The error code.public void setMessage(String message)
The error message.
message
- The error message.public String getMessage()
The error message.
public BundleTaskError withMessage(String message)
The error message.
message
- The error message.public String toString()
toString
in class Object
Object.toString()
public BundleTaskError clone()