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