public static interface PutRecordBatchResponse.Builder extends FirehoseResponse.Builder, SdkPojo, CopyableBuilder<PutRecordBatchResponse.Builder,PutRecordBatchResponse>
Modifier and Type | Method and Description |
---|---|
PutRecordBatchResponse.Builder |
encrypted(Boolean encrypted)
Indicates whether server-side encryption (SSE) was enabled during this operation.
|
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, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
PutRecordBatchResponse.Builder failedPutCount(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.PutRecordBatchResponse.Builder encrypted(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.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.