Interface PutRecordBatchResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<PutRecordBatchResponse.Builder,,PutRecordBatchResponse> FirehoseResponse.Builder,SdkBuilder<PutRecordBatchResponse.Builder,,PutRecordBatchResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
PutRecordBatchResponse
-
Method Summary
Modifier and TypeMethodDescriptionIndicates whether server-side encryption (SSE) was enabled during this operation.failedPutCount(Integer failedPutCount) The number of records that might have failed processing.requestResponses(Collection<PutRecordBatchResponseEntry> requestResponses) The results array.requestResponses(Consumer<PutRecordBatchResponseEntry.Builder>... requestResponses) The results array.requestResponses(PutRecordBatchResponseEntry... requestResponses) The results array.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.firehose.model.FirehoseResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
failedPutCount
The number of records that might have failed processing. This number might be greater than 0 even if the PutRecordBatch call succeeds. Check
FailedPutCountto determine whether there are records that you need to resend.- Parameters:
failedPutCount- The number of records that might have failed processing. This number might be greater than 0 even if the PutRecordBatch call succeeds. CheckFailedPutCountto determine whether there are records that you need to resend.- Returns:
- 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.
- Parameters:
encrypted- Indicates whether server-side encryption (SSE) was enabled during this operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestResponses
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.
- Parameters:
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:
- 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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
requestResponses
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 method that creates an instance of thePutRecordBatchResponseEntry.Builderavoiding the need to create one manually viaPutRecordBatchResponseEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torequestResponses(List<PutRecordBatchResponseEntry>).- Parameters:
requestResponses- a consumer that will call methods onPutRecordBatchResponseEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-