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