Enum SemanticAttributes.FaasTriggerValues
- java.lang.Object
-
- java.lang.Enum<SemanticAttributes.FaasTriggerValues>
-
- io.opentelemetry.semconv.trace.attributes.SemanticAttributes.FaasTriggerValues
-
- All Implemented Interfaces:
Serializable
,Comparable<SemanticAttributes.FaasTriggerValues>
- Enclosing class:
- SemanticAttributes
public static enum SemanticAttributes.FaasTriggerValues extends Enum<SemanticAttributes.FaasTriggerValues>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATASOURCE
A response to some data source operation such as a database or filesystem read/write.HTTP
To provide an answer to an inbound HTTP request.OTHER
If none of the others apply.PUBSUB
A function is set to be executed when messages are sent to a messaging system.TIMER
A function is scheduled to be executed regularly.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
static SemanticAttributes.FaasTriggerValues
valueOf(String name)
Returns the enum constant of this type with the specified name.static SemanticAttributes.FaasTriggerValues[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DATASOURCE
public static final SemanticAttributes.FaasTriggerValues DATASOURCE
A response to some data source operation such as a database or filesystem read/write.
-
HTTP
public static final SemanticAttributes.FaasTriggerValues HTTP
To provide an answer to an inbound HTTP request.
-
PUBSUB
public static final SemanticAttributes.FaasTriggerValues PUBSUB
A function is set to be executed when messages are sent to a messaging system.
-
TIMER
public static final SemanticAttributes.FaasTriggerValues TIMER
A function is scheduled to be executed regularly.
-
OTHER
public static final SemanticAttributes.FaasTriggerValues OTHER
If none of the others apply.
-
-
Method Detail
-
values
public static SemanticAttributes.FaasTriggerValues[] 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 (SemanticAttributes.FaasTriggerValues c : SemanticAttributes.FaasTriggerValues.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SemanticAttributes.FaasTriggerValues 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
-
getValue
public String getValue()
-
-