Class ErrorDetails
- java.lang.Object
-
- com.amazonaws.services.codepipeline.model.ErrorDetails
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ErrorDetails extends Object implements Serializable, Cloneable
Represents information about an error in AWS CodePipeline.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ErrorDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setCode
public void setCode(String code)
The system ID or error number code of the error.
- Parameters:
code
- The system ID or error number code of the error.
-
getCode
public String getCode()
The system ID or error number code of the error.
- Returns:
- The system ID or error number code of the error.
-
withCode
public ErrorDetails withCode(String code)
The system ID or error number code of the error.
- Parameters:
code
- The system ID or error number code of the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMessage
public void setMessage(String message)
The text of the error message.
- Parameters:
message
- The text of the error message.
-
getMessage
public String getMessage()
The text of the error message.
- Returns:
- The text of the error message.
-
withMessage
public ErrorDetails withMessage(String message)
The text of the error message.
- Parameters:
message
- The text of the error message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ErrorDetails clone()
-
-