Package io.opentelemetry.api.common
Interface KeyValue
-
- All Known Implementing Classes:
AutoValue_KeyValueImpl
,KeyValueImpl
public interface KeyValue
Key-value pair ofString
key andValue
value.- Since:
- 1.42.0
- See Also:
Value.of(KeyValue...)
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getKey()
Returns the key.Value<?>
getValue()
Returns the value.static KeyValue
of(java.lang.String key, Value<?> value)
-