public class PutRecordBatchResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
PutRecordBatchResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getEncrypted()
Indicates whether server-side encryption (SSE) was enabled during this
operation.
|
java.lang.Integer |
getFailedPutCount()
The number of records that might have failed processing.
|
java.util.List<PutRecordBatchResponseEntry> |
getRequestResponses()
The results array.
|
int |
hashCode() |
java.lang.Boolean |
isEncrypted()
Indicates whether server-side encryption (SSE) was enabled during this
operation.
|
void |
setEncrypted(java.lang.Boolean encrypted)
Indicates whether server-side encryption (SSE) was enabled during this
operation.
|
void |
setFailedPutCount(java.lang.Integer failedPutCount)
The number of records that might have failed processing.
|
void |
setRequestResponses(java.util.Collection<PutRecordBatchResponseEntry> requestResponses)
The results array.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PutRecordBatchResult |
withEncrypted(java.lang.Boolean encrypted)
Indicates whether server-side encryption (SSE) was enabled during this
operation.
|
PutRecordBatchResult |
withFailedPutCount(java.lang.Integer failedPutCount)
The number of records that might have failed processing.
|
PutRecordBatchResult |
withRequestResponses(java.util.Collection<PutRecordBatchResponseEntry> requestResponses)
The results array.
|
PutRecordBatchResult |
withRequestResponses(PutRecordBatchResponseEntry... requestResponses)
The results array.
|
public java.lang.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.
Constraints:
Range: 0 -
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 setFailedPutCount(java.lang.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.
Constraints:
Range: 0 -
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 PutRecordBatchResult withFailedPutCount(java.lang.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.
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. 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 java.lang.Boolean isEncrypted()
Indicates whether server-side encryption (SSE) was enabled during this operation.
Indicates whether server-side encryption (SSE) was enabled during this operation.
public java.lang.Boolean getEncrypted()
Indicates whether server-side encryption (SSE) was enabled during this operation.
Indicates whether server-side encryption (SSE) was enabled during this operation.
public void setEncrypted(java.lang.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 PutRecordBatchResult withEncrypted(java.lang.Boolean encrypted)
Indicates whether server-side encryption (SSE) was enabled during this operation.
Returns a reference to this object so that method calls can be chained together.
encrypted - Indicates whether server-side encryption (SSE) was enabled during this operation.
public java.util.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(java.util.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(java.util.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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.