Klasse ReadSeriesOperationSpec

java.lang.Object
io.github.primelib.prometheus4j.spec.ReadSeriesOperationSpec

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class ReadSeriesOperationSpec extends Object
ReadSeriesSpec

Specification for the ReadSeries operation.

Returns time series

  • Felddetails

    • VALIDATION_ENABLED

      @Experimental public static Boolean VALIDATION_ENABLED
      allows to disable validation of the spec, use with care!
  • Konstruktordetails

    • ReadSeriesOperationSpec

      @Internal public ReadSeriesOperationSpec(Consumer<ReadSeriesOperationSpec> spec)
      Constructs a validated instance of ReadSeriesOperationSpec.
      Parameter:
      spec - the specification to process
    • ReadSeriesOperationSpec

      @Internal public ReadSeriesOperationSpec(List<String> match, String start, String end)
      Constructs a validated instance of ReadSeriesOperationSpec.

      NOTE: This constructor is not considered stable and may change if the operation is updated.

      Parameter:
      match - Repeated series selector argument that selects the series to return. At least one match[] argument must be provided.
      start - Start timestamp. Optional.
      end - End timestamp. Optional.
    • ReadSeriesOperationSpec

      protected ReadSeriesOperationSpec()
  • Methodendetails

    • validate

      public void validate()
      Validates the Spec, will throw a exception if required parameters are missing
      Löst aus:
      NullPointerException
    • builder

    • match

      @NotNull public @NotNull List<String> match()
      Repeated series selector argument that selects the series to return. At least one match[] argument must be provided.
    • start

      @Nullable public @Nullable String start()
      Start timestamp. Optional.
    • end

      @Nullable public @Nullable String end()
      End timestamp. Optional.
    • match

      public ReadSeriesOperationSpec match(@NotNull @NotNull List<String> match)
      Repeated series selector argument that selects the series to return. At least one match[] argument must be provided.
      Gibt zurück:
      this.
    • start

      public ReadSeriesOperationSpec start(@Nullable @Nullable String start)
      Start timestamp. Optional.
      Gibt zurück:
      this.
    • end

      public ReadSeriesOperationSpec end(@Nullable @Nullable String end)
      End timestamp. Optional.
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object