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