Class CfnReplicationSetMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ssmincidents.CfnReplicationSetMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReplicationSetMixinProps>
- Enclosing interface:
CfnReplicationSetMixinProps
@Stability(Stable)
public static final class CfnReplicationSetMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReplicationSetMixinProps>
A builder for
CfnReplicationSetMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.deletionProtected(Boolean deletionProtected) Sets the value ofCfnReplicationSetMixinProps.getDeletionProtected()deletionProtected(IResolvable deletionProtected) Sets the value ofCfnReplicationSetMixinProps.getDeletionProtected()Sets the value ofCfnReplicationSetMixinProps.getRegions()regions(IResolvable regions) Sets the value ofCfnReplicationSetMixinProps.getRegions()Sets the value ofCfnReplicationSetMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deletionProtected
@Stability(Stable) public CfnReplicationSetMixinProps.Builder deletionProtected(Boolean deletionProtected) Sets the value ofCfnReplicationSetMixinProps.getDeletionProtected()- Parameters:
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.- Returns:
this
-
deletionProtected
@Stability(Stable) public CfnReplicationSetMixinProps.Builder deletionProtected(IResolvable deletionProtected) Sets the value ofCfnReplicationSetMixinProps.getDeletionProtected()- Parameters:
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.- Returns:
this
-
regions
Sets the value ofCfnReplicationSetMixinProps.getRegions()- Parameters:
regions- Specifies the Regions of the replication set.- Returns:
this
-
regions
@Stability(Stable) public CfnReplicationSetMixinProps.Builder regions(List<? extends Object> regions) Sets the value ofCfnReplicationSetMixinProps.getRegions()- Parameters:
regions- Specifies the Regions of the replication set.- Returns:
this
-
tags
Sets the value ofCfnReplicationSetMixinProps.getTags()- Parameters:
tags- A list of tags to add to the replication set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnReplicationSetMixinProps>- Returns:
- a new instance of
CfnReplicationSetMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-