Class RawErrorBudgetRemaining

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class RawErrorBudgetRemaining extends Object
The raw error budget remaining for the SLO.
  • Field Details

  • Constructor Details

    • RawErrorBudgetRemaining

      public RawErrorBudgetRemaining()
    • RawErrorBudgetRemaining

      public RawErrorBudgetRemaining(String unit, Double value)
  • Method Details

    • unit

      public RawErrorBudgetRemaining unit(String unit)
    • getUnit

      public String getUnit()
      The unit of the error budget (for example, seconds, requests).
      Returns:
      unit
    • setUnit

      public void setUnit(String unit)
    • value

      public RawErrorBudgetRemaining value(Double value)
    • getValue

      public Double getValue()
      The numeric value of the remaining error budget.
      Returns:
      value
    • setValue

      public void setValue(Double value)
    • putAdditionalProperty

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