@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.AssociationErrorCode
public String getErrorCode()
The error code of the association deployment failure.
AssociationErrorCode
public AssociationStateReason withErrorCode(String errorCode)
The error code of the association deployment failure.
errorCode
- The error code of the association deployment failure.AssociationErrorCode
public AssociationStateReason withErrorCode(AssociationErrorCode errorCode)
The error code of the association deployment failure.
errorCode
- The error code of the association deployment failure.AssociationErrorCode
public 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 Object
Object.toString()
public AssociationStateReason clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.