Class CfnFileSystem.FileSystemProtectionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.efs.CfnFileSystem.FileSystemProtectionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFileSystem.FileSystemProtectionProperty>
- Enclosing interface:
CfnFileSystem.FileSystemProtectionProperty
@Stability(Stable)
public static final class CfnFileSystem.FileSystemProtectionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFileSystem.FileSystemProtectionProperty>
A builder for
CfnFileSystem.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 CfnFileSystem.FileSystemProtectionProperty.Builder replicationOverwriteProtection(String replicationOverwriteProtection) - 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 isENABLED
by 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnFileSystem.FileSystemProtectionProperty>
- Returns:
- a new instance of
CfnFileSystem.FileSystemProtectionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-