java.lang.Object
io.opentelemetry.sdk.autoconfigure.declarativeconfig.model.ViewModel

@Generated("io.opentelemetry.gradle.DeclarativeConfigPojoGenerator") public class ViewModel extends Object
  • Constructor Details

    • ViewModel

      public ViewModel()
  • Method Details

    • getSelector

      @Nullable public ViewSelectorModel getSelector()
      Configure view selector.

      Selection criteria is additive as described in https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md#instrument-selection-criteria.

      Property is required and must be non-null.

    • withSelector

      public ViewModel withSelector(ViewSelectorModel selector)
    • getStream

      @Nullable public ViewStreamModel getStream()
      Configure view stream.

      Property is required and must be non-null.

    • withStream

      public ViewModel withStream(ViewStreamModel stream)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object