Class CfnClusterPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.dsql.CfnClusterPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterPropsMixin>
- Enclosing class:
CfnClusterPropsMixin
@Stability(Stable)
public static final class CfnClusterPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterPropsMixin>
A fluent builder for
CfnClusterPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnClusterPropsMixin.Buildercreate()static CfnClusterPropsMixin.Buildercreate(CfnPropertyMixinOptions options) deletionProtectionEnabled(Boolean deletionProtectionEnabled) Whether deletion protection is enabled on this cluster.deletionProtectionEnabled(IResolvable deletionProtectionEnabled) Whether deletion protection is enabled on this cluster.kmsEncryptionKey(String kmsEncryptionKey) The KMS key that encrypts data on the cluster.multiRegionProperties(CfnClusterPropsMixin.MultiRegionPropertiesProperty multiRegionProperties) Defines the structure for multi-Region cluster configurations, containing the witness Region and peered cluster settings.multiRegionProperties(IResolvable multiRegionProperties) Defines the structure for multi-Region cluster configurations, containing the witness Region and peered cluster settings.policyDocument(String policyDocument) A resource-based policy document in JSON format.A map of key and value pairs this cluster is tagged with.
-
Method Details
-
create
@Stability(Stable) public static CfnClusterPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnClusterPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnClusterPropsMixin.Builder.
-
deletionProtectionEnabled
@Stability(Stable) public CfnClusterPropsMixin.Builder deletionProtectionEnabled(Boolean deletionProtectionEnabled) Whether deletion protection is enabled on this cluster.- Parameters:
deletionProtectionEnabled- Whether deletion protection is enabled on this cluster. This parameter is required.- Returns:
this- See Also:
-
deletionProtectionEnabled
@Stability(Stable) public CfnClusterPropsMixin.Builder deletionProtectionEnabled(IResolvable deletionProtectionEnabled) Whether deletion protection is enabled on this cluster.- Parameters:
deletionProtectionEnabled- Whether deletion protection is enabled on this cluster. This parameter is required.- Returns:
this- See Also:
-
kmsEncryptionKey
The KMS key that encrypts data on the cluster.- Parameters:
kmsEncryptionKey- The KMS key that encrypts data on the cluster. This parameter is required.- Returns:
this- See Also:
-
multiRegionProperties
@Stability(Stable) public CfnClusterPropsMixin.Builder multiRegionProperties(IResolvable multiRegionProperties) Defines the structure for multi-Region cluster configurations, containing the witness Region and peered cluster settings.- Parameters:
multiRegionProperties- Defines the structure for multi-Region cluster configurations, containing the witness Region and peered cluster settings. This parameter is required.- Returns:
this- See Also:
-
multiRegionProperties
@Stability(Stable) public CfnClusterPropsMixin.Builder multiRegionProperties(CfnClusterPropsMixin.MultiRegionPropertiesProperty multiRegionProperties) Defines the structure for multi-Region cluster configurations, containing the witness Region and peered cluster settings.- Parameters:
multiRegionProperties- Defines the structure for multi-Region cluster configurations, containing the witness Region and peered cluster settings. This parameter is required.- Returns:
this- See Also:
-
policyDocument
A resource-based policy document in JSON format.Length constraints: Minimum length of 1. Maximum length of 20480 characters (approximately 20KB).
- Parameters:
policyDocument- A resource-based policy document in JSON format. This parameter is required.- Returns:
this- See Also:
-
tags
A map of key and value pairs this cluster is tagged with.- Parameters:
tags- A map of key and value pairs this cluster is tagged with. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterPropsMixin>- Returns:
- a newly built instance of
CfnClusterPropsMixin.
-