public static interface PutRecordBatchResponse.Builder extends FirehoseResponse.Builder, CopyableBuilder<PutRecordBatchResponse.Builder,PutRecordBatchResponse>
Modifier and Type | Method and Description |
---|---|
PutRecordBatchResponse.Builder |
failedPutCount(Integer failedPutCount)
The number of records that might have failed processing.
|
PutRecordBatchResponse.Builder |
requestResponses(Collection<PutRecordBatchResponseEntry> requestResponses)
The results array.
|
PutRecordBatchResponse.Builder |
requestResponses(Consumer<PutRecordBatchResponseEntry.Builder>... requestResponses)
The results array.
|
PutRecordBatchResponse.Builder |
requestResponses(PutRecordBatchResponseEntry... requestResponses)
The results array.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
PutRecordBatchResponse.Builder failedPutCount(Integer failedPutCount)
The number of records that might have failed processing.
failedPutCount
- The number of records that might have failed processing.PutRecordBatchResponse.Builder requestResponses(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.PutRecordBatchResponse.Builder requestResponses(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.PutRecordBatchResponse.Builder requestResponses(Consumer<PutRecordBatchResponseEntry.Builder>... requestResponses)
The results array. For each record, the index of the response element is the same as the index used in the request array.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #requestResponses(List)
.requestResponses
- a consumer that will call methods on List.Builder
#requestResponses(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.