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