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