Interface TableOptimizerConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TableOptimizerConfiguration.Builder,,TableOptimizerConfiguration> SdkBuilder<TableOptimizerConfiguration.Builder,,TableOptimizerConfiguration> SdkPojo
- Enclosing class:
TableOptimizerConfiguration
public static interface TableOptimizerConfiguration.Builder
extends SdkPojo, CopyableBuilder<TableOptimizerConfiguration.Builder,TableOptimizerConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionWhether 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.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, 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.
-
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:
-