Interface PutRecordsResultEntry.Builder

    • Method Detail

      • sequenceNumber

        PutRecordsResultEntry.Builder sequenceNumber​(String sequenceNumber)

        The sequence number for an individual record result.

        Parameters:
        sequenceNumber - The sequence number for an individual record result.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • shardId

        PutRecordsResultEntry.Builder shardId​(String shardId)

        The shard ID for an individual record result.

        Parameters:
        shardId - The shard ID for an individual record result.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errorCode

        PutRecordsResultEntry.Builder errorCode​(String errorCode)

        The error code for an individual record result. ErrorCodes can be either ProvisionedThroughputExceededException or InternalFailure.

        Parameters:
        errorCode - The error code for an individual record result. ErrorCodes can be either ProvisionedThroughputExceededException or InternalFailure.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errorMessage

        PutRecordsResultEntry.Builder errorMessage​(String errorMessage)

        The error message for an individual record result. An ErrorCode value of ProvisionedThroughputExceededException has an error message that includes the account ID, stream name, and shard ID. An ErrorCode value of InternalFailure has the error message "Internal Service Failure".

        Parameters:
        errorMessage - The error message for an individual record result. An ErrorCode value of ProvisionedThroughputExceededException has an error message that includes the account ID, stream name, and shard ID. An ErrorCode value of InternalFailure has the error message "Internal Service Failure".
        Returns:
        Returns a reference to this object so that method calls can be chained together.