Class AttributeNameValueModel
java.lang.Object
io.opentelemetry.sdk.autoconfigure.declarativeconfig.model.AttributeNameValueModel
@Generated("io.opentelemetry.gradle.DeclarativeConfigPojoGenerator")
public class AttributeNameValueModel
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()The attribute name.getType()The attribute type.getValue()The attribute value.inthashCode()setExtensionProperty(String name, Object value) setType(AttributeTypeModel type) toString()
-
Constructor Details
-
AttributeNameValueModel
public AttributeNameValueModel()
-
-
Method Details
-
getName
The attribute name.Property is required and must be non-null.
-
setName
-
getValue
The attribute value.The type of value must match .type.
Property must be present, but if null the entry is ignored.
-
setValue
-
getType
The attribute type.Values include:
* bool: Boolean attribute value.
* bool_array: Boolean array attribute value.
* double: Double attribute value.
* double_array: Double array attribute value.
* int: Integer attribute value.
* int_array: Integer array attribute value.
* string: String attribute value.
* string_array: String array attribute value.
If omitted, string is used.
-
setType
-
getExtensionProperties
-
setExtensionProperty
-
toString
-
hashCode
public int hashCode() -
equals
-