Package com.oracle.bmc.jms.model
Enum FleetDiagnosisSummary.ResourceState
- java.lang.Object
-
- java.lang.Enum<FleetDiagnosisSummary.ResourceState>
-
- com.oracle.bmc.jms.model.FleetDiagnosisSummary.ResourceState
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<FleetDiagnosisSummary.ResourceState>
- Enclosing class:
- FleetDiagnosisSummary
public static enum FleetDiagnosisSummary.ResourceState extends Enum<FleetDiagnosisSummary.ResourceState> implements BmcEnum
The state of the resource.The resource state is ACTIVE when it works properly for the fleet. In case it would cause an issue for the fleet function, the state is INACTIVE. When JMS can’t locate the resource, the state is NOT_FOUND. OTHER covers other cases, such as a temporarily network issue that prevents JMS from detecting the resource. Check the resourceDiagnosis for details.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Active
Inactive
NotFound
Other
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 FleetDiagnosisSummary.ResourceState
create(String key)
String
getValue()
static FleetDiagnosisSummary.ResourceState
valueOf(String name)
Returns the enum constant of this type with the specified name.static FleetDiagnosisSummary.ResourceState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Active
public static final FleetDiagnosisSummary.ResourceState Active
-
Inactive
public static final FleetDiagnosisSummary.ResourceState Inactive
-
NotFound
public static final FleetDiagnosisSummary.ResourceState NotFound
-
Other
public static final FleetDiagnosisSummary.ResourceState Other
-
UnknownEnumValue
public static final FleetDiagnosisSummary.ResourceState 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 FleetDiagnosisSummary.ResourceState[] 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 (FleetDiagnosisSummary.ResourceState c : FleetDiagnosisSummary.ResourceState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FleetDiagnosisSummary.ResourceState 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 FleetDiagnosisSummary.ResourceState create(String key)
-
-