Class RdsClusterScalingConfiguration.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.rds_cluster.RdsClusterScalingConfiguration.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<RdsClusterScalingConfiguration>
- Enclosing interface:
- RdsClusterScalingConfiguration
@Stability(Stable) public static final class RdsClusterScalingConfiguration.Builder extends Object implements software.amazon.jsii.Builder<RdsClusterScalingConfiguration>
A builder forRdsClusterScalingConfiguration
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
autoPause
@Stability(Stable) public RdsClusterScalingConfiguration.Builder autoPause(Boolean autoPause)
Sets the value ofRdsClusterScalingConfiguration.getAutoPause()- Parameters:
autoPause- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#auto_pause RdsCluster#auto_pause}.- Returns:
this
-
autoPause
@Stability(Stable) public RdsClusterScalingConfiguration.Builder autoPause(com.hashicorp.cdktf.IResolvable autoPause)
Sets the value ofRdsClusterScalingConfiguration.getAutoPause()- Parameters:
autoPause- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#auto_pause RdsCluster#auto_pause}.- Returns:
this
-
maxCapacity
@Stability(Stable) public RdsClusterScalingConfiguration.Builder maxCapacity(Number maxCapacity)
Sets the value ofRdsClusterScalingConfiguration.getMaxCapacity()- Parameters:
maxCapacity- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#max_capacity RdsCluster#max_capacity}.- Returns:
this
-
minCapacity
@Stability(Stable) public RdsClusterScalingConfiguration.Builder minCapacity(Number minCapacity)
Sets the value ofRdsClusterScalingConfiguration.getMinCapacity()- Parameters:
minCapacity- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#min_capacity RdsCluster#min_capacity}.- Returns:
this
-
secondsUntilAutoPause
@Stability(Stable) public RdsClusterScalingConfiguration.Builder secondsUntilAutoPause(Number secondsUntilAutoPause)
Sets the value ofRdsClusterScalingConfiguration.getSecondsUntilAutoPause()- Parameters:
secondsUntilAutoPause- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#seconds_until_auto_pause RdsCluster#seconds_until_auto_pause}.- Returns:
this
-
timeoutAction
@Stability(Stable) public RdsClusterScalingConfiguration.Builder timeoutAction(String timeoutAction)
Sets the value ofRdsClusterScalingConfiguration.getTimeoutAction()- Parameters:
timeoutAction- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/rds_cluster#timeout_action RdsCluster#timeout_action}.- Returns:
this
-
build
@Stability(Stable) public RdsClusterScalingConfiguration build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RdsClusterScalingConfiguration>- Returns:
- a new instance of
RdsClusterScalingConfiguration - Throws:
NullPointerException- if any required attribute was not provided
-
-