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