Class MonthlyCostAttributionAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class MonthlyCostAttributionAttributes extends Object
Cost Attribution by Tag for a given organization.
  • Field Details

  • Constructor Details

    • MonthlyCostAttributionAttributes

      public MonthlyCostAttributionAttributes()
  • Method Details

    • month

    • getMonth

      @Nullable public OffsetDateTime getMonth()
      Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh].
      Returns:
      month
    • setMonth

      public void setMonth(OffsetDateTime month)
    • orgName

      public MonthlyCostAttributionAttributes orgName(String orgName)
    • getOrgName

      @Nullable public String getOrgName()
      The name of the organization.
      Returns:
      orgName
    • setOrgName

      public void setOrgName(String orgName)
    • publicId

      public MonthlyCostAttributionAttributes publicId(String publicId)
    • getPublicId

      @Nullable public String getPublicId()
      The organization public ID.
      Returns:
      publicId
    • setPublicId

      public void setPublicId(String publicId)
    • tagConfigSource

      public MonthlyCostAttributionAttributes tagConfigSource(String tagConfigSource)
    • getTagConfigSource

      @Nullable public String getTagConfigSource()
      The source of the cost attribution tag configuration and the selected tags in the format <source_org_name>:::<selected tag 1>///<selected tag 2>///<selected tag 3> .
      Returns:
      tagConfigSource
    • setTagConfigSource

      public void setTagConfigSource(String tagConfigSource)
    • tags

    • putTagsItem

      public MonthlyCostAttributionAttributes putTagsItem(String key, List<String> tagsItem)
    • getTags

      @Nullable public Map<String,List<String>> getTags()
      Tag keys and values. A null value here means that the requested tag breakdown cannot be applied because it does not match the tags configured for usage attribution. In this scenario the API returns the total cost, not broken down by tags.
      Returns:
      tags
    • getTags_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Map<String,List<String>>> getTags_JsonNullable()
    • setTags_JsonNullable

      public void setTags_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Map<String,List<String>>> tags)
    • setTags

      public void setTags(Map<String,List<String>> tags)
    • updatedAt

      public MonthlyCostAttributionAttributes updatedAt(String updatedAt)
    • getUpdatedAt

      @Nullable public String getUpdatedAt()
      Shows the most recent hour in the current months for all organizations for which all costs were calculated.
      Returns:
      updatedAt
    • setUpdatedAt

      public void setUpdatedAt(String updatedAt)
    • values

      public MonthlyCostAttributionAttributes values(Object values)
    • getValues

      @Nullable public Object getValues()
      Fields in Cost Attribution by tag(s). Example: infra_host_on_demand_cost, infra_host_committed_cost, infra_host_total_cost, infra_host_percentage_in_org, infra_host_percentage_in_account.
      Returns:
      values
    • setValues

      public void setValues(Object values)
    • putAdditionalProperty

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