Class UsageQuotaUpdateAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class UsageQuotaUpdateAttributes extends Object
Attributes to update on a usage quota. Omitting a property leaves its current value unchanged.
  • Field Details

  • Constructor Details

    • UsageQuotaUpdateAttributes

      public UsageQuotaUpdateAttributes()
  • Method Details

    • enforced

      public UsageQuotaUpdateAttributes enforced(Boolean enforced)
    • getEnforced

      @Nullable public Boolean getEnforced()
      Whether to actively block usage above the limit. Omit this field to leave the current enforcement setting unchanged.
      Returns:
      enforced
    • getEnforced_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Boolean> getEnforced_JsonNullable()
    • setEnforced_JsonNullable

      public void setEnforced_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> enforced)
    • setEnforced

      public void setEnforced(Boolean enforced)
    • usageLimit

      public UsageQuotaUpdateAttributes usageLimit(Long usageLimit)
    • getUsageLimit

      @Nullable public Long getUsageLimit()
      The new quota limit in the usage units defined by the quota namespace. For an organization-wide quota (empty scope), the limit must be greater than the usage already recorded in the current period. Omit this field to leave the current limit unchanged. minimum: 0
      Returns:
      usageLimit
    • getUsageLimit_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getUsageLimit_JsonNullable()
    • setUsageLimit_JsonNullable

      public void setUsageLimit_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> usageLimit)
    • setUsageLimit

      public void setUsageLimit(Long usageLimit)
    • putAdditionalProperty

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