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