@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceError extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
ResourceError() |
| Modifier and Type | Method and Description |
|---|---|
ResourceError |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode() |
String |
getErrorMessage() |
Date |
getErrorTimestamp() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setErrorCode(String errorCode) |
void |
setErrorMessage(String errorMessage) |
void |
setErrorTimestamp(Date errorTimestamp) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ResourceError |
withErrorCode(FleetErrorCode errorCode) |
ResourceError |
withErrorCode(String errorCode) |
ResourceError |
withErrorMessage(String errorMessage) |
ResourceError |
withErrorTimestamp(Date errorTimestamp) |
public void setErrorCode(String errorCode)
errorCode - FleetErrorCodepublic String getErrorCode()
FleetErrorCodepublic ResourceError withErrorCode(String errorCode)
errorCode - FleetErrorCodepublic ResourceError withErrorCode(FleetErrorCode errorCode)
errorCode - FleetErrorCodepublic void setErrorMessage(String errorMessage)
errorMessage - public String getErrorMessage()
public ResourceError withErrorMessage(String errorMessage)
errorMessage - public void setErrorTimestamp(Date errorTimestamp)
errorTimestamp - public Date getErrorTimestamp()
public ResourceError withErrorTimestamp(Date errorTimestamp)
errorTimestamp - 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.