@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchPutAssetPropertyError extends Object implements Serializable, Cloneable, StructuredPojo
Contains error information from updating a batch of asset property values.
| Constructor and Description |
|---|
BatchPutAssetPropertyError() |
| Modifier and Type | Method and Description |
|---|---|
BatchPutAssetPropertyError |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code.
|
String |
getErrorMessage()
The associated error message.
|
List<TimeInNanos> |
getTimestamps()
A list of timestamps for each error, if any.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setErrorCode(String errorCode)
The error code.
|
void |
setErrorMessage(String errorMessage)
The associated error message.
|
void |
setTimestamps(Collection<TimeInNanos> timestamps)
A list of timestamps for each error, if any.
|
String |
toString()
Returns a string representation of this object.
|
BatchPutAssetPropertyError |
withErrorCode(BatchPutAssetPropertyValueErrorCode errorCode)
The error code.
|
BatchPutAssetPropertyError |
withErrorCode(String errorCode)
The error code.
|
BatchPutAssetPropertyError |
withErrorMessage(String errorMessage)
The associated error message.
|
BatchPutAssetPropertyError |
withTimestamps(Collection<TimeInNanos> timestamps)
A list of timestamps for each error, if any.
|
BatchPutAssetPropertyError |
withTimestamps(TimeInNanos... timestamps)
A list of timestamps for each error, if any.
|
public void setErrorCode(String errorCode)
The error code.
errorCode - The error code.BatchPutAssetPropertyValueErrorCodepublic String getErrorCode()
The error code.
BatchPutAssetPropertyValueErrorCodepublic BatchPutAssetPropertyError withErrorCode(String errorCode)
The error code.
errorCode - The error code.BatchPutAssetPropertyValueErrorCodepublic BatchPutAssetPropertyError withErrorCode(BatchPutAssetPropertyValueErrorCode errorCode)
The error code.
errorCode - The error code.BatchPutAssetPropertyValueErrorCodepublic void setErrorMessage(String errorMessage)
The associated error message.
errorMessage - The associated error message.public String getErrorMessage()
The associated error message.
public BatchPutAssetPropertyError withErrorMessage(String errorMessage)
The associated error message.
errorMessage - The associated error message.public List<TimeInNanos> getTimestamps()
A list of timestamps for each error, if any.
public void setTimestamps(Collection<TimeInNanos> timestamps)
A list of timestamps for each error, if any.
timestamps - A list of timestamps for each error, if any.public BatchPutAssetPropertyError withTimestamps(TimeInNanos... timestamps)
A list of timestamps for each error, if any.
NOTE: This method appends the values to the existing list (if any). Use
setTimestamps(java.util.Collection) or withTimestamps(java.util.Collection) if you want to
override the existing values.
timestamps - A list of timestamps for each error, if any.public BatchPutAssetPropertyError withTimestamps(Collection<TimeInNanos> timestamps)
A list of timestamps for each error, if any.
timestamps - A list of timestamps for each error, if any.public String toString()
toString in class ObjectObject.toString()public BatchPutAssetPropertyError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.