@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceError extends Object implements Serializable, Cloneable, StructuredPojo
Describes a resource error.
| Constructor and Description | 
|---|
| ResourceError() | 
| Modifier and Type | Method and Description | 
|---|---|
| ResourceError | clone() | 
| boolean | equals(Object obj) | 
| String | getErrorCode()
 The error code. | 
| String | getErrorMessage()
 The error message. | 
| Date | getErrorTimestamp()
 The time the error occurred. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setErrorCode(String errorCode)
 The error code. | 
| void | setErrorMessage(String errorMessage)
 The error message. | 
| void | setErrorTimestamp(Date errorTimestamp)
 The time the error occurred. | 
| String | toString()Returns a string representation of this object. | 
| ResourceError | withErrorCode(FleetErrorCode errorCode)
 The error code. | 
| ResourceError | withErrorCode(String errorCode)
 The error code. | 
| ResourceError | withErrorMessage(String errorMessage)
 The error message. | 
| ResourceError | withErrorTimestamp(Date errorTimestamp)
 The time the error occurred. | 
public void setErrorCode(String errorCode)
The error code.
errorCode - The error code.FleetErrorCodepublic String getErrorCode()
The error code.
FleetErrorCodepublic ResourceError withErrorCode(String errorCode)
The error code.
errorCode - The error code.FleetErrorCodepublic ResourceError withErrorCode(FleetErrorCode errorCode)
The error code.
errorCode - The error code.FleetErrorCodepublic void setErrorMessage(String errorMessage)
The error message.
errorMessage - The error message.public String getErrorMessage()
The error message.
public ResourceError withErrorMessage(String errorMessage)
The error message.
errorMessage - The error message.public void setErrorTimestamp(Date errorTimestamp)
The time the error occurred.
errorTimestamp - The time the error occurred.public Date getErrorTimestamp()
The time the error occurred.
public ResourceError withErrorTimestamp(Date errorTimestamp)
The time the error occurred.
errorTimestamp - The time the error occurred.public String toString()
toString in class ObjectObject.toString()public ResourceError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.