Enum CreatePublicIpDetails.Lifetime
- java.lang.Object
-
- java.lang.Enum<CreatePublicIpDetails.Lifetime>
-
- com.oracle.bmc.vnmonitoring.model.CreatePublicIpDetails.Lifetime
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<CreatePublicIpDetails.Lifetime>
- Enclosing class:
- CreatePublicIpDetails
public static enum CreatePublicIpDetails.Lifetime extends Enum<CreatePublicIpDetails.Lifetime> implements BmcEnum
Defines when the public IP is deleted and released back to the Oracle Cloud Infrastructure public IP pool.For more information, see Public IP Addresses.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreatePublicIpDetails.Lifetime
create(String key)
String
getValue()
static CreatePublicIpDetails.Lifetime
valueOf(String name)
Returns the enum constant of this type with the specified name.static CreatePublicIpDetails.Lifetime[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Ephemeral
public static final CreatePublicIpDetails.Lifetime Ephemeral
-
Reserved
public static final CreatePublicIpDetails.Lifetime Reserved
-
-
Method Detail
-
values
public static CreatePublicIpDetails.Lifetime[] 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 (CreatePublicIpDetails.Lifetime c : CreatePublicIpDetails.Lifetime.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CreatePublicIpDetails.Lifetime 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
-
create
public static CreatePublicIpDetails.Lifetime create(String key)
-
-