@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnvironmentError extends Object implements Serializable, Cloneable, StructuredPojo
Error messages for environment variables that couldn't be applied.
Constructor and Description |
---|
EnvironmentError() |
Modifier and Type | Method and Description |
---|---|
EnvironmentError |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code.
|
String |
getMessage()
The error message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorCode(String errorCode)
The error code.
|
void |
setMessage(String message)
The error message.
|
String |
toString()
Returns a string representation of this object.
|
EnvironmentError |
withErrorCode(String errorCode)
The error code.
|
EnvironmentError |
withMessage(String message)
The error message.
|
public void setErrorCode(String errorCode)
The error code.
errorCode
- The error code.public String getErrorCode()
The error code.
public EnvironmentError withErrorCode(String errorCode)
The error code.
errorCode
- The error code.public void setMessage(String message)
The error message.
message
- The error message.public String getMessage()
The error message.
public EnvironmentError withMessage(String message)
The error message.
message
- The error message.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.