Class BatchResultErrorEntry
- java.lang.Object
-
- software.amazon.awssdk.services.sns.model.BatchResultErrorEntry
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BatchResultErrorEntry.Builder,BatchResultErrorEntry>
@Generated("software.amazon.awssdk:codegen") public final class BatchResultErrorEntry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BatchResultErrorEntry.Builder,BatchResultErrorEntry>
Gives a detailed description of failed messages in the batch.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBatchResultErrorEntry.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BatchResultErrorEntry.Builderbuilder()Stringcode()An error code representing why the action failed on this entry.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()TheIdof an entry in a batch requestStringmessage()A message explaining why the action failed on this entry.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()BooleansenderFault()Specifies whether the error happened due to the caller of the batch API action.static Class<? extends BatchResultErrorEntry.Builder>serializableBuilderClass()BatchResultErrorEntry.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
Idof an entry in a batch request- Returns:
- The
Idof an entry in a batch request
-
code
public final String code()
An error code representing why the action failed on this entry.
- Returns:
- An error code representing why the action failed on this entry.
-
message
public final String message()
A message explaining why the action failed on this entry.
- Returns:
- A message explaining why the action failed on this entry.
-
senderFault
public final Boolean senderFault()
Specifies whether the error happened due to the caller of the batch API action.
- Returns:
- Specifies whether the error happened due to the caller of the batch API action.
-
toBuilder
public BatchResultErrorEntry.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BatchResultErrorEntry.Builder,BatchResultErrorEntry>
-
builder
public static BatchResultErrorEntry.Builder builder()
-
serializableBuilderClass
public static Class<? extends BatchResultErrorEntry.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-