Class UsageQuotaResponseAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class UsageQuotaResponseAttributes extends Object
Attributes of a usage quota.
  • Field Details

  • Constructor Details

    • UsageQuotaResponseAttributes

      public UsageQuotaResponseAttributes()
    • UsageQuotaResponseAttributes

      public UsageQuotaResponseAttributes(Boolean enforced, String orgPublicId, Double usageLimit)
  • Method Details

    • enforced

      public UsageQuotaResponseAttributes enforced(Boolean enforced)
    • getEnforced

      public Boolean getEnforced()
      Whether usage above the limit is actively blocked instead of only tracked or alerted on.
      Returns:
      enforced
    • setEnforced

      public void setEnforced(Boolean enforced)
    • orgPublicId

      public UsageQuotaResponseAttributes orgPublicId(String orgPublicId)
    • getOrgPublicId

      public String getOrgPublicId()
      The public ID of the organization that owns the quota.
      Returns:
      orgPublicId
    • setOrgPublicId

      public void setOrgPublicId(String orgPublicId)
    • scope

    • putScopeItem

      public UsageQuotaResponseAttributes putScopeItem(String key, String scopeItem)
    • getScope

      @Nullable public Map<String,String> getScope()
      A namespace-specific key and value identifying what the quota applies to within an organization. The object contains exactly one entry. A value of "*" identifies the default quota applied to entities without a specific quota. This field is omitted for an organization-wide quota.
      Returns:
      scope
    • setScope

      public void setScope(Map<String,String> scope)
    • usageLimit

      public UsageQuotaResponseAttributes usageLimit(Double usageLimit)
    • getUsageLimit

      public Double getUsageLimit()
      The quota limit in the usage units defined by the quota namespace. May be fractional for quotas configured before public writes required whole units.
      Returns:
      usageLimit
    • setUsageLimit

      public void setUsageLimit(Double usageLimit)
    • putAdditionalProperty

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