@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.FleetErrorCode
public String getErrorCode()
The error code.
FleetErrorCode
public ResourceError withErrorCode(String errorCode)
The error code.
errorCode
- The error code.FleetErrorCode
public ResourceError withErrorCode(FleetErrorCode errorCode)
The error code.
errorCode
- The error code.FleetErrorCode
public 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 Object
Object.toString()
public ResourceError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.