Interface PutRowsRequest.Builder

  • Method Details

    • tableARN

      PutRowsRequest.Builder tableARN(String tableARN)

      The Amazon Resource Name (ARN) of the table to write rows to.

      Parameters:
      tableARN - The Amazon Resource Name (ARN) of the table to write rows to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • channelId

      PutRowsRequest.Builder channelId(String channelId)

      The identifier of the channel to write rows to. If you don't specify a channel, the operation uses default. Only default is supported.

      Parameters:
      channelId - The identifier of the channel to write rows to. If you don't specify a channel, the operation uses default. Only default is supported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • payload

      PutRowsRequest.Builder payload(SdkBytes payload)

      The rows to write, encoded in the format that you specify in payloadFormat. The maximum payload size is 50 MiB (52,428,800 bytes), and the maximum number of rows is 500,000.

      Parameters:
      payload - The rows to write, encoded in the format that you specify in payloadFormat. The maximum payload size is 50 MiB (52,428,800 bytes), and the maximum number of rows is 500,000.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • payloadFormat

      PutRowsRequest.Builder payloadFormat(String payloadFormat)

      Specifies the format of the rows in payload. The following values are valid:

      • JSON – Newline-delimited JSON: each row is one JSON object on its own line.

      • AVRO – Apache Avro data in the Object Container File (OCF) format. Other Avro encodings, such as single-object encoding or Avro data without the container, aren't accepted. Each field of the writer schema must match a column of the table.

      Parameters:
      payloadFormat - Specifies the format of the rows in payload. The following values are valid:

      • JSON – Newline-delimited JSON: each row is one JSON object on its own line.

      • AVRO – Apache Avro data in the Object Container File (OCF) format. Other Avro encodings, such as single-object encoding or Avro data without the container, aren't accepted. Each field of the writer schema must match a column of the table.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • payloadFormat

      PutRowsRequest.Builder payloadFormat(PayloadFormat payloadFormat)

      Specifies the format of the rows in payload. The following values are valid:

      • JSON – Newline-delimited JSON: each row is one JSON object on its own line.

      • AVRO – Apache Avro data in the Object Container File (OCF) format. Other Avro encodings, such as single-object encoding or Avro data without the container, aren't accepted. Each field of the writer schema must match a column of the table.

      Parameters:
      payloadFormat - Specifies the format of the rows in payload. The following values are valid:

      • JSON – Newline-delimited JSON: each row is one JSON object on its own line.

      • AVRO – Apache Avro data in the Object Container File (OCF) format. Other Avro encodings, such as single-object encoding or Avro data without the container, aren't accepted. Each field of the writer schema must match a column of the table.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • checksumAlgorithm

      PutRowsRequest.Builder checksumAlgorithm(String checksumAlgorithm)

      (Optional) The algorithm to use to calculate the checksum of the payload. Each PutRows request must include a payload checksum. If you use an AWS SDK, the SDK calculates the checksum for you. If the checksum doesn't match the payload, the request fails with a BadRequestException error.

      Parameters:
      checksumAlgorithm - (Optional) The algorithm to use to calculate the checksum of the payload. Each PutRows request must include a payload checksum. If you use an AWS SDK, the SDK calculates the checksum for you. If the checksum doesn't match the payload, the request fails with a BadRequestException error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • checksumAlgorithm

      PutRowsRequest.Builder checksumAlgorithm(ChecksumAlgorithm checksumAlgorithm)

      (Optional) The algorithm to use to calculate the checksum of the payload. Each PutRows request must include a payload checksum. If you use an AWS SDK, the SDK calculates the checksum for you. If the checksum doesn't match the payload, the request fails with a BadRequestException error.

      Parameters:
      checksumAlgorithm - (Optional) The algorithm to use to calculate the checksum of the payload. Each PutRows request must include a payload checksum. If you use an AWS SDK, the SDK calculates the checksum for you. If the checksum doesn't match the payload, the request fails with a BadRequestException error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      PutRowsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.