@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetAssetPropertyValueErrorInfo extends Object implements Serializable, Cloneable, StructuredPojo
The error information, such as the error code and the timestamp.
Constructor and Description |
---|
BatchGetAssetPropertyValueErrorInfo() |
Modifier and Type | Method and Description |
---|---|
BatchGetAssetPropertyValueErrorInfo |
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.
|
BatchGetAssetPropertyValueErrorInfo |
withErrorCode(BatchGetAssetPropertyValueErrorCode errorCode)
The error code.
|
BatchGetAssetPropertyValueErrorInfo |
withErrorCode(String errorCode)
The error code.
|
BatchGetAssetPropertyValueErrorInfo |
withErrorTimestamp(Date errorTimestamp)
The date the error occurred, in Unix epoch time.
|
public void setErrorCode(String errorCode)
The error code.
errorCode
- The error code.BatchGetAssetPropertyValueErrorCode
public String getErrorCode()
The error code.
BatchGetAssetPropertyValueErrorCode
public BatchGetAssetPropertyValueErrorInfo withErrorCode(String errorCode)
The error code.
errorCode
- The error code.BatchGetAssetPropertyValueErrorCode
public BatchGetAssetPropertyValueErrorInfo withErrorCode(BatchGetAssetPropertyValueErrorCode errorCode)
The error code.
errorCode
- The error code.BatchGetAssetPropertyValueErrorCode
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 BatchGetAssetPropertyValueErrorInfo 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 BatchGetAssetPropertyValueErrorInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.