Class CfnPlan.ArcRoutingControlConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.arcregionswitch.CfnPlan.ArcRoutingControlConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlan.ArcRoutingControlConfigurationProperty>
- Enclosing interface:
CfnPlan.ArcRoutingControlConfigurationProperty
@Stability(Stable)
public static final class CfnPlan.ArcRoutingControlConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlan.ArcRoutingControlConfigurationProperty>
A builder for
CfnPlan.ArcRoutingControlConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.crossAccountRole(String crossAccountRole) Sets the value ofCfnPlan.ArcRoutingControlConfigurationProperty.getCrossAccountRole()externalId(String externalId) Sets the value ofCfnPlan.ArcRoutingControlConfigurationProperty.getExternalId()regionAndRoutingControls(Map<String, ? extends Object> regionAndRoutingControls) regionAndRoutingControls(IResolvable regionAndRoutingControls) timeoutMinutes(Number timeoutMinutes) Sets the value ofCfnPlan.ArcRoutingControlConfigurationProperty.getTimeoutMinutes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
regionAndRoutingControls
@Stability(Stable) public CfnPlan.ArcRoutingControlConfigurationProperty.Builder regionAndRoutingControls(IResolvable regionAndRoutingControls) - Parameters:
regionAndRoutingControls- The Region and ARC routing controls for the configuration. This parameter is required.- Returns:
this
-
regionAndRoutingControls
@Stability(Stable) public CfnPlan.ArcRoutingControlConfigurationProperty.Builder regionAndRoutingControls(Map<String, ? extends Object> regionAndRoutingControls) - Parameters:
regionAndRoutingControls- The Region and ARC routing controls for the configuration. This parameter is required.- Returns:
this
-
crossAccountRole
@Stability(Stable) public CfnPlan.ArcRoutingControlConfigurationProperty.Builder crossAccountRole(String crossAccountRole) Sets the value ofCfnPlan.ArcRoutingControlConfigurationProperty.getCrossAccountRole()- Parameters:
crossAccountRole- The cross account role for the configuration.- Returns:
this
-
externalId
@Stability(Stable) public CfnPlan.ArcRoutingControlConfigurationProperty.Builder externalId(String externalId) Sets the value ofCfnPlan.ArcRoutingControlConfigurationProperty.getExternalId()- Parameters:
externalId- The external ID (secret key) for the configuration.- Returns:
this
-
timeoutMinutes
@Stability(Stable) public CfnPlan.ArcRoutingControlConfigurationProperty.Builder timeoutMinutes(Number timeoutMinutes) Sets the value ofCfnPlan.ArcRoutingControlConfigurationProperty.getTimeoutMinutes()- Parameters:
timeoutMinutes- The timeout value specified for the configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPlan.ArcRoutingControlConfigurationProperty>- Returns:
- a new instance of
CfnPlan.ArcRoutingControlConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-