Package com.exoscale.sdk.model
Enum CreateSksNodepoolRequest.PublicIpAssignmentEnum
- java.lang.Object
-
- java.lang.Enum<CreateSksNodepoolRequest.PublicIpAssignmentEnum>
-
- com.exoscale.sdk.model.CreateSksNodepoolRequest.PublicIpAssignmentEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<CreateSksNodepoolRequest.PublicIpAssignmentEnum>
- Enclosing class:
- CreateSksNodepoolRequest
public static enum CreateSksNodepoolRequest.PublicIpAssignmentEnum extends Enum<CreateSksNodepoolRequest.PublicIpAssignmentEnum>
Configures public IP assignment of the Instances with: * IPv4 (`inet4`) addressing only (default); * both IPv4 and IPv6 (`dual`) addressing.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateSksNodepoolRequest.PublicIpAssignmentEnum
fromValue(String value)
String
getValue()
String
toString()
static CreateSksNodepoolRequest.PublicIpAssignmentEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static CreateSksNodepoolRequest.PublicIpAssignmentEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INET4
public static final CreateSksNodepoolRequest.PublicIpAssignmentEnum INET4
-
DUAL
public static final CreateSksNodepoolRequest.PublicIpAssignmentEnum DUAL
-
-
Method Detail
-
values
public static CreateSksNodepoolRequest.PublicIpAssignmentEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CreateSksNodepoolRequest.PublicIpAssignmentEnum c : CreateSksNodepoolRequest.PublicIpAssignmentEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CreateSksNodepoolRequest.PublicIpAssignmentEnum 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 nameNullPointerException
- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toString
in classEnum<CreateSksNodepoolRequest.PublicIpAssignmentEnum>
-
fromValue
public static CreateSksNodepoolRequest.PublicIpAssignmentEnum fromValue(String value)
-
-