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