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