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