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 Details

  • Constructor Details

    • CostTagKeyMetadataAttributes

      public CostTagKeyMetadataAttributes()
    • CostTagKeyMetadataAttributes

      public CostTagKeyMetadataAttributes(Map<String,Long> cardinalityByAccount, Double costCovered, String metric, Long rowCount, List<String> tagSources, Map<String,List<String>> topValuesByAccount)
  • Method Details

    • cardinalityByAccount

      public CostTagKeyMetadataAttributes cardinalityByAccount(Map<String,Long> cardinalityByAccount)
    • putCardinalityByAccountItem

      public CostTagKeyMetadataAttributes putCardinalityByAccountItem(String key, Long cardinalityByAccountItem)
    • getCardinalityByAccount

      public Map<String,Long> getCardinalityByAccount()
      Number of unique tag values observed for this tag key, keyed by cloud account ID.
      Returns:
      cardinalityByAccount
    • setCardinalityByAccount

      public void setCardinalityByAccount(Map<String,Long> cardinalityByAccount)
    • costCovered

      public CostTagKeyMetadataAttributes costCovered(Double costCovered)
    • getCostCovered

      public Double getCostCovered()
      Total cost (in the report currency) of cost line items that carry this tag key for the requested period.
      Returns:
      costCovered
    • setCostCovered

      public void setCostCovered(Double costCovered)
    • date

    • getDate

      @Nullable public String getDate()
      The day this row corresponds to, in YYYY-MM-DD format. Present only when filter[daily]=true; omitted for the monthly roll-up returned by default.
      Returns:
      date
    • setDate

      public void setDate(String date)
    • metric

      public CostTagKeyMetadataAttributes metric(String metric)
    • getMetric

      public String getMetric()
      The Cloud Cost Management metric this row aggregates, for example aws.cost.net.amortized .
      Returns:
      metric
    • setMetric

      public void setMetric(String metric)
    • rowCount

      public CostTagKeyMetadataAttributes rowCount(Long rowCount)
    • getRowCount

      public Long getRowCount()
      Number of cost rows that carry this tag key over the requested period.
      Returns:
      rowCount
    • setRowCount

      public void setRowCount(Long rowCount)
    • tagSources

      public CostTagKeyMetadataAttributes tagSources(List<String> tagSources)
    • addTagSourcesItem

      public CostTagKeyMetadataAttributes addTagSourcesItem(String tagSourcesItem)
    • getTagSources

      public List<String> getTagSources()
      Origins where this tag key was observed (for example, aws-user-defined).
      Returns:
      tagSources
    • setTagSources

      public void setTagSources(List<String> tagSources)
    • topValuesByAccount

      public CostTagKeyMetadataAttributes topValuesByAccount(Map<String,List<String>> topValuesByAccount)
    • putTopValuesByAccountItem

      public CostTagKeyMetadataAttributes putTopValuesByAccountItem(String key, List<String> topValuesByAccountItem)
    • getTopValuesByAccount

      public Map<String,List<String>> getTopValuesByAccount()
      A sample of the most frequent tag values observed for this tag key, keyed by cloud account ID.
      Returns:
      topValuesByAccount
    • setTopValuesByAccount

      public void setTopValuesByAccount(Map<String,List<String>> topValuesByAccount)
    • putAdditionalProperty

      public CostTagKeyMetadataAttributes 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 set
      value - The associated value
      Returns:
      CostTagKeyMetadataAttributes
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this CostTagKeyMetadataAttributes object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object