Klasse EvaluateQueryInstantOperationSpec
java.lang.Object
io.github.primelib.prometheus4j.spec.EvaluateQueryInstantOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class EvaluateQueryInstantOperationSpec
extends Object
EvaluateQueryInstantSpec
Specification for the EvaluateQueryInstant operation.
Evaluates instant query
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedEvaluateQueryInstantOperationSpec(String query, String time, String timeout) Constructs a validated instance ofEvaluateQueryInstantOperationSpec.Constructs a validated instance ofEvaluateQueryInstantOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected booleanbooleaninthashCode()@NotNull Stringquery()Prometheus expression query string.Prometheus expression query string.@Nullable Stringtime()Evaluation timestamp.Evaluation timestamp.@Nullable Stringtimeout()Evaluation timeout.Evaluation timeout.toString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
EvaluateQueryInstantOperationSpec
@Internal public EvaluateQueryInstantOperationSpec(Consumer<EvaluateQueryInstantOperationSpec> spec) Constructs a validated instance ofEvaluateQueryInstantOperationSpec.- Parameter:
spec- the specification to process
-
EvaluateQueryInstantOperationSpec
Constructs a validated instance ofEvaluateQueryInstantOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
query- Prometheus expression query string.time- Evaluation timestamp. Optional. The current server time is used if the time parameter is omitted.timeout- Evaluation timeout. Optional. Defaults to and is capped by the value of the-query.timeoutflag.
-
EvaluateQueryInstantOperationSpec
protected EvaluateQueryInstantOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
-
query
Prometheus expression query string. -
time
Evaluation timestamp. Optional. The current server time is used if the time parameter is omitted. -
timeout
Evaluation timeout. Optional. Defaults to and is capped by the value of the-query.timeoutflag. -
query
Prometheus expression query string.- Gibt zurück:
this.
-
time
Evaluation timestamp. Optional. The current server time is used if the time parameter is omitted.- Gibt zurück:
this.
-
timeout
Evaluation timeout. Optional. Defaults to and is capped by the value of the-query.timeoutflag.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-