@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnvironmentError extends Object implements Serializable, Cloneable, StructuredPojo
The parent object that contains error information associated with your configuration settings.
Constructor and Description |
---|
EnvironmentError() |
Modifier and Type | Method and Description |
---|---|
EnvironmentError |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code returned by the environment error object.
|
String |
getMessage()
The message returned by the environment error object.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorCode(String errorCode)
The error code returned by the environment error object.
|
void |
setMessage(String message)
The message returned by the environment error object.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
EnvironmentError |
withErrorCode(String errorCode)
The error code returned by the environment error object.
|
EnvironmentError |
withMessage(String message)
The message returned by the environment error object.
|
public void setErrorCode(String errorCode)
The error code returned by the environment error object.
errorCode
- The error code returned by the environment error object.public String getErrorCode()
The error code returned by the environment error object.
public EnvironmentError withErrorCode(String errorCode)
The error code returned by the environment error object.
errorCode
- The error code returned by the environment error object.public void setMessage(String message)
The message returned by the environment error object.
message
- The message returned by the environment error object.public String getMessage()
The message returned by the environment error object.
public EnvironmentError withMessage(String message)
The message returned by the environment error object.
message
- The message returned by the environment error object.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.