Package com.datadog.api.client.v2.model
Class CostAnomaly
java.lang.Object
com.datadog.api.client.v2.model.CostAnomaly
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CostAnomaly
extends Object
A single detected Cloud Cost Management anomaly.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactualCost(Double actualCost) anomalousCostChange(Double anomalousCostChange) anomalyEnd(Long anomalyEnd) anomalyStart(Long anomalyStart) correlatedTags(Map<String, List<String>> correlatedTags) dimensions(Map<String, String> dimensions) dismissal(CostAnomalyDismissal dismissal) booleanReturn true if this CostAnomaly object is equal to o.Actual cost incurred during the anomaly window.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Anomalous cost change relative to the expected baseline.Anomaly end timestamp in Unix milliseconds.Anomaly start timestamp in Unix milliseconds.Map of correlated tag keys to the list of correlated tag values.Map of cost dimension keys to their values for the anomaly grouping.Resolution metadata for an anomaly that has been dismissed.Maximum cost observed during the anomaly window.Cloud or SaaS provider associated with the anomaly (for exampleaws,gcp,azure).getQuery()The metrics query that detected the anomaly.getUuid()The unique identifier of the anomaly.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putCorrelatedTagsItem(String key, List<String> correlatedTagsItem) putDimensionsItem(String key, String dimensionsItem) voidsetActualCost(Double actualCost) voidsetAnomalousCostChange(Double anomalousCostChange) voidsetAnomalyEnd(Long anomalyEnd) voidsetAnomalyStart(Long anomalyStart) voidsetCorrelatedTags(Map<String, List<String>> correlatedTags) voidsetDimensions(Map<String, String> dimensions) voidsetDismissal(CostAnomalyDismissal dismissal) voidsetMaxCost(Double maxCost) voidsetProvider(String provider) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ACTUAL_COST
- See Also:
-
JSON_PROPERTY_ANOMALOUS_COST_CHANGE
- See Also:
-
JSON_PROPERTY_ANOMALY_END
- See Also:
-
JSON_PROPERTY_ANOMALY_START
- See Also:
-
JSON_PROPERTY_CORRELATED_TAGS
- See Also:
-
JSON_PROPERTY_DIMENSIONS
- See Also:
-
JSON_PROPERTY_DISMISSAL
- See Also:
-
JSON_PROPERTY_MAX_COST
- See Also:
-
JSON_PROPERTY_PROVIDER
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
JSON_PROPERTY_UUID
- See Also:
-
-
Constructor Details
-
CostAnomaly
public CostAnomaly() -
CostAnomaly
-
-
Method Details
-
actualCost
-
getActualCost
Actual cost incurred during the anomaly window.- Returns:
- actualCost
-
setActualCost
-
anomalousCostChange
-
getAnomalousCostChange
Anomalous cost change relative to the expected baseline.- Returns:
- anomalousCostChange
-
setAnomalousCostChange
-
anomalyEnd
-
getAnomalyEnd
Anomaly end timestamp in Unix milliseconds.- Returns:
- anomalyEnd
-
setAnomalyEnd
-
anomalyStart
-
getAnomalyStart
Anomaly start timestamp in Unix milliseconds.- Returns:
- anomalyStart
-
setAnomalyStart
-
dimensions
-
putDimensionsItem
-
getDimensions
Map of cost dimension keys to their values for the anomaly grouping.- Returns:
- dimensions
-
setDimensions
-
dismissal
-
getDismissal
Resolution metadata for an anomaly that has been dismissed.- Returns:
- dismissal
-
setDismissal
-
maxCost
-
getMaxCost
Maximum cost observed during the anomaly window.- Returns:
- maxCost
-
setMaxCost
-
provider
-
getProvider
Cloud or SaaS provider associated with the anomaly (for exampleaws,gcp,azure).- Returns:
- provider
-
setProvider
-
query
-
getQuery
The metrics query that detected the anomaly.- Returns:
- query
-
setQuery
-
uuid
-
getUuid
The unique identifier of the anomaly.- Returns:
- uuid
-
setUuid
-
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:
- CostAnomaly
-
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 CostAnomaly object is equal to o. -
hashCode
public int hashCode() -
toString
-