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

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-09-11T18:01:19.196Z") @Stability(Stable) public enum IpAddressType extends Enum<IpAddressType>
The IP address type for the domain.

Example:

 Domain domain = Domain.Builder.create(this, "Domain")
         .version(EngineVersion.OPENSEARCH_1_3)
         .ipAddressType(IpAddressType.DUAL_STACK)
         .build();
 
  • Enum Constant Details

    • IPV4

      @Stability(Stable) public static final IpAddressType IPV4
      IPv4 addresses only.
    • DUAL_STACK

      @Stability(Stable) public static final IpAddressType DUAL_STACK
      IPv4 and IPv6 addresses.
  • Method Details

    • values

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