Class CostTagDescriptionAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CostTagDescriptionAttributes extends Object
Human-readable description and metadata attached to a Cloud Cost Management tag key, optionally scoped to a single cloud provider.
  • Field Details

  • Constructor Details

  • Method Details

    • cloud

      public CostTagDescriptionAttributes cloud(String cloud)
    • getCloud

      public String getCloud()
      Cloud provider this description applies to (for example, aws). Empty when the description is the cross-cloud default for the tag key.
      Returns:
      cloud
    • setCloud

      public void setCloud(String cloud)
    • createdAt

      public CostTagDescriptionAttributes createdAt(String createdAt)
    • getCreatedAt

      public String getCreatedAt()
      Timestamp when the description was created, in RFC 3339 format.
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(String createdAt)
    • description

      public CostTagDescriptionAttributes description(String description)
    • getDescription

      public String getDescription()
      The human-readable description for the tag key.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • source

    • getSource

      public CostTagDescriptionSource getSource()
      Origin of the description. human indicates the description was written by a user, ai_generated was produced by AI, and datadog is a default supplied by Datadog.
      Returns:
      source
    • setSource

      public void setSource(CostTagDescriptionSource source)
    • tagKey

      public CostTagDescriptionAttributes tagKey(String tagKey)
    • getTagKey

      public String getTagKey()
      The tag key this description applies to.
      Returns:
      tagKey
    • setTagKey

      public void setTagKey(String tagKey)
    • updatedAt

      public CostTagDescriptionAttributes updatedAt(String updatedAt)
    • getUpdatedAt

      public String getUpdatedAt()
      Timestamp when the description was last updated, in RFC 3339 format.
      Returns:
      updatedAt
    • setUpdatedAt

      public void setUpdatedAt(String updatedAt)
    • putAdditionalProperty

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