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>
  • 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 is ENABLED 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 only 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

      @Stability(Stable) public CfnFileSystem.FileSystemProtectionProperty build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnFileSystem.FileSystemProtectionProperty>
      Returns:
      a new instance of CfnFileSystem.FileSystemProtectionProperty
      Throws:
      NullPointerException - if any required attribute was not provided