@Generated(value="software.amazon.awssdk:codegen") public class BatchResultErrorEntry extends Object implements ToCopyableBuilder<BatchResultErrorEntry.Builder,BatchResultErrorEntry>
This is used in the responses of batch API to give a detailed description of the result of an action on each entry in the request.
Modifier and Type | Class and Description |
---|---|
static interface |
BatchResultErrorEntry.Builder |
Modifier and Type | Method and Description |
---|---|
static BatchResultErrorEntry.Builder |
builder() |
String |
code()
An error code representing why the action failed on this entry.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The
Id of an entry in a batch request. |
String |
message()
A message explaining why the action failed on this entry.
|
Boolean |
senderFault()
Specifies whether the error happened due to the sender's fault.
|
static Class<? extends BatchResultErrorEntry.Builder> |
serializableBuilderClass() |
BatchResultErrorEntry.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String id()
The Id
of an entry in a batch request.
Id
of an entry in a batch request.public Boolean senderFault()
Specifies whether the error happened due to the sender's fault.
public String code()
An error code representing why the action failed on this entry.
public String message()
A message explaining why the action failed on this entry.
public BatchResultErrorEntry.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<BatchResultErrorEntry.Builder,BatchResultErrorEntry>
public static BatchResultErrorEntry.Builder builder()
public static Class<? extends BatchResultErrorEntry.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.