Class CfnPlanPropsMixin.ArcRoutingControlStateProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.arcregionswitch.CfnPlanPropsMixin.ArcRoutingControlStateProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlanPropsMixin.ArcRoutingControlStateProperty>
- Enclosing interface:
CfnPlanPropsMixin.ArcRoutingControlStateProperty
@Stability(Stable)
public static final class CfnPlanPropsMixin.ArcRoutingControlStateProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlanPropsMixin.ArcRoutingControlStateProperty>
A builder for
CfnPlanPropsMixin.ArcRoutingControlStateProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.routingControlArn(String routingControlArn) Sets the value ofCfnPlanPropsMixin.ArcRoutingControlStateProperty.getRoutingControlArn()Sets the value ofCfnPlanPropsMixin.ArcRoutingControlStateProperty.getState()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
routingControlArn
@Stability(Stable) public CfnPlanPropsMixin.ArcRoutingControlStateProperty.Builder routingControlArn(String routingControlArn) Sets the value ofCfnPlanPropsMixin.ArcRoutingControlStateProperty.getRoutingControlArn()- Parameters:
routingControlArn- the value to be set.- Returns:
this
-
state
@Stability(Stable) public CfnPlanPropsMixin.ArcRoutingControlStateProperty.Builder state(String state) Sets the value ofCfnPlanPropsMixin.ArcRoutingControlStateProperty.getState()- Parameters:
state- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPlanPropsMixin.ArcRoutingControlStateProperty>- Returns:
- a new instance of
CfnPlanPropsMixin.ArcRoutingControlStateProperty - Throws:
NullPointerException- if any required attribute was not provided
-