Class CostTagKeySourceAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CostTagKeySourceAttributes extends Object
Attributes of a Cloud Cost Management tag source.
  • Field Details

  • Constructor Details

    • CostTagKeySourceAttributes

      public CostTagKeySourceAttributes()
    • CostTagKeySourceAttributes

      public CostTagKeySourceAttributes(String tagKey, List<String> tagSources)
  • Method Details

    • tagKey

      public CostTagKeySourceAttributes tagKey(String tagKey)
    • getTagKey

      public String getTagKey()
      The tag key name.
      Returns:
      tagKey
    • setTagKey

      public void setTagKey(String tagKey)
    • tagSources

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

      public CostTagKeySourceAttributes 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)
    • putAdditionalProperty

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