@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetAssetPropertyAggregatesErrorInfo extends Object implements Serializable, Cloneable, StructuredPojo
Contains the error code and the timestamp for an asset property aggregate entry that is associated with the BatchGetAssetPropertyAggregates API.
Constructor and Description |
---|
BatchGetAssetPropertyAggregatesErrorInfo() |
Modifier and Type | Method and Description |
---|---|
BatchGetAssetPropertyAggregatesErrorInfo |
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.
|
BatchGetAssetPropertyAggregatesErrorInfo |
withErrorCode(BatchGetAssetPropertyAggregatesErrorCode errorCode)
The error code.
|
BatchGetAssetPropertyAggregatesErrorInfo |
withErrorCode(String errorCode)
The error code.
|
BatchGetAssetPropertyAggregatesErrorInfo |
withErrorTimestamp(Date errorTimestamp)
The date the error occurred, in Unix epoch time.
|
public BatchGetAssetPropertyAggregatesErrorInfo()
public void setErrorCode(String errorCode)
The error code.
errorCode
- The error code.BatchGetAssetPropertyAggregatesErrorCode
public String getErrorCode()
The error code.
BatchGetAssetPropertyAggregatesErrorCode
public BatchGetAssetPropertyAggregatesErrorInfo withErrorCode(String errorCode)
The error code.
errorCode
- The error code.BatchGetAssetPropertyAggregatesErrorCode
public BatchGetAssetPropertyAggregatesErrorInfo withErrorCode(BatchGetAssetPropertyAggregatesErrorCode errorCode)
The error code.
errorCode
- The error code.BatchGetAssetPropertyAggregatesErrorCode
public 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 BatchGetAssetPropertyAggregatesErrorInfo 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 Object
Object.toString()
public BatchGetAssetPropertyAggregatesErrorInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.