Package com.datadog.api.client.v2.model
Class CostTagKeyMetadataAttributes
java.lang.Object
com.datadog.api.client.v2.model.CostTagKeyMetadataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CostTagKeyMetadataAttributes
extends Object
Attributes of a Cloud Cost Management tag key metadata entry.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTagSourcesItem(String tagSourcesItem) cardinalityByAccount(Map<String, Long> cardinalityByAccount) costCovered(Double costCovered) booleanReturn true if this CostTagKeyMetadataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Number of unique tag values observed for this tag key, keyed by cloud account ID.Total cost (in the report currency) of cost line items that carry this tag key for the requested period.getDate()The day this row corresponds to, inYYYY-MM-DDformat.The Cloud Cost Management metric this row aggregates, for exampleaws.cost.net.amortized.Number of cost rows that carry this tag key over the requested period.Origins where this tag key was observed (for example,aws-user-defined).A sample of the most frequent tag values observed for this tag key, keyed by cloud account ID.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putCardinalityByAccountItem(String key, Long cardinalityByAccountItem) putTopValuesByAccountItem(String key, List<String> topValuesByAccountItem) voidsetCardinalityByAccount(Map<String, Long> cardinalityByAccount) voidsetCostCovered(Double costCovered) voidvoidvoidsetRowCount(Long rowCount) voidsetTagSources(List<String> tagSources) voidsetTopValuesByAccount(Map<String, List<String>> topValuesByAccount) tagSources(List<String> tagSources) topValuesByAccount(Map<String, List<String>> topValuesByAccount) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CARDINALITY_BY_ACCOUNT
- See Also:
-
JSON_PROPERTY_COST_COVERED
- See Also:
-
JSON_PROPERTY_DATE
- See Also:
-
JSON_PROPERTY_METRIC
- See Also:
-
JSON_PROPERTY_ROW_COUNT
- See Also:
-
JSON_PROPERTY_TAG_SOURCES
- See Also:
-
JSON_PROPERTY_TOP_VALUES_BY_ACCOUNT
- See Also:
-
-
Constructor Details
-
CostTagKeyMetadataAttributes
public CostTagKeyMetadataAttributes() -
CostTagKeyMetadataAttributes
-
-
Method Details
-
cardinalityByAccount
-
putCardinalityByAccountItem
public CostTagKeyMetadataAttributes putCardinalityByAccountItem(String key, Long cardinalityByAccountItem) -
getCardinalityByAccount
Number of unique tag values observed for this tag key, keyed by cloud account ID.- Returns:
- cardinalityByAccount
-
setCardinalityByAccount
-
costCovered
-
getCostCovered
Total cost (in the report currency) of cost line items that carry this tag key for the requested period.- Returns:
- costCovered
-
setCostCovered
-
date
-
getDate
The day this row corresponds to, inYYYY-MM-DDformat. Present only whenfilter[daily]=true; omitted for the monthly roll-up returned by default.- Returns:
- date
-
setDate
-
metric
-
getMetric
The Cloud Cost Management metric this row aggregates, for exampleaws.cost.net.amortized.- Returns:
- metric
-
setMetric
-
rowCount
-
getRowCount
Number of cost rows that carry this tag key over the requested period.- Returns:
- rowCount
-
setRowCount
-
tagSources
-
addTagSourcesItem
-
getTagSources
Origins where this tag key was observed (for example,aws-user-defined).- Returns:
- tagSources
-
setTagSources
-
topValuesByAccount
-
putTopValuesByAccountItem
public CostTagKeyMetadataAttributes putTopValuesByAccountItem(String key, List<String> topValuesByAccountItem) -
getTopValuesByAccount
A sample of the most frequent tag values observed for this tag key, keyed by cloud account ID.- Returns:
- topValuesByAccount
-
setTopValuesByAccount
-
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:
- CostTagKeyMetadataAttributes
-
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 CostTagKeyMetadataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-