@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetAssetPropertyAggregatesErrorEntry extends Object implements Serializable, Cloneable, StructuredPojo
Contains error information for an asset property aggregate entry that is associated with the BatchGetAssetPropertyAggregates API.
| Constructor and Description |
|---|
BatchGetAssetPropertyAggregatesErrorEntry() |
| Modifier and Type | Method and Description |
|---|---|
BatchGetAssetPropertyAggregatesErrorEntry |
clone() |
boolean |
equals(Object obj) |
String |
getEntryId()
The ID of the entry.
|
String |
getErrorCode()
The error code.
|
String |
getErrorMessage()
The associated error message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEntryId(String entryId)
The ID of the entry.
|
void |
setErrorCode(String errorCode)
The error code.
|
void |
setErrorMessage(String errorMessage)
The associated error message.
|
String |
toString()
Returns a string representation of this object.
|
BatchGetAssetPropertyAggregatesErrorEntry |
withEntryId(String entryId)
The ID of the entry.
|
BatchGetAssetPropertyAggregatesErrorEntry |
withErrorCode(BatchGetAssetPropertyAggregatesErrorCode errorCode)
The error code.
|
BatchGetAssetPropertyAggregatesErrorEntry |
withErrorCode(String errorCode)
The error code.
|
BatchGetAssetPropertyAggregatesErrorEntry |
withErrorMessage(String errorMessage)
The associated error message.
|
public BatchGetAssetPropertyAggregatesErrorEntry()
public void setErrorCode(String errorCode)
The error code.
errorCode - The error code.BatchGetAssetPropertyAggregatesErrorCodepublic String getErrorCode()
The error code.
BatchGetAssetPropertyAggregatesErrorCodepublic BatchGetAssetPropertyAggregatesErrorEntry withErrorCode(String errorCode)
The error code.
errorCode - The error code.BatchGetAssetPropertyAggregatesErrorCodepublic BatchGetAssetPropertyAggregatesErrorEntry withErrorCode(BatchGetAssetPropertyAggregatesErrorCode errorCode)
The error code.
errorCode - The error code.BatchGetAssetPropertyAggregatesErrorCodepublic void setErrorMessage(String errorMessage)
The associated error message.
errorMessage - The associated error message.public String getErrorMessage()
The associated error message.
public BatchGetAssetPropertyAggregatesErrorEntry withErrorMessage(String errorMessage)
The associated error message.
errorMessage - The associated error message.public void setEntryId(String entryId)
The ID of the entry.
entryId - The ID of the entry.public String getEntryId()
The ID of the entry.
public BatchGetAssetPropertyAggregatesErrorEntry withEntryId(String entryId)
The ID of the entry.
entryId - The ID of the entry.public String toString()
toString in class ObjectObject.toString()public BatchGetAssetPropertyAggregatesErrorEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.