Class FailedBatchItem
- java.lang.Object
-
- software.amazon.awssdk.services.honeycode.model.FailedBatchItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FailedBatchItem.Builder,FailedBatchItem>
@Generated("software.amazon.awssdk:codegen") public final class FailedBatchItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FailedBatchItem.Builder,FailedBatchItem>
A single item in a batch that failed to perform the intended action because of an error preventing it from succeeding.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFailedBatchItem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FailedBatchItem.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringerrorMessage()The error message that indicates why the batch item failed.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The id of the batch item that failed.List<SdkField<?>>sdkFields()static Class<? extends FailedBatchItem.Builder>serializableBuilderClass()FailedBatchItem.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
id
public final 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.
- Returns:
- 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.
-
errorMessage
public final String errorMessage()
The error message that indicates why the batch item failed.
- Returns:
- The error message that indicates why the batch item failed.
-
toBuilder
public FailedBatchItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FailedBatchItem.Builder,FailedBatchItem>
-
builder
public static FailedBatchItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends FailedBatchItem.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-