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