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