Class CfnFileSystemPropsMixin.FileSystemProtectionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.efs.CfnFileSystemPropsMixin.FileSystemProtectionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFileSystemPropsMixin.FileSystemProtectionProperty>
- Enclosing interface:
CfnFileSystemPropsMixin.FileSystemProtectionProperty
@Stability(Stable)
public static final class CfnFileSystemPropsMixin.FileSystemProtectionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFileSystemPropsMixin.FileSystemProtectionProperty>
A builder for
CfnFileSystemPropsMixin.FileSystemProtectionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.replicationOverwriteProtection(String replicationOverwriteProtection)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
replicationOverwriteProtection
@Stability(Stable) public CfnFileSystemPropsMixin.FileSystemProtectionProperty.Builder replicationOverwriteProtection(String replicationOverwriteProtection) Sets the value ofCfnFileSystemPropsMixin.FileSystemProtectionProperty.getReplicationOverwriteProtection()- Parameters:
replicationOverwriteProtection- The status of the file system's replication overwrite protection.ENABLED– The file system cannot be used as the destination file system in a replication configuration. The file system is writeable. Replication overwrite protection isENABLEDby default.DISABLED– The file system can be used as the destination file system in a replication configuration. The file system is read-only and can only be modified by EFS replication.REPLICATING– The file system is being used as the destination file system in a replication configuration. The file system is read-only and is modified only by EFS replication.
If the replication configuration is deleted, the file system's replication overwrite protection is re-enabled, the file system becomes writeable.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFileSystemPropsMixin.FileSystemProtectionProperty>- Returns:
- a new instance of
CfnFileSystemPropsMixin.FileSystemProtectionProperty - Throws:
NullPointerException- if any required attribute was not provided
-