Package io.opentelemetry.api.common
Interface KeyValue
-
- All Known Implementing Classes:
AutoValue_KeyValueImpl,KeyValueImpl
public interface KeyValueKey-value pair ofStringkey andValuevalue.- 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.StringgetKey()Returns the key.Value<?>getValue()Returns the value.static KeyValueof(java.lang.String key, Value<?> value)
-