public static enum CreateOceInstanceDetails.InstanceUsageType extends Enum<CreateOceInstanceDetails.InstanceUsageType> implements BmcEnum
Instance type based on its usage
Enum Constant and Description |
---|
Nonprimary |
Primary |
Modifier and Type | Method and Description |
---|---|
static CreateOceInstanceDetails.InstanceUsageType |
create(String key) |
String |
getValue() |
static CreateOceInstanceDetails.InstanceUsageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreateOceInstanceDetails.InstanceUsageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreateOceInstanceDetails.InstanceUsageType Primary
public static final CreateOceInstanceDetails.InstanceUsageType Nonprimary
public static CreateOceInstanceDetails.InstanceUsageType[] values()
for (CreateOceInstanceDetails.InstanceUsageType c : CreateOceInstanceDetails.InstanceUsageType.values()) System.out.println(c);
public static CreateOceInstanceDetails.InstanceUsageType 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 CreateOceInstanceDetails.InstanceUsageType create(String key)
Copyright © 2016–2024. All rights reserved.