@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserStackAssociationError extends Object implements Serializable, Cloneable, StructuredPojo
Describes the error that is returned when a user can’t be associated with or disassociated from a stack.
| Constructor and Description | 
|---|
| UserStackAssociationError() | 
| Modifier and Type | Method and Description | 
|---|---|
| UserStackAssociationError | clone() | 
| boolean | equals(Object obj) | 
| String | getErrorCode()
 The error code for the error that is returned when a user can’t be associated with or disassociated from a stack. | 
| String | getErrorMessage()
 The error message for the error that is returned when a user can’t be associated with or disassociated from a
 stack. | 
| UserStackAssociation | getUserStackAssociation()
 Information about the user and associated stack. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setErrorCode(String errorCode)
 The error code for the error that is returned when a user can’t be associated with or disassociated from a stack. | 
| void | setErrorMessage(String errorMessage)
 The error message for the error that is returned when a user can’t be associated with or disassociated from a
 stack. | 
| void | setUserStackAssociation(UserStackAssociation userStackAssociation)
 Information about the user and associated stack. | 
| String | toString()Returns a string representation of this object. | 
| UserStackAssociationError | withErrorCode(String errorCode)
 The error code for the error that is returned when a user can’t be associated with or disassociated from a stack. | 
| UserStackAssociationError | withErrorCode(UserStackAssociationErrorCode errorCode)
 The error code for the error that is returned when a user can’t be associated with or disassociated from a stack. | 
| UserStackAssociationError | withErrorMessage(String errorMessage)
 The error message for the error that is returned when a user can’t be associated with or disassociated from a
 stack. | 
| UserStackAssociationError | withUserStackAssociation(UserStackAssociation userStackAssociation)
 Information about the user and associated stack. | 
public void setUserStackAssociation(UserStackAssociation userStackAssociation)
Information about the user and associated stack.
userStackAssociation - Information about the user and associated stack.public UserStackAssociation getUserStackAssociation()
Information about the user and associated stack.
public UserStackAssociationError withUserStackAssociation(UserStackAssociation userStackAssociation)
Information about the user and associated stack.
userStackAssociation - Information about the user and associated stack.public void setErrorCode(String errorCode)
The error code for the error that is returned when a user can’t be associated with or disassociated from a stack.
errorCode - The error code for the error that is returned when a user can’t be associated with or disassociated from a
        stack.UserStackAssociationErrorCodepublic String getErrorCode()
The error code for the error that is returned when a user can’t be associated with or disassociated from a stack.
UserStackAssociationErrorCodepublic UserStackAssociationError withErrorCode(String errorCode)
The error code for the error that is returned when a user can’t be associated with or disassociated from a stack.
errorCode - The error code for the error that is returned when a user can’t be associated with or disassociated from a
        stack.UserStackAssociationErrorCodepublic UserStackAssociationError withErrorCode(UserStackAssociationErrorCode errorCode)
The error code for the error that is returned when a user can’t be associated with or disassociated from a stack.
errorCode - The error code for the error that is returned when a user can’t be associated with or disassociated from a
        stack.UserStackAssociationErrorCodepublic void setErrorMessage(String errorMessage)
The error message for the error that is returned when a user can’t be associated with or disassociated from a stack.
errorMessage - The error message for the error that is returned when a user can’t be associated with or disassociated
        from a stack.public String getErrorMessage()
The error message for the error that is returned when a user can’t be associated with or disassociated from a stack.
public UserStackAssociationError withErrorMessage(String errorMessage)
The error message for the error that is returned when a user can’t be associated with or disassociated from a stack.
errorMessage - The error message for the error that is returned when a user can’t be associated with or disassociated
        from a stack.public String toString()
toString in class ObjectObject.toString()public UserStackAssociationError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.