@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
- FleetErrorCode
public String getErrorCode()
FleetErrorCode
public ResourceError withErrorCode(String errorCode)
errorCode
- FleetErrorCode
public ResourceError withErrorCode(FleetErrorCode errorCode)
errorCode
- FleetErrorCode
public 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 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.