Enum FleetDetails.FleetType
- java.lang.Object
-
- java.lang.Enum<FleetDetails.FleetType>
-
- com.oracle.bmc.fleetappsmanagement.model.FleetDetails.FleetType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<FleetDetails.FleetType>
- Enclosing class:
- FleetDetails
public static enum FleetDetails.FleetType extends Enum<FleetDetails.FleetType> implements BmcEnum
Type of the Fleet.PRODUCT - A fleet of product-specific resources for a product type. ENVIRONMENT - A fleet of environment-specific resources for a product stack. GROUP - A fleet of a fleet of either environment or product fleets. GENERIC - A fleet of resources selected dynamically or manually for reporting purposes
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Environment
Generic
Group
Product
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FleetDetails.FleetType
create(String key)
String
getValue()
static FleetDetails.FleetType
valueOf(String name)
Returns the enum constant of this type with the specified name.static FleetDetails.FleetType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Generic
public static final FleetDetails.FleetType Generic
-
Product
public static final FleetDetails.FleetType Product
-
Environment
public static final FleetDetails.FleetType Environment
-
Group
public static final FleetDetails.FleetType Group
-
UnknownEnumValue
public static final FleetDetails.FleetType UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static FleetDetails.FleetType[] 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 (FleetDetails.FleetType c : FleetDetails.FleetType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FleetDetails.FleetType 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 FleetDetails.FleetType create(String key)
-
-