@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchPutAssetPropertyErrorEntry extends Object implements Serializable, Cloneable, StructuredPojo
Contains error information for asset property value entries that are associated with the BatchPutAssetPropertyValue API.
Constructor and Description |
---|
BatchPutAssetPropertyErrorEntry() |
Modifier and Type | Method and Description |
---|---|
BatchPutAssetPropertyErrorEntry |
clone() |
boolean |
equals(Object obj) |
String |
getEntryId()
The ID of the failed entry.
|
List<BatchPutAssetPropertyError> |
getErrors()
The list of update property value errors.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEntryId(String entryId)
The ID of the failed entry.
|
void |
setErrors(Collection<BatchPutAssetPropertyError> errors)
The list of update property value errors.
|
String |
toString()
Returns a string representation of this object.
|
BatchPutAssetPropertyErrorEntry |
withEntryId(String entryId)
The ID of the failed entry.
|
BatchPutAssetPropertyErrorEntry |
withErrors(BatchPutAssetPropertyError... errors)
The list of update property value errors.
|
BatchPutAssetPropertyErrorEntry |
withErrors(Collection<BatchPutAssetPropertyError> errors)
The list of update property value errors.
|
public void setEntryId(String entryId)
The ID of the failed entry.
entryId
- The ID of the failed entry.public String getEntryId()
The ID of the failed entry.
public BatchPutAssetPropertyErrorEntry withEntryId(String entryId)
The ID of the failed entry.
entryId
- The ID of the failed entry.public List<BatchPutAssetPropertyError> getErrors()
The list of update property value errors.
public void setErrors(Collection<BatchPutAssetPropertyError> errors)
The list of update property value errors.
errors
- The list of update property value errors.public BatchPutAssetPropertyErrorEntry withErrors(BatchPutAssetPropertyError... errors)
The list of update property value errors.
NOTE: This method appends the values to the existing list (if any). Use
setErrors(java.util.Collection)
or withErrors(java.util.Collection)
if you want to override the
existing values.
errors
- The list of update property value errors.public BatchPutAssetPropertyErrorEntry withErrors(Collection<BatchPutAssetPropertyError> errors)
The list of update property value errors.
errors
- The list of update property value errors.public String toString()
toString
in class Object
Object.toString()
public BatchPutAssetPropertyErrorEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.