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