@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CostTagKeyMetadataAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CARDINALITY_BY_ACCOUNT |
static String |
JSON_PROPERTY_COST_COVERED |
static String |
JSON_PROPERTY_DATE |
static String |
JSON_PROPERTY_METRIC |
static String |
JSON_PROPERTY_ROW_COUNT |
static String |
JSON_PROPERTY_TAG_SOURCES |
static String |
JSON_PROPERTY_TOP_VALUES_BY_ACCOUNT |
boolean |
unparsed |
| Constructor and Description |
|---|
CostTagKeyMetadataAttributes() |
CostTagKeyMetadataAttributes(Map<String,Long> cardinalityByAccount,
Double costCovered,
String metric,
Long rowCount,
List<String> tagSources,
Map<String,List<String>> topValuesByAccount) |
| Modifier and Type | Method and Description |
|---|---|
CostTagKeyMetadataAttributes |
addTagSourcesItem(String tagSourcesItem) |
CostTagKeyMetadataAttributes |
cardinalityByAccount(Map<String,Long> cardinalityByAccount) |
CostTagKeyMetadataAttributes |
costCovered(Double costCovered) |
CostTagKeyMetadataAttributes |
date(String date) |
boolean |
equals(Object o)
Return true if this CostTagKeyMetadataAttributes object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Map<String,Long> |
getCardinalityByAccount()
Number of unique tag values observed for this tag key, keyed by cloud account ID.
|
Double |
getCostCovered()
Total cost (in the report currency) of cost line items that carry this tag key for the
requested period.
|
String |
getDate()
The day this row corresponds to, in
YYYY-MM-DD format. |
String |
getMetric()
The Cloud Cost Management metric this row aggregates, for example
aws.cost.net.amortized
. |
Long |
getRowCount()
Number of cost rows that carry this tag key over the requested period.
|
List<String> |
getTagSources()
Origins where this tag key was observed (for example,
aws-user-defined). |
Map<String,List<String>> |
getTopValuesByAccount()
A sample of the most frequent tag values observed for this tag key, keyed by cloud account ID.
|
int |
hashCode() |
CostTagKeyMetadataAttributes |
metric(String metric) |
CostTagKeyMetadataAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
CostTagKeyMetadataAttributes |
putCardinalityByAccountItem(String key,
Long cardinalityByAccountItem) |
CostTagKeyMetadataAttributes |
putTopValuesByAccountItem(String key,
List<String> topValuesByAccountItem) |
CostTagKeyMetadataAttributes |
rowCount(Long rowCount) |
void |
setCardinalityByAccount(Map<String,Long> cardinalityByAccount) |
void |
setCostCovered(Double costCovered) |
void |
setDate(String date) |
void |
setMetric(String metric) |
void |
setRowCount(Long rowCount) |
void |
setTagSources(List<String> tagSources) |
void |
setTopValuesByAccount(Map<String,List<String>> topValuesByAccount) |
CostTagKeyMetadataAttributes |
tagSources(List<String> tagSources) |
CostTagKeyMetadataAttributes |
topValuesByAccount(Map<String,List<String>> topValuesByAccount) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_CARDINALITY_BY_ACCOUNT
public static final String JSON_PROPERTY_COST_COVERED
public static final String JSON_PROPERTY_DATE
public static final String JSON_PROPERTY_METRIC
public static final String JSON_PROPERTY_ROW_COUNT
public static final String JSON_PROPERTY_TAG_SOURCES
public static final String JSON_PROPERTY_TOP_VALUES_BY_ACCOUNT
public CostTagKeyMetadataAttributes cardinalityByAccount(Map<String,Long> cardinalityByAccount)
public CostTagKeyMetadataAttributes putCardinalityByAccountItem(String key, Long cardinalityByAccountItem)
public Map<String,Long> getCardinalityByAccount()
public CostTagKeyMetadataAttributes costCovered(Double costCovered)
public Double getCostCovered()
public void setCostCovered(Double costCovered)
public CostTagKeyMetadataAttributes date(String date)
@Nullable public String getDate()
YYYY-MM-DD format. Present only when
filter[daily]=true; omitted for the monthly roll-up returned by default.public void setDate(String date)
public CostTagKeyMetadataAttributes metric(String metric)
public String getMetric()
aws.cost.net.amortized
.public void setMetric(String metric)
public CostTagKeyMetadataAttributes rowCount(Long rowCount)
public Long getRowCount()
public void setRowCount(Long rowCount)
public CostTagKeyMetadataAttributes tagSources(List<String> tagSources)
public CostTagKeyMetadataAttributes addTagSourcesItem(String tagSourcesItem)
public List<String> getTagSources()
aws-user-defined).public CostTagKeyMetadataAttributes topValuesByAccount(Map<String,List<String>> topValuesByAccount)
public CostTagKeyMetadataAttributes putTopValuesByAccountItem(String key, List<String> topValuesByAccountItem)
public Map<String,List<String>> getTopValuesByAccount()
public void setTopValuesByAccount(Map<String,List<String>> topValuesByAccount)
public CostTagKeyMetadataAttributes 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.