Class CfnRoutingControlMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.route53recoverycontrol.CfnRoutingControlMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRoutingControlMixinProps>
- Enclosing interface:
CfnRoutingControlMixinProps
@Stability(Stable)
public static final class CfnRoutingControlMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRoutingControlMixinProps>
A builder for
CfnRoutingControlMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.clusterArn(String clusterArn) Sets the value ofCfnRoutingControlMixinProps.getClusterArn()clusterArn(IClusterRef clusterArn) Sets the value ofCfnRoutingControlMixinProps.getClusterArn()controlPanelArn(String controlPanelArn) Sets the value ofCfnRoutingControlMixinProps.getControlPanelArn()controlPanelArn(IControlPanelRef controlPanelArn) Sets the value ofCfnRoutingControlMixinProps.getControlPanelArn()Sets the value ofCfnRoutingControlMixinProps.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clusterArn
Sets the value ofCfnRoutingControlMixinProps.getClusterArn()- Parameters:
clusterArn- The Amazon Resource Name (ARN) of the cluster that hosts the routing control.- Returns:
this
-
clusterArn
Sets the value ofCfnRoutingControlMixinProps.getClusterArn()- Parameters:
clusterArn- The Amazon Resource Name (ARN) of the cluster that hosts the routing control.- Returns:
this
-
controlPanelArn
@Stability(Stable) public CfnRoutingControlMixinProps.Builder controlPanelArn(String controlPanelArn) Sets the value ofCfnRoutingControlMixinProps.getControlPanelArn()- Parameters:
controlPanelArn- The Amazon Resource Name (ARN) of the control panel that includes the routing control.- Returns:
this
-
controlPanelArn
@Stability(Stable) public CfnRoutingControlMixinProps.Builder controlPanelArn(IControlPanelRef controlPanelArn) Sets the value ofCfnRoutingControlMixinProps.getControlPanelArn()- Parameters:
controlPanelArn- The Amazon Resource Name (ARN) of the control panel that includes the routing control.- Returns:
this
-
name
Sets the value ofCfnRoutingControlMixinProps.getName()- Parameters:
name- The name of the routing control. You can use any non-white space character in the name.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRoutingControlMixinProps>- Returns:
- a new instance of
CfnRoutingControlMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-