@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 Object
Object.toString()
public EnvironmentError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.