public static interface WriteRecordsRequest.Builder extends TimestreamWriteRequest.Builder, SdkPojo, CopyableBuilder<WriteRecordsRequest.Builder,WriteRecordsRequest>
| Modifier and Type | Method and Description |
|---|---|
default WriteRecordsRequest.Builder |
commonAttributes(Consumer<Record.Builder> commonAttributes)
A record containing the common measure, dimension, time, and version attributes shared across all the records
in the request.
|
WriteRecordsRequest.Builder |
commonAttributes(Record commonAttributes)
A record containing the common measure, dimension, time, and version attributes shared across all the records
in the request.
|
WriteRecordsRequest.Builder |
databaseName(String databaseName)
The name of the Timestream database.
|
WriteRecordsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
WriteRecordsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
WriteRecordsRequest.Builder |
records(Collection<Record> records)
An array of records containing the unique measure, dimension, time, and version attributes for each time
series data point.
|
WriteRecordsRequest.Builder |
records(Consumer<Record.Builder>... records)
An array of records containing the unique measure, dimension, time, and version attributes for each time
series data point.
|
WriteRecordsRequest.Builder |
records(Record... records)
An array of records containing the unique measure, dimension, time, and version attributes for each time
series data point.
|
WriteRecordsRequest.Builder |
tableName(String tableName)
The name of the Timestream table.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildWriteRecordsRequest.Builder databaseName(String databaseName)
The name of the Timestream database.
databaseName - The name of the Timestream database.WriteRecordsRequest.Builder tableName(String tableName)
The name of the Timestream table.
tableName - The name of the Timestream table.WriteRecordsRequest.Builder commonAttributes(Record commonAttributes)
A record containing the common measure, dimension, time, and version attributes shared across all the records
in the request. The measure and dimension attributes specified will be merged with the measure and dimension
attributes in the records object when the data is written into Timestream. Dimensions may not overlap, or a
ValidationException will be thrown. In other words, a record must contain dimensions with unique
names.
commonAttributes - A record containing the common measure, dimension, time, and version attributes shared across all the
records in the request. The measure and dimension attributes specified will be merged with the measure
and dimension attributes in the records object when the data is written into Timestream. Dimensions
may not overlap, or a ValidationException will be thrown. In other words, a record must
contain dimensions with unique names.default WriteRecordsRequest.Builder commonAttributes(Consumer<Record.Builder> commonAttributes)
A record containing the common measure, dimension, time, and version attributes shared across all the records
in the request. The measure and dimension attributes specified will be merged with the measure and dimension
attributes in the records object when the data is written into Timestream. Dimensions may not overlap, or a
ValidationException will be thrown. In other words, a record must contain dimensions with unique
names.
Record.Builder avoiding the need to
create one manually via Record.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to commonAttributes(Record).
commonAttributes - a consumer that will call methods on Record.BuildercommonAttributes(Record)WriteRecordsRequest.Builder records(Collection<Record> records)
An array of records containing the unique measure, dimension, time, and version attributes for each time series data point.
records - An array of records containing the unique measure, dimension, time, and version attributes for each
time series data point.WriteRecordsRequest.Builder records(Record... records)
An array of records containing the unique measure, dimension, time, and version attributes for each time series data point.
records - An array of records containing the unique measure, dimension, time, and version attributes for each
time series data point.WriteRecordsRequest.Builder records(Consumer<Record.Builder>... records)
An array of records containing the unique measure, dimension, time, and version attributes for each time series data point.
This is a convenience method that creates an instance of theRecord.Builder avoiding the need to create one
manually via Record.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #records(List.
records - a consumer that will call methods on
Record.Builder#records(java.util.Collection) WriteRecordsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderWriteRecordsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.