Package com.datadog.api.client.v2.model
Class TimeseriesAnomalyInvestigationTimeseriesRequest
java.lang.Object
com.datadog.api.client.v2.model.TimeseriesAnomalyInvestigationTimeseriesRequest
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class TimeseriesAnomalyInvestigationTimeseriesRequest
extends Object
Metrics timeseries request to investigate.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTimeseriesAnomalyInvestigationTimeseriesRequest(List<TimeseriesAnomalyInvestigationFormula> formulas, Long from, List<TimeseriesAnomalyInvestigationMetricQuery> queries, Long to) -
Method Summary
Modifier and TypeMethodDescriptionaddFormulasItem(TimeseriesAnomalyInvestigationFormula formulasItem) addQueriesItem(TimeseriesAnomalyInvestigationMetricQuery queriesItem) booleanReturn true if this TimeseriesAnomalyInvestigationTimeseriesRequest object is equal to o.formulas(List<TimeseriesAnomalyInvestigationFormula> formulas) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Formulas to evaluate.getFrom()Start of the investigation time window in milliseconds since the Unix epoch.Optional requested aggregation interval in milliseconds.Metrics queries referenced by the formulas.getTo()End of the investigation time window in milliseconds since the Unix epoch.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetFormulas(List<TimeseriesAnomalyInvestigationFormula> formulas) voidvoidsetInterval(Long interval) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_FORMULAS
- See Also:
-
JSON_PROPERTY_FROM
- See Also:
-
JSON_PROPERTY_INTERVAL
- See Also:
-
JSON_PROPERTY_QUERIES
- See Also:
-
JSON_PROPERTY_TO
- See Also:
-
-
Constructor Details
-
TimeseriesAnomalyInvestigationTimeseriesRequest
public TimeseriesAnomalyInvestigationTimeseriesRequest() -
TimeseriesAnomalyInvestigationTimeseriesRequest
public TimeseriesAnomalyInvestigationTimeseriesRequest(List<TimeseriesAnomalyInvestigationFormula> formulas, Long from, List<TimeseriesAnomalyInvestigationMetricQuery> queries, Long to)
-
-
Method Details
-
formulas
public TimeseriesAnomalyInvestigationTimeseriesRequest formulas(List<TimeseriesAnomalyInvestigationFormula> formulas) -
addFormulasItem
public TimeseriesAnomalyInvestigationTimeseriesRequest addFormulasItem(TimeseriesAnomalyInvestigationFormula formulasItem) -
getFormulas
Formulas to evaluate. Each formula may contain an explicitanomalies()call or a supported metrics expression.- Returns:
- formulas
-
setFormulas
-
from
-
getFrom
Start of the investigation time window in milliseconds since the Unix epoch. minimum: 1- Returns:
- from
-
setFrom
-
interval
-
getInterval
Optional requested aggregation interval in milliseconds. minimum: 1- Returns:
- interval
-
setInterval
-
queries
public TimeseriesAnomalyInvestigationTimeseriesRequest queries(List<TimeseriesAnomalyInvestigationMetricQuery> queries) -
addQueriesItem
public TimeseriesAnomalyInvestigationTimeseriesRequest addQueriesItem(TimeseriesAnomalyInvestigationMetricQuery queriesItem) -
getQueries
Metrics queries referenced by the formulas.- Returns:
- queries
-
setQueries
-
to
-
getTo
End of the investigation time window in milliseconds since the Unix epoch. Must be later thanfrom. minimum: 1- Returns:
- to
-
setTo
-
putAdditionalProperty
public TimeseriesAnomalyInvestigationTimeseriesRequest putAdditionalProperty(String key, Object value) 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:
- TimeseriesAnomalyInvestigationTimeseriesRequest
-
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 TimeseriesAnomalyInvestigationTimeseriesRequest object is equal to o. -
hashCode
public int hashCode() -
toString
-