Class MonthlyUsageAttributionBody

java.lang.Object
com.datadog.api.client.v1.model.MonthlyUsageAttributionBody

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

  • Constructor Details

    • MonthlyUsageAttributionBody

      public MonthlyUsageAttributionBody()
  • Method Details

    • month

    • getMonth

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

      public void setMonth(OffsetDateTime month)
    • orgName

      public MonthlyUsageAttributionBody orgName(String orgName)
    • getOrgName

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

      public void setOrgName(String orgName)
    • publicId

      public MonthlyUsageAttributionBody publicId(String publicId)
    • getPublicId

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

      public void setPublicId(String publicId)
    • region

      public MonthlyUsageAttributionBody region(String region)
    • getRegion

      @Nullable public String getRegion()
      The region of the Datadog instance that the organization belongs to.
      Returns:
      region
    • setRegion

      public void setRegion(String region)
    • tagConfigSource

      public MonthlyUsageAttributionBody tagConfigSource(String tagConfigSource)
    • getTagConfigSource

      @Nullable public String getTagConfigSource()
      The source of the usage 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 MonthlyUsageAttributionBody 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 usage, 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 MonthlyUsageAttributionBody updatedAt(OffsetDateTime updatedAt)
    • getUpdatedAt

      @Nullable public OffsetDateTime getUpdatedAt()
      Datetime of the most recent update to the usage values.
      Returns:
      updatedAt
    • setUpdatedAt

      public void setUpdatedAt(OffsetDateTime updatedAt)
    • values

    • getValues

      @Nullable public MonthlyUsageAttributionValues getValues()
      Fields in Usage Summary by tag(s).
      Returns:
      values
    • setValues

      public void setValues(MonthlyUsageAttributionValues values)
    • putAdditionalProperty

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