Interface PutRecordBatchResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<PutRecordBatchResponse.Builder,PutRecordBatchResponse>, FirehoseResponse.Builder, SdkBuilder<PutRecordBatchResponse.Builder,PutRecordBatchResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
PutRecordBatchResponse

public static interface PutRecordBatchResponse.Builder extends FirehoseResponse.Builder, SdkPojo, CopyableBuilder<PutRecordBatchResponse.Builder,PutRecordBatchResponse>
  • Method Details

    • failedPutCount

      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.

      Parameters:
      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:
      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

      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(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.

      This is a convenience method that creates an instance of the PutRecordBatchResponseEntry.Builder avoiding the need to create one manually via PutRecordBatchResponseEntry.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to requestResponses(List<PutRecordBatchResponseEntry>).

      Parameters:
      requestResponses - a consumer that will call methods on PutRecordBatchResponseEntry.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: