Enum ReplicationOverwriteProtection

java.lang.Object
java.lang.Enum<ReplicationOverwriteProtection>
software.amazon.awscdk.services.efs.ReplicationOverwriteProtection
All Implemented Interfaces:
Serializable, Comparable<ReplicationOverwriteProtection>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:06.818Z") @Stability(Stable) public enum ReplicationOverwriteProtection extends Enum<ReplicationOverwriteProtection>
The status of the file system's replication overwrite protection.

Example:

 FileSystem fileSystem = FileSystem.Builder.create(this, "MyEfsFileSystem")
         .vpc(new Vpc(this, "VPC"))
         .lifecyclePolicy(LifecyclePolicy.AFTER_14_DAYS) // files are not transitioned to infrequent access (IA) storage by default
         .performanceMode(PerformanceMode.GENERAL_PURPOSE) // default
         .outOfInfrequentAccessPolicy(OutOfInfrequentAccessPolicy.AFTER_1_ACCESS) // files are not transitioned back from (infrequent access) IA to primary storage by default
         .transitionToArchivePolicy(LifecyclePolicy.AFTER_14_DAYS) // files are not transitioned to Archive by default
         .replicationOverwriteProtection(ReplicationOverwriteProtection.ENABLED)
         .build();
 

See Also:
  • Enum Constant Details

  • Method Details

    • values

      public static ReplicationOverwriteProtection[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ReplicationOverwriteProtection valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null