Interface UpdateTableRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateTableRequest.Builder,
,UpdateTableRequest> SdkBuilder<UpdateTableRequest.Builder,
,UpdateTableRequest> SdkPojo
,SdkRequest.Builder
,TimestreamWriteRequest.Builder
- Enclosing class:
UpdateTableRequest
-
Method Summary
Modifier and TypeMethodDescriptiondatabaseName
(String databaseName) The name of the Timestream database.default UpdateTableRequest.Builder
magneticStoreWriteProperties
(Consumer<MagneticStoreWriteProperties.Builder> magneticStoreWriteProperties) Contains properties to set on the table when enabling magnetic store writes.magneticStoreWriteProperties
(MagneticStoreWriteProperties magneticStoreWriteProperties) Contains properties to set on the table when enabling magnetic store writes.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateTableRequest.Builder
retentionProperties
(Consumer<RetentionProperties.Builder> retentionProperties) The retention duration of the memory store and the magnetic store.retentionProperties
(RetentionProperties retentionProperties) The retention duration of the memory store and the magnetic store.default UpdateTableRequest.Builder
schema
(Consumer<Schema.Builder> schema) The schema of the table.The schema of the table.The name of the Timestream table.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.timestreamwrite.model.TimestreamWriteRequest.Builder
build
-
Method Details
-
databaseName
The name of the Timestream database.
- Parameters:
databaseName
- The name of the Timestream database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableName
The name of the Timestream table.
- Parameters:
tableName
- The name of the Timestream table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionProperties
The retention duration of the memory store and the magnetic store.
- Parameters:
retentionProperties
- The retention duration of the memory store and the magnetic store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionProperties
default UpdateTableRequest.Builder retentionProperties(Consumer<RetentionProperties.Builder> retentionProperties) The retention duration of the memory store and the magnetic store.
This is a convenience method that creates an instance of theRetentionProperties.Builder
avoiding the need to create one manually viaRetentionProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toretentionProperties(RetentionProperties)
.- Parameters:
retentionProperties
- a consumer that will call methods onRetentionProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
magneticStoreWriteProperties
UpdateTableRequest.Builder magneticStoreWriteProperties(MagneticStoreWriteProperties magneticStoreWriteProperties) Contains properties to set on the table when enabling magnetic store writes.
- Parameters:
magneticStoreWriteProperties
- Contains properties to set on the table when enabling magnetic store writes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
magneticStoreWriteProperties
default UpdateTableRequest.Builder magneticStoreWriteProperties(Consumer<MagneticStoreWriteProperties.Builder> magneticStoreWriteProperties) Contains properties to set on the table when enabling magnetic store writes.
This is a convenience method that creates an instance of theMagneticStoreWriteProperties.Builder
avoiding the need to create one manually viaMagneticStoreWriteProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomagneticStoreWriteProperties(MagneticStoreWriteProperties)
.- Parameters:
magneticStoreWriteProperties
- a consumer that will call methods onMagneticStoreWriteProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
schema
The schema of the table.
- Parameters:
schema
- The schema of the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schema
The schema of the table.
This is a convenience method that creates an instance of theSchema.Builder
avoiding the need to create one manually viaSchema.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toschema(Schema)
.- Parameters:
schema
- a consumer that will call methods onSchema.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateTableRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateTableRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-