@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchResultErrorEntry extends Object implements Serializable, Cloneable, StructuredPojo
Gives a detailed description of the result of an action on each entry in the request.
Constructor and Description |
---|
BatchResultErrorEntry() |
Modifier and Type | Method and Description |
---|---|
BatchResultErrorEntry |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
An error code representing why the action failed on this entry.
|
String |
getId()
The
Id of an entry in a batch request. |
String |
getMessage()
A message explaining why the action failed on this entry.
|
Boolean |
getSenderFault()
Specifies whether the error happened due to the caller of the batch API action.
|
int |
hashCode() |
Boolean |
isSenderFault()
Specifies whether the error happened due to the caller of the batch API action.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCode(String code)
An error code representing why the action failed on this entry.
|
void |
setId(String id)
The
Id of an entry in a batch request. |
void |
setMessage(String message)
A message explaining why the action failed on this entry.
|
void |
setSenderFault(Boolean senderFault)
Specifies whether the error happened due to the caller of the batch API action.
|
String |
toString()
Returns a string representation of this object.
|
BatchResultErrorEntry |
withCode(String code)
An error code representing why the action failed on this entry.
|
BatchResultErrorEntry |
withId(String id)
The
Id of an entry in a batch request. |
BatchResultErrorEntry |
withMessage(String message)
A message explaining why the action failed on this entry.
|
BatchResultErrorEntry |
withSenderFault(Boolean senderFault)
Specifies whether the error happened due to the caller of the batch API action.
|
public void setId(String id)
The Id
of an entry in a batch request.
id
- The Id
of an entry in a batch request.public String getId()
The Id
of an entry in a batch request.
Id
of an entry in a batch request.public BatchResultErrorEntry withId(String id)
The Id
of an entry in a batch request.
id
- The Id
of an entry in a batch request.public void setSenderFault(Boolean senderFault)
Specifies whether the error happened due to the caller of the batch API action.
senderFault
- Specifies whether the error happened due to the caller of the batch API action.public Boolean getSenderFault()
Specifies whether the error happened due to the caller of the batch API action.
public BatchResultErrorEntry withSenderFault(Boolean senderFault)
Specifies whether the error happened due to the caller of the batch API action.
senderFault
- Specifies whether the error happened due to the caller of the batch API action.public Boolean isSenderFault()
Specifies whether the error happened due to the caller of the batch API action.
public void setCode(String code)
An error code representing why the action failed on this entry.
code
- An error code representing why the action failed on this entry.public String getCode()
An error code representing why the action failed on this entry.
public BatchResultErrorEntry withCode(String code)
An error code representing why the action failed on this entry.
code
- An error code representing why the action failed on this entry.public void setMessage(String message)
A message explaining why the action failed on this entry.
message
- A message explaining why the action failed on this entry.public String getMessage()
A message explaining why the action failed on this entry.
public BatchResultErrorEntry withMessage(String message)
A message explaining why the action failed on this entry.
message
- A message explaining why the action failed on this entry.public String toString()
toString
in class Object
Object.toString()
public BatchResultErrorEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.