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.
Modifier and Type | Method and 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.
|
public static final CreatePublicIpDetails.Lifetime Ephemeral
public static final CreatePublicIpDetails.Lifetime Reserved
public static CreatePublicIpDetails.Lifetime[] values()
for (CreatePublicIpDetails.Lifetime c : CreatePublicIpDetails.Lifetime.values()) System.out.println(c);
public static CreatePublicIpDetails.Lifetime 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 CreatePublicIpDetails.Lifetime create(String key)
Copyright © 2016–2024. All rights reserved.