Interface TypedAttributes
- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
TypedAttributes.BuilderBase.TypedAttributesImpl
Abstraction of typed attributes settable on OpenTelemetry elements.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forTypedAttributes.static classTypedAttributes.BuilderBase<BUILDER extends TypedAttributes.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends TypedAttributes>Fluent API builder base forTypedAttributes. -
Method Summary
Modifier and TypeMethodDescriptionBoolean attributes.static TypedAttributes.Builderbuilder()Create a new fluent API builder to customize configuration.static TypedAttributes.Builderbuilder(TypedAttributes instance) Create a new fluent API builder from an existing instance.static TypedAttributescreate()Create a new instance with default values.static TypedAttributesCreate a new instance from configuration.Double attributes.Long attributes.String attributes.
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance from configuration.- Parameters:
config- used to configure the new instance- Returns:
- a new instance configured from configuration
-
create
-
stringAttributes
-
booleanAttributes
-
longAttributes
-
doubleAttributes
-