CopyableBuilder<PutRecordsResponse.Builder,PutRecordsResponse>, SdkBuilder<PutRecordsResponse.Builder,PutRecordsResponse>public static interface PutRecordsResponse.Builder extends CopyableBuilder<PutRecordsResponse.Builder,PutRecordsResponse>
| Modifier and Type | Method | Description |
|---|---|---|
PutRecordsResponse.Builder |
failedRecordCount(Integer failedRecordCount) |
The number of unsuccessfully processed records in a
PutRecords request. |
PutRecordsResponse.Builder |
records(Collection<PutRecordsResultEntry> records) |
An array of successfully and unsuccessfully processed record results, correlated with the request by natural
ordering.
|
PutRecordsResponse.Builder |
records(PutRecordsResultEntry... records) |
An array of successfully and unsuccessfully processed record results, correlated with the request by natural
ordering.
|
copyapply, buildPutRecordsResponse.Builder failedRecordCount(Integer failedRecordCount)
The number of unsuccessfully processed records in a PutRecords request.
failedRecordCount - The number of unsuccessfully processed records in a PutRecords request.PutRecordsResponse.Builder records(Collection<PutRecordsResultEntry> records)
An array of successfully and unsuccessfully processed record results, correlated with the request by natural
ordering. A record that is successfully added to a stream includes SequenceNumber and
ShardId in the result. A record that fails to be added to a stream includes
ErrorCode and ErrorMessage in the result.
records - An array of successfully and unsuccessfully processed record results, correlated with the request by
natural ordering. A record that is successfully added to a stream includes SequenceNumber
and ShardId in the result. A record that fails to be added to a stream includes
ErrorCode and ErrorMessage in the result.PutRecordsResponse.Builder records(PutRecordsResultEntry... records)
An array of successfully and unsuccessfully processed record results, correlated with the request by natural
ordering. A record that is successfully added to a stream includes SequenceNumber and
ShardId in the result. A record that fails to be added to a stream includes
ErrorCode and ErrorMessage in the result.
NOTE: This method appends the values to the existing list (if any). Use
#setRecords(java.util.Collection) or #withRecords(java.util.Collection) if you want to
override the existing values.
records - An array of successfully and unsuccessfully processed record results, correlated with the request by
natural ordering. A record that is successfully added to a stream includes SequenceNumber
and ShardId in the result. A record that fails to be added to a stream includes
ErrorCode and ErrorMessage in the result.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.