@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) |
Boolean |
getEncrypted()
Indicates whether server-side encryption (SSE) was enabled during this operation.
|
Integer |
getFailedPutCount()
The number of records that might have failed processing.
|
List<PutRecordBatchResponseEntry> |
getRequestResponses()
The results array.
|
int |
hashCode() |
Boolean |
isEncrypted()
Indicates whether server-side encryption (SSE) was enabled during this operation.
|
void |
setEncrypted(Boolean encrypted)
Indicates whether server-side encryption (SSE) was enabled during this operation.
|
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.
|
PutRecordBatchResult |
withEncrypted(Boolean encrypted)
Indicates whether server-side encryption (SSE) was enabled during this operation.
|
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. This number might be greater than 0 even if the
PutRecordBatch call succeeds. Check FailedPutCount
to determine whether there are records
that you need to resend.
failedPutCount
- The number of records that might have failed processing. This number might be greater than 0 even if the
PutRecordBatch call succeeds. Check FailedPutCount
to determine whether there are
records that you need to resend.public Integer getFailedPutCount()
The number of records that might have failed processing. This number might be greater than 0 even if the
PutRecordBatch call succeeds. Check FailedPutCount
to determine whether there are records
that you need to resend.
FailedPutCount
to determine whether there are
records that you need to resend.public PutRecordBatchResult withFailedPutCount(Integer failedPutCount)
The number of records that might have failed processing. This number might be greater than 0 even if the
PutRecordBatch call succeeds. Check FailedPutCount
to determine whether there are records
that you need to resend.
failedPutCount
- The number of records that might have failed processing. This number might be greater than 0 even if the
PutRecordBatch call succeeds. Check FailedPutCount
to determine whether there are
records that you need to resend.public void setEncrypted(Boolean encrypted)
Indicates whether server-side encryption (SSE) was enabled during this operation.
encrypted
- Indicates whether server-side encryption (SSE) was enabled during this operation.public Boolean getEncrypted()
Indicates whether server-side encryption (SSE) was enabled during this operation.
public PutRecordBatchResult withEncrypted(Boolean encrypted)
Indicates whether server-side encryption (SSE) was enabled during this operation.
encrypted
- Indicates whether server-side encryption (SSE) was enabled during this operation.public Boolean isEncrypted()
Indicates whether server-side encryption (SSE) was enabled during this operation.
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()