Interface PutRowsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutRowsRequest.Builder,,PutRowsRequest> S3TablesRequest.Builder,SdkBuilder<PutRowsRequest.Builder,,PutRowsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutRowsRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the channel to write rows to.checksumAlgorithm(String checksumAlgorithm) (Optional) The algorithm to use to calculate the checksum of the payload.checksumAlgorithm(ChecksumAlgorithm checksumAlgorithm) (Optional) The algorithm to use to calculate the checksum of the payload.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The rows to write, encoded in the format that you specify inpayloadFormat.payloadFormat(String payloadFormat) Specifies the format of the rows inpayload.payloadFormat(PayloadFormat payloadFormat) Specifies the format of the rows inpayload.The Amazon Resource Name (ARN) of the table to write rows to.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.s3tables.model.S3TablesRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
The identifier of the channel to write rows to. If you don't specify a channel, the operation uses
default. Onlydefaultis supported.- Parameters:
channelId- The identifier of the channel to write rows to. If you don't specify a channel, the operation usesdefault. Onlydefaultis supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 inpayloadFormat. 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
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 inpayload. 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
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 inpayload. 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
(Optional) The algorithm to use to calculate the checksum of the payload. Each
PutRowsrequest 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 aBadRequestExceptionerror.- Parameters:
checksumAlgorithm- (Optional) The algorithm to use to calculate the checksum of the payload. EachPutRowsrequest 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 aBadRequestExceptionerror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
checksumAlgorithm
(Optional) The algorithm to use to calculate the checksum of the payload. Each
PutRowsrequest 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 aBadRequestExceptionerror.- Parameters:
checksumAlgorithm- (Optional) The algorithm to use to calculate the checksum of the payload. EachPutRowsrequest 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 aBadRequestExceptionerror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutRowsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-