Class CfnFileSystem.BackupPolicyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.efs.CfnFileSystem.BackupPolicyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFileSystem.BackupPolicyProperty>
- Enclosing interface:
CfnFileSystem.BackupPolicyProperty
@Stability(Stable)
public static final class CfnFileSystem.BackupPolicyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFileSystem.BackupPolicyProperty>
A builder for
CfnFileSystem.BackupPolicyProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnFileSystem.BackupPolicyProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
status
Sets the value ofCfnFileSystem.BackupPolicyProperty.getStatus()
- Parameters:
status
- Set the backup policy status for the file system. This parameter is required.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnFileSystem.BackupPolicyProperty>
- Returns:
- a new instance of
CfnFileSystem.BackupPolicyProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-