@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StackError extends Object implements Serializable, Cloneable, StructuredPojo
Describes a stack error.
| Constructor and Description |
|---|
StackError() |
| Modifier and Type | Method and Description |
|---|---|
StackError |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code.
|
String |
getErrorMessage()
The error message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setErrorCode(StackErrorCode errorCode)
The error code.
|
void |
setErrorCode(String errorCode)
The error code.
|
void |
setErrorMessage(String errorMessage)
The error message.
|
String |
toString()
Returns a string representation of this object.
|
StackError |
withErrorCode(StackErrorCode errorCode)
The error code.
|
StackError |
withErrorCode(String errorCode)
The error code.
|
StackError |
withErrorMessage(String errorMessage)
The error message.
|
public void setErrorCode(String errorCode)
The error code.
errorCode - The error code.StackErrorCodepublic String getErrorCode()
The error code.
StackErrorCodepublic StackError withErrorCode(String errorCode)
The error code.
errorCode - The error code.StackErrorCodepublic void setErrorCode(StackErrorCode errorCode)
The error code.
errorCode - The error code.StackErrorCodepublic StackError withErrorCode(StackErrorCode errorCode)
The error code.
errorCode - The error code.StackErrorCodepublic void setErrorMessage(String errorMessage)
The error message.
errorMessage - The error message.public String getErrorMessage()
The error message.
public StackError withErrorMessage(String errorMessage)
The error message.
errorMessage - The error message.public String toString()
toString in class ObjectObject.toString()public StackError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.