Enum Class IpAddressType
- All Implemented Interfaces:
Serializable,Comparable<IpAddressType>,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:10.023Z")
@Stability(Stable)
public enum IpAddressType
extends Enum<IpAddressType>
What kind of addresses to allocate to the load balancer.
Example:
Vpc vpc;
ApplicationLoadBalancer lb = ApplicationLoadBalancer.Builder.create(this, "LB")
.vpc(vpc)
.ipAddressType(IpAddressType.DUAL_STACK)
.build();
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAllocate both IPv4 and IPv6 addresses.IPv6 only public addresses, with private IPv4 and IPv6 addresses.Allocate IPv4 addresses. -
Method Summary
Modifier and TypeMethodDescriptionstatic IpAddressTypeReturns the enum constant of this class with the specified name.static IpAddressType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IPV4
Allocate IPv4 addresses. -
DUAL_STACK
Allocate both IPv4 and IPv6 addresses. -
DUAL_STACK_WITHOUT_PUBLIC_IPV4
IPv6 only public addresses, with private IPv4 and IPv6 addresses.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-