Class CfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.glue.CfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty>
- Enclosing interface:
CfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty
@Stability(Stable)
public static final class CfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enabled(IResolvable enabled) orphanFileDeletionConfiguration(CfnTableOptimizerPropsMixin.OrphanFileDeletionConfigurationProperty orphanFileDeletionConfiguration) orphanFileDeletionConfiguration(IResolvable orphanFileDeletionConfiguration) retentionConfiguration(CfnTableOptimizerPropsMixin.RetentionConfigurationProperty retentionConfiguration) retentionConfiguration(IResolvable retentionConfiguration) vpcConfiguration(CfnTableOptimizerPropsMixin.VpcConfigurationProperty vpcConfiguration) vpcConfiguration(IResolvable vpcConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty.Builder enabled(Boolean enabled) - Parameters:
enabled- Whether the table optimization is enabled.- Returns:
this
-
enabled
@Stability(Stable) public CfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty.Builder enabled(IResolvable enabled) - Parameters:
enabled- Whether the table optimization is enabled.- Returns:
this
-
orphanFileDeletionConfiguration
@Stability(Stable) public CfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty.Builder orphanFileDeletionConfiguration(IResolvable orphanFileDeletionConfiguration) Sets the value ofCfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty.getOrphanFileDeletionConfiguration()- Parameters:
orphanFileDeletionConfiguration-OrphanFileDeletionConfigurationis a property that can be included within the TableOptimizer resource. It controls the automatic deletion of orphaned files - files that are not tracked by the table metadata, and older than the configured age limit.- Returns:
this
-
orphanFileDeletionConfiguration
@Stability(Stable) public CfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty.Builder orphanFileDeletionConfiguration(CfnTableOptimizerPropsMixin.OrphanFileDeletionConfigurationProperty orphanFileDeletionConfiguration) Sets the value ofCfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty.getOrphanFileDeletionConfiguration()- Parameters:
orphanFileDeletionConfiguration-OrphanFileDeletionConfigurationis a property that can be included within the TableOptimizer resource. It controls the automatic deletion of orphaned files - files that are not tracked by the table metadata, and older than the configured age limit.- Returns:
this
-
retentionConfiguration
@Stability(Stable) public CfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty.Builder retentionConfiguration(IResolvable retentionConfiguration) Sets the value ofCfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty.getRetentionConfiguration()- Parameters:
retentionConfiguration- The configuration for a snapshot retention optimizer for Apache Iceberg tables.- Returns:
this
-
retentionConfiguration
@Stability(Stable) public CfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty.Builder retentionConfiguration(CfnTableOptimizerPropsMixin.RetentionConfigurationProperty retentionConfiguration) Sets the value ofCfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty.getRetentionConfiguration()- Parameters:
retentionConfiguration- The configuration for a snapshot retention optimizer for Apache Iceberg tables.- Returns:
this
-
roleArn
@Stability(Stable) public CfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty.Builder roleArn(String roleArn) - 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:
this
-
vpcConfiguration
@Stability(Stable) public CfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty.Builder vpcConfiguration(IResolvable vpcConfiguration) Sets the value ofCfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty.getVpcConfiguration()- Parameters:
vpcConfiguration- An object that describes the VPC configuration for a table optimizer. This configuration is necessary to perform optimization on tables that are in a customer VPC.- Returns:
this
-
vpcConfiguration
@Stability(Stable) public CfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty.Builder vpcConfiguration(CfnTableOptimizerPropsMixin.VpcConfigurationProperty vpcConfiguration) Sets the value ofCfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty.getVpcConfiguration()- Parameters:
vpcConfiguration- An object that describes the VPC configuration for a table optimizer. This configuration is necessary to perform optimization on tables that are in a customer VPC.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty>- Returns:
- a new instance of
CfnTableOptimizerPropsMixin.TableOptimizerConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-