Interface PutRecordBatchResponse.Builder

    • Method Detail

      • 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

        PutRecordBatchResponse.Builder encrypted​(Boolean 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

        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.