Enum NetworkType

All Implemented Interfaces:
Serializable, Comparable<NetworkType>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-12T19:34:08.604Z") @Stability(Stable) public enum NetworkType extends Enum<NetworkType>
The network type of the DB instance.


 Vpc vpc;
 // VPC and subnets must have IPv6 CIDR blocks
 DatabaseCluster cluster = DatabaseCluster.Builder.create(this, "Database")
         .writer(ClusterInstance.provisioned("writer", ProvisionedClusterInstanceProps.builder()
  • Enum Constant Details

    • IPV4

      @Stability(Stable) public static final NetworkType IPV4
      IPv4 only network type.
    • DUAL

      @Stability(Stable) public static final NetworkType DUAL
      Dual-stack network type.
  • Method Details

    • values

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

      public static NetworkType 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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null