@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ErrorDetails extends Object implements Serializable, Cloneable, StructuredPojo
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.