Enum Class StorageType

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

@Generated(value="jsii-pacmak/1.110.0 (build 336b265)", date="2025-04-22T23:08:13.916Z") @Stability(Stable) public enum StorageType extends Enum<StorageType>
The storage type for the file system.

Example:

 Vpc vpc;
 LustreFileSystem fileSystem = LustreFileSystem.Builder.create(this, "FsxLustreFileSystem")
         .lustreConfiguration(LustreConfiguration.builder().deploymentType(LustreDeploymentType.PERSISTENT_1).build())
         .storageCapacityGiB(1200)
         .vpc(vpc)
         .vpcSubnet(vpc.getPrivateSubnets()[0])
         .storageType(StorageType.HDD)
         .build();
 
  • Enum Constant Details

    • SSD

      @Stability(Stable) public static final StorageType SSD
      Solid State Drive storage.
    • HDD

      @Stability(Stable) public static final StorageType HDD
      Hard Disk Drive storage.
    • INTELLIGENT_TIERING

      @Stability(Stable) public static final StorageType INTELLIGENT_TIERING
      Intelligent Tiering storage.
  • Method Details

    • values

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

      public static StorageType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null