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 and 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.
|
Modifier and Type | Method and 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.
|
public static final FleetDiagnosisSummary.ResourceState Active
public static final FleetDiagnosisSummary.ResourceState Inactive
public static final FleetDiagnosisSummary.ResourceState NotFound
public static final FleetDiagnosisSummary.ResourceState Other
public static final FleetDiagnosisSummary.ResourceState UnknownEnumValue
public static FleetDiagnosisSummary.ResourceState[] values()
for (FleetDiagnosisSummary.ResourceState c : FleetDiagnosisSummary.ResourceState.values()) System.out.println(c);
public static FleetDiagnosisSummary.ResourceState 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 FleetDiagnosisSummary.ResourceState create(String key)
Copyright © 2016–2024. All rights reserved.