@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StackError extends Object implements Serializable, Cloneable, StructuredPojo
Contains the parameters for a stack error.
| Constructor and Description | 
|---|
StackError()  | 
| Modifier and Type | Method and Description | 
|---|---|
StackError | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getErrorCode()
 The error code of a stack error. 
 | 
String | 
getErrorMessage()
 The error message of a stack error. 
 | 
int | 
hashCode()  | 
void | 
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given  
ProtocolMarshaller. | 
void | 
setErrorCode(StackErrorCode errorCode)
 The error code of a stack error. 
 | 
void | 
setErrorCode(String errorCode)
 The error code of a stack error. 
 | 
void | 
setErrorMessage(String errorMessage)
 The error message of a stack error. 
 | 
String | 
toString()
Returns a string representation of this object; useful for testing and debugging. 
 | 
StackError | 
withErrorCode(StackErrorCode errorCode)
 The error code of a stack error. 
 | 
StackError | 
withErrorCode(String errorCode)
 The error code of a stack error. 
 | 
StackError | 
withErrorMessage(String errorMessage)
 The error message of a stack error. 
 | 
public void setErrorCode(String errorCode)
The error code of a stack error.
errorCode - The error code of a stack error.StackErrorCodepublic String getErrorCode()
The error code of a stack error.
StackErrorCodepublic StackError withErrorCode(String errorCode)
The error code of a stack error.
errorCode - The error code of a stack error.StackErrorCodepublic void setErrorCode(StackErrorCode errorCode)
The error code of a stack error.
errorCode - The error code of a stack error.StackErrorCodepublic StackError withErrorCode(StackErrorCode errorCode)
The error code of a stack error.
errorCode - The error code of a stack error.StackErrorCodepublic void setErrorMessage(String errorMessage)
The error message of a stack error.
errorMessage - The error message of a stack error.public String getErrorMessage()
The error message of a stack error.
public StackError withErrorMessage(String errorMessage)
The error message of a stack error.
errorMessage - The error message of a stack error.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.