Klasse EvaluateQueryRangeOperationSpec

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

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

Specification for the EvaluateQueryRange operation.

Evaluates query over range of time.

  • Felddetails

    • VALIDATION_ENABLED

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

    • EvaluateQueryRangeOperationSpec

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

      @Internal public EvaluateQueryRangeOperationSpec(String query, String start, String end, String step, String timeout)
      Constructs a validated instance of EvaluateQueryRangeOperationSpec.

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

      Parameter:
      query - Prometheus expression query string.
      start - Start timestamp.
      end - End timestamp.
      step - Query resolution step width in duration format or float number of seconds.
      timeout - Evaluation timeout. Optional. Defaults to and is capped by the value of the -query.timeout flag.
    • EvaluateQueryRangeOperationSpec

      protected EvaluateQueryRangeOperationSpec()
  • Methodendetails

    • validate

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

    • query

      @NotNull public @NotNull String query()
      Prometheus expression query string.
    • start

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

      @Nullable public @Nullable String end()
      End timestamp.
    • step

      @Nullable public @Nullable String step()
      Query resolution step width in duration format or float number of seconds.
    • timeout

      @Nullable public @Nullable String timeout()
      Evaluation timeout. Optional. Defaults to and is capped by the value of the -query.timeout flag.
    • query

      public EvaluateQueryRangeOperationSpec query(@NotNull @NotNull String query)
      Prometheus expression query string.
      Gibt zurück:
      this.
    • start

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

      public EvaluateQueryRangeOperationSpec end(@Nullable @Nullable String end)
      End timestamp.
      Gibt zurück:
      this.
    • step

      public EvaluateQueryRangeOperationSpec step(@Nullable @Nullable String step)
      Query resolution step width in duration format or float number of seconds.
      Gibt zurück:
      this.
    • timeout

      public EvaluateQueryRangeOperationSpec timeout(@Nullable @Nullable String timeout)
      Evaluation timeout. Optional. Defaults to and is capped by the value of the -query.timeout flag.
      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