Enum StorageMode

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

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-22T22:43:00.278Z") @Stability(Experimental) public enum StorageMode extends Enum<StorageMode>
(experimental) The storage mode for the cluster brokers.

Example:

 Vpc vpc;
 IBucket bucket;
 Cluster cluster = Cluster.Builder.create(this, "cluster")
         .clusterName("myCluster")
         .kafkaVersion(KafkaVersion.V3_6_0)
         .vpc(vpc)
         .storageMode(StorageMode.TIERED)
         .build();
 
  • Enum Constant Details

    • LOCAL

      @Stability(Experimental) public static final StorageMode LOCAL
      (experimental) Local storage mode utilizes network attached EBS storage.
    • TIERED

      @Stability(Experimental) public static final StorageMode TIERED
      (experimental) Tiered storage mode utilizes EBS storage and Tiered storage.
  • Method Details

    • values

      public static StorageMode[] 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 StorageMode 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