@Generated(value="OracleSDKGenerator", comments="API Version: 20200501") public enum HcsInfraIpVersion extends Enum<HcsInfraIpVersion> implements BmcEnum
Mode specifying the IP version of HCS Infra.
Enum Constant and Description |
---|
Ipv4 |
Ipv4AndIpv6 |
Ipv6 |
Modifier and Type | Method and Description |
---|---|
static HcsInfraIpVersion |
create(String key) |
String |
getValue() |
static HcsInfraIpVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HcsInfraIpVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HcsInfraIpVersion Ipv4
public static final HcsInfraIpVersion Ipv4AndIpv6
public static final HcsInfraIpVersion Ipv6
public static HcsInfraIpVersion[] values()
for (HcsInfraIpVersion c : HcsInfraIpVersion.values()) System.out.println(c);
public static HcsInfraIpVersion valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static HcsInfraIpVersion create(String key)
Copyright © 2016–2024. All rights reserved.