public class ErrorDetails extends Object implements Serializable, Cloneable
Represents information about an error in AWS CodePipeline.
Constructor and Description |
---|
ErrorDetails() |
Modifier and Type | Method and Description |
---|---|
ErrorDetails |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The system ID or error number code of the error.
|
String |
getMessage()
The text of the error message.
|
int |
hashCode() |
void |
setCode(String code)
The system ID or error number code of the error.
|
void |
setMessage(String message)
The text of the error message.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ErrorDetails |
withCode(String code)
The system ID or error number code of the error.
|
ErrorDetails |
withMessage(String message)
The text of the error message.
|
public void setCode(String code)
The system ID or error number code of the error.
code
- The system ID or error number code of the error.public String getCode()
The system ID or error number code of the error.
public ErrorDetails withCode(String code)
The system ID or error number code of the error.
code
- The system ID or error number code of the error.public void setMessage(String message)
The text of the error message.
message
- The text of the error message.public String getMessage()
The text of the error message.
public ErrorDetails withMessage(String message)
The text of the error message.
message
- The text of the error message.public String toString()
toString
in class Object
Object.toString()
public ErrorDetails clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.