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.BuildermagneticStoreWriteProperties(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.BuilderretentionProperties(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.Builderschema(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaRetentionProperties.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaMagneticStoreWriteProperties.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaSchema.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-