Class CfnPolicyStorePropsMixin.DeletionProtectionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.verifiedpermissions.CfnPolicyStorePropsMixin.DeletionProtectionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPolicyStorePropsMixin.DeletionProtectionProperty>
- Enclosing interface:
CfnPolicyStorePropsMixin.DeletionProtectionProperty
@Stability(Stable)
public static final class CfnPolicyStorePropsMixin.DeletionProtectionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPolicyStorePropsMixin.DeletionProtectionProperty>
A builder for
CfnPolicyStorePropsMixin.DeletionProtectionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPolicyStorePropsMixin.DeletionProtectionProperty.getMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mode
@Stability(Stable) public CfnPolicyStorePropsMixin.DeletionProtectionProperty.Builder mode(String mode) Sets the value ofCfnPolicyStorePropsMixin.DeletionProtectionProperty.getMode()- Parameters:
mode- Specifies whether the policy store can be deleted. If enabled, the policy store can't be deleted. The default state isDISABLED.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPolicyStorePropsMixin.DeletionProtectionProperty>- Returns:
- a new instance of
CfnPolicyStorePropsMixin.DeletionProtectionProperty - Throws:
NullPointerException- if any required attribute was not provided
-