Class CfnRecoveryGroup.Builder

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

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

    • create

      @Stability(Stable) public static CfnRecoveryGroup.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 CfnRecoveryGroup.Builder.
    • cells

      @Stability(Stable) public CfnRecoveryGroup.Builder cells(List<String> cells)
      A list of the cell Amazon Resource Names (ARNs) in the recovery group.

      Parameters:
      cells - A list of the cell Amazon Resource Names (ARNs) in the recovery group. This parameter is required.
      Returns:
      this
    • recoveryGroupName

      @Stability(Stable) public CfnRecoveryGroup.Builder recoveryGroupName(String recoveryGroupName)
      The name of the recovery group to create.

      Parameters:
      recoveryGroupName - The name of the recovery group to create. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnRecoveryGroup.Builder tags(List<? extends CfnTag> tags)
      A collection of tags associated with a resource.

      Parameters:
      tags - A collection of tags associated with a resource. This parameter is required.
      Returns:
      this
    • build

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