Class CostTagKeyDetails

java.lang.Object
com.datadog.api.client.v2.model.CostTagKeyDetails

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CostTagKeyDetails extends Object
Additional details for a Cloud Cost Management tag key, including its description and example tag values.
  • Field Details

  • Constructor Details

    • CostTagKeyDetails

      public CostTagKeyDetails()
    • CostTagKeyDetails

      public CostTagKeyDetails(String description, List<String> tagValues)
  • Method Details

    • description

      public CostTagKeyDetails description(String description)
    • getDescription

      public String getDescription()
      Description of the tag key.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • tagValues

      public CostTagKeyDetails tagValues(List<String> tagValues)
    • addTagValuesItem

      public CostTagKeyDetails addTagValuesItem(String tagValuesItem)
    • getTagValues

      public List<String> getTagValues()
      Example tag values observed for this tag key.
      Returns:
      tagValues
    • setTagValues

      public void setTagValues(List<String> tagValues)
    • putAdditionalProperty

      public CostTagKeyDetails 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:
      CostTagKeyDetails
    • 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 CostTagKeyDetails 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