public class PutRecordBatchResult extends Object implements Serializable
| Constructor and Description |
|---|
PutRecordBatchResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getFailedPutCount()
The number of records that might have failed processing.
|
List<PutRecordBatchResponseEntry> |
getRequestResponses()
The results array.
|
int |
hashCode() |
void |
setFailedPutCount(Integer failedPutCount)
The number of records that might have failed processing.
|
void |
setRequestResponses(Collection<PutRecordBatchResponseEntry> requestResponses)
The results array.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PutRecordBatchResult |
withFailedPutCount(Integer failedPutCount)
The number of records that might have failed processing.
|
PutRecordBatchResult |
withRequestResponses(Collection<PutRecordBatchResponseEntry> requestResponses)
The results array.
|
PutRecordBatchResult |
withRequestResponses(PutRecordBatchResponseEntry... requestResponses)
The results array.
|
public Integer getFailedPutCount()
The number of records that might have failed processing.
Constraints:
Range: 0 -
The number of records that might have failed processing.
public void setFailedPutCount(Integer failedPutCount)
The number of records that might have failed processing.
Constraints:
Range: 0 -
failedPutCount - The number of records that might have failed processing.
public PutRecordBatchResult withFailedPutCount(Integer failedPutCount)
The number of records that might have failed processing.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
failedPutCount - The number of records that might have failed processing.
public List<PutRecordBatchResponseEntry> getRequestResponses()
The results array. For each record, the index of the response element is the same as the index used in the request array.
The results array. For each record, the index of the response element is the same as the index used in the request array.
public void setRequestResponses(Collection<PutRecordBatchResponseEntry> requestResponses)
The results array. For each record, the index of the response element is the same as the index used in the request array.
requestResponses - The results array. For each record, the index of the response element is the same as the index used in the request array.
public PutRecordBatchResult withRequestResponses(PutRecordBatchResponseEntry... requestResponses)
The results array. For each record, the index of the response element is the same as the index used in the request array.
Returns a reference to this object so that method calls can be chained together.
requestResponses - The results array. For each record, the index of the response element is the same as the index used in the request array.
public PutRecordBatchResult withRequestResponses(Collection<PutRecordBatchResponseEntry> requestResponses)
The results array. For each record, the index of the response element is the same as the index used in the request array.
Returns a reference to this object so that method calls can be chained together.
requestResponses - The results array. For each record, the index of the response element is the same as the index used in the request array.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.