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 ErrorDetailsclone()booleanequals(Object obj)StringgetCode()The system ID or error number code of the error.StringgetMessage()The text of the error message.inthashCode()voidsetCode(String code)The system ID or error number code of the error.voidsetMessage(String message)The text of the error message.StringtoString()Returns a string representation of this object; useful for testing and debugging.ErrorDetailswithCode(String code)The system ID or error number code of the error.ErrorDetailswithMessage(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ErrorDetails clone()
-
-