Class CfnFileSystemPropsMixin.BackupPolicyProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.efs.CfnFileSystemPropsMixin.BackupPolicyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFileSystemPropsMixin.BackupPolicyProperty>
- Enclosing interface:
CfnFileSystemPropsMixin.BackupPolicyProperty
@Stability(Stable)
public static final class CfnFileSystemPropsMixin.BackupPolicyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFileSystemPropsMixin.BackupPolicyProperty>
A builder for
CfnFileSystemPropsMixin.BackupPolicyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFileSystemPropsMixin.BackupPolicyProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
status
@Stability(Stable) public CfnFileSystemPropsMixin.BackupPolicyProperty.Builder status(String status) Sets the value ofCfnFileSystemPropsMixin.BackupPolicyProperty.getStatus()- Parameters:
status- Set the backup policy status for the file system.ENABLED- Turns automatic backups on for the file system.DISABLED- Turns automatic backups off for the file system.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFileSystemPropsMixin.BackupPolicyProperty>- Returns:
- a new instance of
CfnFileSystemPropsMixin.BackupPolicyProperty - Throws:
NullPointerException- if any required attribute was not provided
-