Class CfnTableOptimizer.TableOptimizerConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnTableOptimizer.TableOptimizerConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTableOptimizer.TableOptimizerConfigurationProperty>
- Enclosing interface:
CfnTableOptimizer.TableOptimizerConfigurationProperty
@Stability(Stable)
public static final class CfnTableOptimizer.TableOptimizerConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTableOptimizer.TableOptimizerConfigurationProperty>
A builder for
CfnTableOptimizer.TableOptimizerConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTableOptimizer.TableOptimizerConfigurationProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnTableOptimizer.TableOptimizerConfigurationProperty.getEnabled()Sets the value ofCfnTableOptimizer.TableOptimizerConfigurationProperty.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnTableOptimizer.TableOptimizerConfigurationProperty.Builder enabled(Boolean enabled) Sets the value ofCfnTableOptimizer.TableOptimizerConfigurationProperty.getEnabled()- Parameters:
enabled- Whether the table optimization is enabled. This parameter is required.- Returns:
this
-
enabled
@Stability(Stable) public CfnTableOptimizer.TableOptimizerConfigurationProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnTableOptimizer.TableOptimizerConfigurationProperty.getEnabled()- Parameters:
enabled- Whether the table optimization is enabled. This parameter is required.- Returns:
this
-
roleArn
@Stability(Stable) public CfnTableOptimizer.TableOptimizerConfigurationProperty.Builder roleArn(String roleArn) Sets the value ofCfnTableOptimizer.TableOptimizerConfigurationProperty.getRoleArn()- 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. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTableOptimizer.TableOptimizerConfigurationProperty>- Returns:
- a new instance of
CfnTableOptimizer.TableOptimizerConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-