Class CfnPlan.AuroraServerlessScalingConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.arcregionswitch.CfnPlan.AuroraServerlessScalingConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlan.AuroraServerlessScalingConfigurationProperty>
- Enclosing interface:
CfnPlan.AuroraServerlessScalingConfigurationProperty
@Stability(Stable)
public static final class CfnPlan.AuroraServerlessScalingConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlan.AuroraServerlessScalingConfigurationProperty>
A builder for
CfnPlan.AuroraServerlessScalingConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.crossAccountRole(String crossAccountRole) externalId(String externalId) Sets the value ofCfnPlan.AuroraServerlessScalingConfigurationProperty.getExternalId()globalClusterIdentifier(String globalClusterIdentifier) regionDatabaseClusterArns(Map<String, String> regionDatabaseClusterArns) regionDatabaseClusterArns(IResolvable regionDatabaseClusterArns) targetPercent(Number targetPercent) Sets the value ofCfnPlan.AuroraServerlessScalingConfigurationProperty.getTargetPercent()timeoutMinutes(Number timeoutMinutes) Sets the value ofCfnPlan.AuroraServerlessScalingConfigurationProperty.getTimeoutMinutes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
globalClusterIdentifier
@Stability(Stable) public CfnPlan.AuroraServerlessScalingConfigurationProperty.Builder globalClusterIdentifier(String globalClusterIdentifier) - Parameters:
globalClusterIdentifier- the value to be set. This parameter is required.- Returns:
this
-
regionDatabaseClusterArns
@Stability(Stable) public CfnPlan.AuroraServerlessScalingConfigurationProperty.Builder regionDatabaseClusterArns(IResolvable regionDatabaseClusterArns) Sets the value ofCfnPlan.AuroraServerlessScalingConfigurationProperty.getRegionDatabaseClusterArns()- Parameters:
regionDatabaseClusterArns- the value to be set. This parameter is required.- Returns:
this
-
regionDatabaseClusterArns
@Stability(Stable) public CfnPlan.AuroraServerlessScalingConfigurationProperty.Builder regionDatabaseClusterArns(Map<String, String> regionDatabaseClusterArns) Sets the value ofCfnPlan.AuroraServerlessScalingConfigurationProperty.getRegionDatabaseClusterArns()- Parameters:
regionDatabaseClusterArns- the value to be set. This parameter is required.- Returns:
this
-
crossAccountRole
@Stability(Stable) public CfnPlan.AuroraServerlessScalingConfigurationProperty.Builder crossAccountRole(String crossAccountRole) - Parameters:
crossAccountRole- the value to be set.- Returns:
this
-
externalId
@Stability(Stable) public CfnPlan.AuroraServerlessScalingConfigurationProperty.Builder externalId(String externalId) Sets the value ofCfnPlan.AuroraServerlessScalingConfigurationProperty.getExternalId()- Parameters:
externalId- the value to be set.- Returns:
this
-
targetPercent
@Stability(Stable) public CfnPlan.AuroraServerlessScalingConfigurationProperty.Builder targetPercent(Number targetPercent) Sets the value ofCfnPlan.AuroraServerlessScalingConfigurationProperty.getTargetPercent()- Parameters:
targetPercent- the value to be set.- Returns:
this
-
timeoutMinutes
@Stability(Stable) public CfnPlan.AuroraServerlessScalingConfigurationProperty.Builder timeoutMinutes(Number timeoutMinutes) Sets the value ofCfnPlan.AuroraServerlessScalingConfigurationProperty.getTimeoutMinutes()- Parameters:
timeoutMinutes- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPlan.AuroraServerlessScalingConfigurationProperty>- Returns:
- a new instance of
CfnPlan.AuroraServerlessScalingConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-