|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.BundleTaskError
public class BundleTaskError
Represents an error that occurred during a bundle task.
Constructor Summary | |
---|---|
BundleTaskError()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getCode()
Error code. |
String |
getMessage()
Error message. |
int |
hashCode()
|
void |
setCode(String code)
Error code. |
void |
setMessage(String message)
Error message. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
BundleTaskError |
withCode(String code)
Error code. |
BundleTaskError |
withMessage(String message)
Error message. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BundleTaskError()
Method Detail |
---|
public String getCode()
public void setCode(String code)
code
- Error code.public BundleTaskError withCode(String code)
Returns a reference to this object so that method calls can be chained together.
code
- Error code.
public String getMessage()
public void setMessage(String message)
message
- Error message.public BundleTaskError withMessage(String message)
Returns a reference to this object so that method calls can be chained together.
message
- Error message.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |