Class CfnReplicationSetPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ssmincidents.CfnReplicationSetPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReplicationSetPropsMixin>
- Enclosing class:
CfnReplicationSetPropsMixin
@Stability(Stable)
public static final class CfnReplicationSetPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReplicationSetPropsMixin>
A fluent builder for
CfnReplicationSetPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) deletionProtected(Boolean deletionProtected) Determines if the replication set deletion protection is enabled or not.deletionProtected(IResolvable deletionProtected) Determines if the replication set deletion protection is enabled or not.Specifies the Regions of the replication set.regions(IResolvable regions) Specifies the Regions of the replication set.A list of tags to add to the replication set.
-
Method Details
-
create
@Stability(Stable) public static CfnReplicationSetPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnReplicationSetPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnReplicationSetPropsMixin.Builder.
-
deletionProtected
@Stability(Stable) public CfnReplicationSetPropsMixin.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- See Also:
-
deletionProtected
@Stability(Stable) public CfnReplicationSetPropsMixin.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- See Also:
-
regions
Specifies the Regions of the replication set.- Parameters:
regions- Specifies the Regions of the replication set. This parameter is required.- Returns:
this- See Also:
-
regions
@Stability(Stable) public CfnReplicationSetPropsMixin.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- See Also:
-
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- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnReplicationSetPropsMixin>- Returns:
- a newly built instance of
CfnReplicationSetPropsMixin.
-