Class CfnRoutingControl.Builder

java.lang.Object
software.amazon.awscdk.services.route53recoverycontrol.CfnRoutingControl.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRoutingControl>
Enclosing class:
CfnRoutingControl

@Stability(Stable) public static final class CfnRoutingControl.Builder extends Object implements software.amazon.jsii.Builder<CfnRoutingControl>
A fluent builder for CfnRoutingControl.
  • Method Details

    • create

      @Stability(Stable) public static CfnRoutingControl.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnRoutingControl.Builder.
    • name

      @Stability(Stable) public CfnRoutingControl.Builder name(String name)
      The name of the routing control.

      You can use any non-white space character in the name.

      Parameters:
      name - The name of the routing control. This parameter is required.
      Returns:
      this
    • clusterArn

      @Stability(Stable) public CfnRoutingControl.Builder clusterArn(String clusterArn)
      The Amazon Resource Name (ARN) of the cluster that hosts the routing control.

      Parameters:
      clusterArn - The Amazon Resource Name (ARN) of the cluster that hosts the routing control. This parameter is required.
      Returns:
      this
    • controlPanelArn

      @Stability(Stable) public CfnRoutingControl.Builder controlPanelArn(String controlPanelArn)
      The Amazon Resource Name (ARN) of the control panel that includes the routing control.

      Parameters:
      controlPanelArn - The Amazon Resource Name (ARN) of the control panel that includes the routing control. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnRoutingControl build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnRoutingControl>
      Returns:
      a newly built instance of CfnRoutingControl.