@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutRecordBatchResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PutRecordBatchResult() |
Modifier and Type | Method and Description |
---|---|
PutRecordBatchResult |
clone() |
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setFailedPutCount(Integer failedPutCount)
The number of records that might have failed processing.
failedPutCount
- The number of records that might have failed processing.public Integer getFailedPutCount()
The number of records that might have failed processing.
public PutRecordBatchResult withFailedPutCount(Integer failedPutCount)
The number of records that might have failed processing.
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.
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.
NOTE: This method appends the values to the existing list (if any). Use
setRequestResponses(java.util.Collection)
or withRequestResponses(java.util.Collection)
if you
want to override the existing values.
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.
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 Object
Object.toString()
public PutRecordBatchResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.