Interface TableOptimizerConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TableOptimizerConfiguration.Builder,,TableOptimizerConfiguration> SdkBuilder<TableOptimizerConfiguration.Builder,,TableOptimizerConfiguration> SdkPojo
- Enclosing class:
TableOptimizerConfiguration
-
Method Summary
Modifier and TypeMethodDescriptioncompactionConfiguration(Consumer<CompactionConfiguration.Builder> compactionConfiguration) The configuration for a compaction optimizer.compactionConfiguration(CompactionConfiguration compactionConfiguration) The configuration for a compaction optimizer.Whether table optimization is enabled.orphanFileDeletionConfiguration(Consumer<OrphanFileDeletionConfiguration.Builder> orphanFileDeletionConfiguration) The configuration for an orphan file deletion optimizer.orphanFileDeletionConfiguration(OrphanFileDeletionConfiguration orphanFileDeletionConfiguration) The configuration for an orphan file deletion optimizer.retentionConfiguration(Consumer<RetentionConfiguration.Builder> retentionConfiguration) The configuration for a snapshot retention optimizer.retentionConfiguration(RetentionConfiguration retentionConfiguration) The configuration for a snapshot retention optimizer.A role passed by the caller which gives the service permission to update the resources associated with the optimizer on the caller's behalf.vpcConfiguration(Consumer<TableOptimizerVpcConfiguration.Builder> vpcConfiguration) ATableOptimizerVpcConfigurationobject representing the VPC configuration for a table optimizer.vpcConfiguration(TableOptimizerVpcConfiguration vpcConfiguration) ATableOptimizerVpcConfigurationobject representing the VPC configuration for a table optimizer.Methods 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, sdkFieldNameToField, sdkFields
-
Method Details
-
roleArn
A role passed by the caller which gives the service permission to update the resources associated with the optimizer on the caller's behalf.
- Parameters:
roleArn- A role passed by the caller which gives the service permission to update the resources associated with the optimizer on the caller's behalf.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabled
Whether table optimization is enabled.
- Parameters:
enabled- Whether table optimization is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfiguration
TableOptimizerConfiguration.Builder vpcConfiguration(TableOptimizerVpcConfiguration vpcConfiguration) A
TableOptimizerVpcConfigurationobject representing the VPC configuration for a table optimizer.This configuration is necessary to perform optimization on tables that are in a customer VPC.
- Parameters:
vpcConfiguration- ATableOptimizerVpcConfigurationobject representing the VPC configuration for a table optimizer.This configuration is necessary to perform optimization on tables that are in a customer VPC.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfiguration
default TableOptimizerConfiguration.Builder vpcConfiguration(Consumer<TableOptimizerVpcConfiguration.Builder> vpcConfiguration) A
TableOptimizerVpcConfigurationobject representing the VPC configuration for a table optimizer.This configuration is necessary to perform optimization on tables that are in a customer VPC.
This is a convenience method that creates an instance of theTableOptimizerVpcConfiguration.Builderavoiding the need to create one manually viaTableOptimizerVpcConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcConfiguration(TableOptimizerVpcConfiguration).- Parameters:
vpcConfiguration- a consumer that will call methods onTableOptimizerVpcConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
compactionConfiguration
TableOptimizerConfiguration.Builder compactionConfiguration(CompactionConfiguration compactionConfiguration) The configuration for a compaction optimizer. This configuration defines how data files in your table will be compacted to improve query performance and reduce storage costs.
- Parameters:
compactionConfiguration- The configuration for a compaction optimizer. This configuration defines how data files in your table will be compacted to improve query performance and reduce storage costs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compactionConfiguration
default TableOptimizerConfiguration.Builder compactionConfiguration(Consumer<CompactionConfiguration.Builder> compactionConfiguration) The configuration for a compaction optimizer. This configuration defines how data files in your table will be compacted to improve query performance and reduce storage costs.
This is a convenience method that creates an instance of theCompactionConfiguration.Builderavoiding the need to create one manually viaCompactionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocompactionConfiguration(CompactionConfiguration).- Parameters:
compactionConfiguration- a consumer that will call methods onCompactionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
retentionConfiguration
TableOptimizerConfiguration.Builder retentionConfiguration(RetentionConfiguration retentionConfiguration) The configuration for a snapshot retention optimizer.
- Parameters:
retentionConfiguration- The configuration for a snapshot retention optimizer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionConfiguration
default TableOptimizerConfiguration.Builder retentionConfiguration(Consumer<RetentionConfiguration.Builder> retentionConfiguration) The configuration for a snapshot retention optimizer.
This is a convenience method that creates an instance of theRetentionConfiguration.Builderavoiding the need to create one manually viaRetentionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toretentionConfiguration(RetentionConfiguration).- Parameters:
retentionConfiguration- a consumer that will call methods onRetentionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
orphanFileDeletionConfiguration
TableOptimizerConfiguration.Builder orphanFileDeletionConfiguration(OrphanFileDeletionConfiguration orphanFileDeletionConfiguration) The configuration for an orphan file deletion optimizer.
- Parameters:
orphanFileDeletionConfiguration- The configuration for an orphan file deletion optimizer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orphanFileDeletionConfiguration
default TableOptimizerConfiguration.Builder orphanFileDeletionConfiguration(Consumer<OrphanFileDeletionConfiguration.Builder> orphanFileDeletionConfiguration) The configuration for an orphan file deletion optimizer.
This is a convenience method that creates an instance of theOrphanFileDeletionConfiguration.Builderavoiding the need to create one manually viaOrphanFileDeletionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toorphanFileDeletionConfiguration(OrphanFileDeletionConfiguration).- Parameters:
orphanFileDeletionConfiguration- a consumer that will call methods onOrphanFileDeletionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-