Package com.datadog.api.client.v1.model
Class SLOTimeSliceQuery
java.lang.Object
com.datadog.api.client.v1.model.SLOTimeSliceQuery
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SLOTimeSliceQuery
extends Object
The queries and formula used to calculate the SLI value.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSLOTimeSliceQuery(List<SLOFormula> formulas, List<SLODataSourceQueryDefinition> queries) -
Method Summary
Modifier and TypeMethodDescriptionaddFormulasItem(SLOFormula formulasItem) addQueriesItem(SLODataSourceQueryDefinition queriesItem) booleanReturn true if this SLOTimeSliceQuery object is equal to o.formulas(List<SLOFormula> formulas) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A list that contains exactly one formula, as only a single formula may be used in a time-slice SLO.A list of queries that are used to calculate the SLI value.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.queries(List<SLODataSourceQueryDefinition> queries) voidsetFormulas(List<SLOFormula> formulas) voidsetQueries(List<SLODataSourceQueryDefinition> queries) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_FORMULAS
- See Also:
-
JSON_PROPERTY_QUERIES
- See Also:
-
-
Constructor Details
-
SLOTimeSliceQuery
public SLOTimeSliceQuery() -
SLOTimeSliceQuery
-
-
Method Details
-
formulas
-
addFormulasItem
-
getFormulas
A list that contains exactly one formula, as only a single formula may be used in a time-slice SLO.- Returns:
- formulas
-
setFormulas
-
queries
-
addQueriesItem
-
getQueries
A list of queries that are used to calculate the SLI value.- Returns:
- queries
-
setQueries
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- SLOTimeSliceQuery
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this SLOTimeSliceQuery object is equal to o. -
hashCode
public int hashCode() -
toString
-