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 interface
BatchResultErrorEntry.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BatchResultErrorEntry.Builder
builder()
String
code()
An error code representing why the action failed on this entry.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
id()
TheId
of an entry in a batch requestString
message()
A message explaining why the action failed on this entry.List<SdkField<?>>
sdkFields()
Boolean
senderFault()
Specifies whether the error happened due to the caller of the batch API action.static Class<? extends BatchResultErrorEntry.Builder>
serializableBuilderClass()
BatchResultErrorEntry.Builder
toBuilder()
String
toString()
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 an entry in a batch request- Returns:
- The
Id
of 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:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-