@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.BatchGetAssetPropertyAggregatesErrorCode
public String getErrorCode()
The error code.
BatchGetAssetPropertyAggregatesErrorCode
public BatchGetAssetPropertyAggregatesErrorEntry withErrorCode(String errorCode)
The error code.
errorCode
- The error code.BatchGetAssetPropertyAggregatesErrorCode
public BatchGetAssetPropertyAggregatesErrorEntry withErrorCode(BatchGetAssetPropertyAggregatesErrorCode errorCode)
The error code.
errorCode
- The error code.BatchGetAssetPropertyAggregatesErrorCode
public 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 Object
Object.toString()
public BatchGetAssetPropertyAggregatesErrorEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.