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 SummaryEnum Constants Enum Constant Description ActiveInactiveNotFoundOtherUnknownEnumValueThis value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FleetDiagnosisSummary.ResourceStatecreate(String key)StringgetValue()static FleetDiagnosisSummary.ResourceStatevalueOf(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- 
Activepublic static final FleetDiagnosisSummary.ResourceState Active 
 - 
Inactivepublic static final FleetDiagnosisSummary.ResourceState Inactive 
 - 
NotFoundpublic static final FleetDiagnosisSummary.ResourceState NotFound 
 - 
Otherpublic static final FleetDiagnosisSummary.ResourceState Other 
 - 
UnknownEnumValuepublic 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- 
valuespublic 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
 
 - 
valueOfpublic 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 name
- NullPointerException- if the argument is null
 
 - 
createpublic static FleetDiagnosisSummary.ResourceState create(String key) 
 
- 
 
-