@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CostAnomaly extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ACTUAL_COST |
static String |
JSON_PROPERTY_ANOMALOUS_COST_CHANGE |
static String |
JSON_PROPERTY_ANOMALY_END |
static String |
JSON_PROPERTY_ANOMALY_START |
static String |
JSON_PROPERTY_CORRELATED_TAGS |
static String |
JSON_PROPERTY_DIMENSIONS |
static String |
JSON_PROPERTY_DISMISSAL |
static String |
JSON_PROPERTY_MAX_COST |
static String |
JSON_PROPERTY_PROVIDER |
static String |
JSON_PROPERTY_QUERY |
static String |
JSON_PROPERTY_UUID |
boolean |
unparsed |
| Constructor and Description |
|---|
CostAnomaly() |
CostAnomaly(Double actualCost,
Double anomalousCostChange,
Long anomalyEnd,
Long anomalyStart,
Map<String,List<String>> correlatedTags,
Map<String,String> dimensions,
Double maxCost,
String provider,
String query,
String uuid) |
| Modifier and Type | Method and Description |
|---|---|
CostAnomaly |
actualCost(Double actualCost) |
CostAnomaly |
anomalousCostChange(Double anomalousCostChange) |
CostAnomaly |
anomalyEnd(Long anomalyEnd) |
CostAnomaly |
anomalyStart(Long anomalyStart) |
CostAnomaly |
correlatedTags(Map<String,List<String>> correlatedTags) |
CostAnomaly |
dimensions(Map<String,String> dimensions) |
CostAnomaly |
dismissal(CostAnomalyDismissal dismissal) |
boolean |
equals(Object o)
Return true if this CostAnomaly object is equal to o.
|
Double |
getActualCost()
Actual cost incurred during the anomaly window.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Double |
getAnomalousCostChange()
Anomalous cost change relative to the expected baseline.
|
Long |
getAnomalyEnd()
Anomaly end timestamp in Unix milliseconds.
|
Long |
getAnomalyStart()
Anomaly start timestamp in Unix milliseconds.
|
Map<String,List<String>> |
getCorrelatedTags()
Map of correlated tag keys to the list of correlated tag values.
|
Map<String,String> |
getDimensions()
Map of cost dimension keys to their values for the anomaly grouping.
|
CostAnomalyDismissal |
getDismissal()
Resolution metadata for an anomaly that has been dismissed.
|
Double |
getMaxCost()
Maximum cost observed during the anomaly window.
|
String |
getProvider()
Cloud or SaaS provider associated with the anomaly (for example
aws, gcp
, azure). |
String |
getQuery()
The metrics query that detected the anomaly.
|
String |
getUuid()
The unique identifier of the anomaly.
|
int |
hashCode() |
CostAnomaly |
maxCost(Double maxCost) |
CostAnomaly |
provider(String provider) |
CostAnomaly |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
CostAnomaly |
putCorrelatedTagsItem(String key,
List<String> correlatedTagsItem) |
CostAnomaly |
putDimensionsItem(String key,
String dimensionsItem) |
CostAnomaly |
query(String query) |
void |
setActualCost(Double actualCost) |
void |
setAnomalousCostChange(Double anomalousCostChange) |
void |
setAnomalyEnd(Long anomalyEnd) |
void |
setAnomalyStart(Long anomalyStart) |
void |
setCorrelatedTags(Map<String,List<String>> correlatedTags) |
void |
setDimensions(Map<String,String> dimensions) |
void |
setDismissal(CostAnomalyDismissal dismissal) |
void |
setMaxCost(Double maxCost) |
void |
setProvider(String provider) |
void |
setQuery(String query) |
void |
setUuid(String uuid) |
String |
toString() |
CostAnomaly |
uuid(String uuid) |
public boolean unparsed
public static final String JSON_PROPERTY_ACTUAL_COST
public static final String JSON_PROPERTY_ANOMALOUS_COST_CHANGE
public static final String JSON_PROPERTY_ANOMALY_END
public static final String JSON_PROPERTY_ANOMALY_START
public static final String JSON_PROPERTY_CORRELATED_TAGS
public static final String JSON_PROPERTY_DIMENSIONS
public static final String JSON_PROPERTY_DISMISSAL
public static final String JSON_PROPERTY_MAX_COST
public static final String JSON_PROPERTY_PROVIDER
public static final String JSON_PROPERTY_QUERY
public static final String JSON_PROPERTY_UUID
public CostAnomaly actualCost(Double actualCost)
public Double getActualCost()
public void setActualCost(Double actualCost)
public CostAnomaly anomalousCostChange(Double anomalousCostChange)
public Double getAnomalousCostChange()
public void setAnomalousCostChange(Double anomalousCostChange)
public CostAnomaly anomalyEnd(Long anomalyEnd)
public Long getAnomalyEnd()
public void setAnomalyEnd(Long anomalyEnd)
public CostAnomaly anomalyStart(Long anomalyStart)
public Long getAnomalyStart()
public void setAnomalyStart(Long anomalyStart)
public CostAnomaly correlatedTags(Map<String,List<String>> correlatedTags)
public CostAnomaly putCorrelatedTagsItem(String key, List<String> correlatedTagsItem)
@Nullable public Map<String,List<String>> getCorrelatedTags()
public CostAnomaly dimensions(Map<String,String> dimensions)
public CostAnomaly putDimensionsItem(String key, String dimensionsItem)
public Map<String,String> getDimensions()
public CostAnomaly dismissal(CostAnomalyDismissal dismissal)
@Nullable public CostAnomalyDismissal getDismissal()
public void setDismissal(CostAnomalyDismissal dismissal)
public CostAnomaly maxCost(Double maxCost)
public Double getMaxCost()
public void setMaxCost(Double maxCost)
public CostAnomaly provider(String provider)
public String getProvider()
aws, gcp
, azure).public void setProvider(String provider)
public CostAnomaly query(String query)
public String getQuery()
public void setQuery(String query)
public CostAnomaly uuid(String uuid)
public String getUuid()
public void setUuid(String uuid)
public CostAnomaly putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.