Class CfnPlanPropsMixin.RdsPromoteReadReplicaConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.arcregionswitch.CfnPlanPropsMixin.RdsPromoteReadReplicaConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlanPropsMixin.RdsPromoteReadReplicaConfigurationProperty>
- Enclosing interface:
CfnPlanPropsMixin.RdsPromoteReadReplicaConfigurationProperty
@Stability(Stable)
public static final class CfnPlanPropsMixin.RdsPromoteReadReplicaConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlanPropsMixin.RdsPromoteReadReplicaConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.crossAccountRole(String crossAccountRole) dbInstanceArnMap(Map<String, String> dbInstanceArnMap) dbInstanceArnMap(IResolvable dbInstanceArnMap) externalId(String externalId) timeoutMinutes(Number timeoutMinutes)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
crossAccountRole
@Stability(Stable) public CfnPlanPropsMixin.RdsPromoteReadReplicaConfigurationProperty.Builder crossAccountRole(String crossAccountRole) Sets the value ofCfnPlanPropsMixin.RdsPromoteReadReplicaConfigurationProperty.getCrossAccountRole()- Parameters:
crossAccountRole- the value to be set.- Returns:
this
-
dbInstanceArnMap
@Stability(Stable) public CfnPlanPropsMixin.RdsPromoteReadReplicaConfigurationProperty.Builder dbInstanceArnMap(Map<String, String> dbInstanceArnMap) Sets the value ofCfnPlanPropsMixin.RdsPromoteReadReplicaConfigurationProperty.getDbInstanceArnMap()- Parameters:
dbInstanceArnMap- the value to be set.- Returns:
this
-
dbInstanceArnMap
@Stability(Stable) public CfnPlanPropsMixin.RdsPromoteReadReplicaConfigurationProperty.Builder dbInstanceArnMap(IResolvable dbInstanceArnMap) Sets the value ofCfnPlanPropsMixin.RdsPromoteReadReplicaConfigurationProperty.getDbInstanceArnMap()- Parameters:
dbInstanceArnMap- the value to be set.- Returns:
this
-
externalId
@Stability(Stable) public CfnPlanPropsMixin.RdsPromoteReadReplicaConfigurationProperty.Builder externalId(String externalId) - Parameters:
externalId- the value to be set.- Returns:
this
-
timeoutMinutes
@Stability(Stable) public CfnPlanPropsMixin.RdsPromoteReadReplicaConfigurationProperty.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<CfnPlanPropsMixin.RdsPromoteReadReplicaConfigurationProperty>- Returns:
- a new instance of
CfnPlanPropsMixin.RdsPromoteReadReplicaConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-