@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnvironmentError extends Object implements Serializable, Cloneable, StructuredPojo
The failure reasons for the environment deployment.
| Constructor and Description |
|---|
EnvironmentError() |
| Modifier and Type | Method and Description |
|---|---|
EnvironmentError |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The error code for the failure reason for the environment deployment.
|
String |
getMessage()
The error message for the failure reason for the environment deployment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCode(String code)
The error code for the failure reason for the environment deployment.
|
void |
setMessage(String message)
The error message for the failure reason for the environment deployment.
|
String |
toString()
Returns a string representation of this object.
|
EnvironmentError |
withCode(String code)
The error code for the failure reason for the environment deployment.
|
EnvironmentError |
withMessage(String message)
The error message for the failure reason for the environment deployment.
|
public void setCode(String code)
The error code for the failure reason for the environment deployment.
code - The error code for the failure reason for the environment deployment.public String getCode()
The error code for the failure reason for the environment deployment.
public EnvironmentError withCode(String code)
The error code for the failure reason for the environment deployment.
code - The error code for the failure reason for the environment deployment.public void setMessage(String message)
The error message for the failure reason for the environment deployment.
message - The error message for the failure reason for the environment deployment.public String getMessage()
The error message for the failure reason for the environment deployment.
public EnvironmentError withMessage(String message)
The error message for the failure reason for the environment deployment.
message - The error message for the failure reason for the environment deployment.public String toString()
toString in class ObjectObject.toString()public EnvironmentError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.