Enum ImportOciTelemetryResourcesTaskDetails.Source
- java.lang.Object
-
- java.lang.Enum<ImportOciTelemetryResourcesTaskDetails.Source>
-
- com.oracle.bmc.stackmonitoring.model.ImportOciTelemetryResourcesTaskDetails.Source
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ImportOciTelemetryResourcesTaskDetails.Source>
- Enclosing class:
- ImportOciTelemetryResourcesTaskDetails
public static enum ImportOciTelemetryResourcesTaskDetails.Source extends Enum<ImportOciTelemetryResourcesTaskDetails.Source> implements BmcEnum
Source from where the metrics pushed to telemetry.Possible values: * OCI_TELEMETRY_NATIVE - The metrics are pushed to telemetry from OCI Native Services. * OCI_TELEMETRY_PROMETHEUS - The metrics are pushed to telemetry from Prometheus. * OCI_TELEMETRY_TELEGRAF - The metrics are pushed to telemetry from Telegraf receiver. * OCI_TELEMETRY_COLLECTD - The metrics are pushed to telemetry from CollectD receiver.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OciTelemetryCollectd
OciTelemetryNative
OciTelemetryPrometheus
OciTelemetryTelegraf
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 ImportOciTelemetryResourcesTaskDetails.Source
create(String key)
String
getValue()
static ImportOciTelemetryResourcesTaskDetails.Source
valueOf(String name)
Returns the enum constant of this type with the specified name.static ImportOciTelemetryResourcesTaskDetails.Source[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OciTelemetryNative
public static final ImportOciTelemetryResourcesTaskDetails.Source OciTelemetryNative
-
OciTelemetryPrometheus
public static final ImportOciTelemetryResourcesTaskDetails.Source OciTelemetryPrometheus
-
OciTelemetryTelegraf
public static final ImportOciTelemetryResourcesTaskDetails.Source OciTelemetryTelegraf
-
OciTelemetryCollectd
public static final ImportOciTelemetryResourcesTaskDetails.Source OciTelemetryCollectd
-
UnknownEnumValue
public static final ImportOciTelemetryResourcesTaskDetails.Source 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 ImportOciTelemetryResourcesTaskDetails.Source[] 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 (ImportOciTelemetryResourcesTaskDetails.Source c : ImportOciTelemetryResourcesTaskDetails.Source.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ImportOciTelemetryResourcesTaskDetails.Source 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 ImportOciTelemetryResourcesTaskDetails.Source create(String key)
-
-