Package com.oracle.bmc.logging.model
Enum UnifiedAgentKubernetesScrapeTarget.ResourceType
- java.lang.Object
-
- java.lang.Enum<UnifiedAgentKubernetesScrapeTarget.ResourceType>
-
- com.oracle.bmc.logging.model.UnifiedAgentKubernetesScrapeTarget.ResourceType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<UnifiedAgentKubernetesScrapeTarget.ResourceType>
- Enclosing class:
- UnifiedAgentKubernetesScrapeTarget
public static enum UnifiedAgentKubernetesScrapeTarget.ResourceType extends Enum<UnifiedAgentKubernetesScrapeTarget.ResourceType> implements BmcEnum
Type of resource to scrape metrics.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Endpoints
Nodes
Pods
Services
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 UnifiedAgentKubernetesScrapeTarget.ResourceType
create(String key)
String
getValue()
static UnifiedAgentKubernetesScrapeTarget.ResourceType
valueOf(String name)
Returns the enum constant of this type with the specified name.static UnifiedAgentKubernetesScrapeTarget.ResourceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Pods
public static final UnifiedAgentKubernetesScrapeTarget.ResourceType Pods
-
Endpoints
public static final UnifiedAgentKubernetesScrapeTarget.ResourceType Endpoints
-
Nodes
public static final UnifiedAgentKubernetesScrapeTarget.ResourceType Nodes
-
Services
public static final UnifiedAgentKubernetesScrapeTarget.ResourceType Services
-
UnknownEnumValue
public static final UnifiedAgentKubernetesScrapeTarget.ResourceType 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 UnifiedAgentKubernetesScrapeTarget.ResourceType[] 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 (UnifiedAgentKubernetesScrapeTarget.ResourceType c : UnifiedAgentKubernetesScrapeTarget.ResourceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UnifiedAgentKubernetesScrapeTarget.ResourceType 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 UnifiedAgentKubernetesScrapeTarget.ResourceType create(String key)
-
-