@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FailedBatchItem extends Object implements Serializable, Cloneable, StructuredPojo
A single item in a batch that failed to perform the intended action because of an error preventing it from succeeding.
| Constructor and Description |
|---|
FailedBatchItem() |
| Modifier and Type | Method and Description |
|---|---|
FailedBatchItem |
clone() |
boolean |
equals(Object obj) |
String |
getErrorMessage()
The error message that indicates why the batch item failed.
|
String |
getId()
The id of the batch item that failed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setErrorMessage(String errorMessage)
The error message that indicates why the batch item failed.
|
void |
setId(String id)
The id of the batch item that failed.
|
String |
toString()
Returns a string representation of this object.
|
FailedBatchItem |
withErrorMessage(String errorMessage)
The error message that indicates why the batch item failed.
|
FailedBatchItem |
withId(String id)
The id of the batch item that failed.
|
public void setId(String id)
The id of the batch item that failed. This is the batch item id for the BatchCreateTableRows and BatchUpsertTableRows operations and the row id for the BatchUpdateTableRows and BatchDeleteTableRows operations.
id - The id of the batch item that failed. This is the batch item id for the BatchCreateTableRows and
BatchUpsertTableRows operations and the row id for the BatchUpdateTableRows and BatchDeleteTableRows
operations.public String getId()
The id of the batch item that failed. This is the batch item id for the BatchCreateTableRows and BatchUpsertTableRows operations and the row id for the BatchUpdateTableRows and BatchDeleteTableRows operations.
public FailedBatchItem withId(String id)
The id of the batch item that failed. This is the batch item id for the BatchCreateTableRows and BatchUpsertTableRows operations and the row id for the BatchUpdateTableRows and BatchDeleteTableRows operations.
id - The id of the batch item that failed. This is the batch item id for the BatchCreateTableRows and
BatchUpsertTableRows operations and the row id for the BatchUpdateTableRows and BatchDeleteTableRows
operations.public void setErrorMessage(String errorMessage)
The error message that indicates why the batch item failed.
errorMessage - The error message that indicates why the batch item failed.public String getErrorMessage()
The error message that indicates why the batch item failed.
public FailedBatchItem withErrorMessage(String errorMessage)
The error message that indicates why the batch item failed.
errorMessage - The error message that indicates why the batch item failed.public String toString()
toString in class ObjectObject.toString()public FailedBatchItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.