Class CfnReplicationSet.Builder

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

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

    • create

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

      @Stability(Stable) public CfnReplicationSet.Builder regions(IResolvable regions)
      Specifies the Regions of the replication set.

      Parameters:
      regions - Specifies the Regions of the replication set. This parameter is required.
      Returns:
      this
    • regions

      @Stability(Stable) public CfnReplicationSet.Builder regions(List<? extends Object> regions)
      Specifies the Regions of the replication set.

      Parameters:
      regions - Specifies the Regions of the replication set. This parameter is required.
      Returns:
      this
    • deletionProtected

      @Stability(Stable) public CfnReplicationSet.Builder deletionProtected(Boolean deletionProtected)
      Determines if the replication set deletion protection is enabled or not.

      If deletion protection is enabled, you can't delete the last Region in the replication set.

      Parameters:
      deletionProtected - Determines if the replication set deletion protection is enabled or not. This parameter is required.
      Returns:
      this
    • deletionProtected

      @Stability(Stable) public CfnReplicationSet.Builder deletionProtected(IResolvable deletionProtected)
      Determines if the replication set deletion protection is enabled or not.

      If deletion protection is enabled, you can't delete the last Region in the replication set.

      Parameters:
      deletionProtected - Determines if the replication set deletion protection is enabled or not. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnReplicationSet.Builder tags(List<? extends CfnTag> tags)
      A list of tags to add to the replication set.

      Parameters:
      tags - A list of tags to add to the replication set. This parameter is required.
      Returns:
      this
    • build

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