Class SLOStatus

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SLOStatus extends Object
Status of the SLO's primary timeframe.
  • Field Details

  • Constructor Details

    • SLOStatus

      public SLOStatus()
  • Method Details

    • calculationError

      public SLOStatus calculationError(String calculationError)
    • getCalculationError

      @Nullable public String getCalculationError()
      Error message if SLO status or error budget could not be calculated.
      Returns:
      calculationError
    • getCalculationError_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getCalculationError_JsonNullable()
    • setCalculationError_JsonNullable

      public void setCalculationError_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> calculationError)
    • setCalculationError

      public void setCalculationError(String calculationError)
    • errorBudgetRemaining

      public SLOStatus errorBudgetRemaining(Double errorBudgetRemaining)
    • getErrorBudgetRemaining

      @Nullable public Double getErrorBudgetRemaining()
      Remaining error budget of the SLO in percentage.
      Returns:
      errorBudgetRemaining
    • getErrorBudgetRemaining_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Double> getErrorBudgetRemaining_JsonNullable()
    • setErrorBudgetRemaining_JsonNullable

      public void setErrorBudgetRemaining_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> errorBudgetRemaining)
    • setErrorBudgetRemaining

      public void setErrorBudgetRemaining(Double errorBudgetRemaining)
    • indexedAt

      public SLOStatus indexedAt(Long indexedAt)
    • getIndexedAt

      @Nullable public Long getIndexedAt()
      timestamp (UNIX time in seconds) of when the SLO status and error budget were calculated.
      Returns:
      indexedAt
    • setIndexedAt

      public void setIndexedAt(Long indexedAt)
    • rawErrorBudgetRemaining

      public SLOStatus rawErrorBudgetRemaining(SLORawErrorBudgetRemaining rawErrorBudgetRemaining)
    • getRawErrorBudgetRemaining

      @Nullable public SLORawErrorBudgetRemaining getRawErrorBudgetRemaining()
      Error budget remaining for an SLO.
      Returns:
      rawErrorBudgetRemaining
    • getRawErrorBudgetRemaining_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<SLORawErrorBudgetRemaining> getRawErrorBudgetRemaining_JsonNullable()
    • setRawErrorBudgetRemaining_JsonNullable

      public void setRawErrorBudgetRemaining_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<SLORawErrorBudgetRemaining> rawErrorBudgetRemaining)
    • setRawErrorBudgetRemaining

      public void setRawErrorBudgetRemaining(SLORawErrorBudgetRemaining rawErrorBudgetRemaining)
    • sli

      public SLOStatus sli(Double sli)
    • getSli

      @Nullable public Double getSli()
      The current service level indicator (SLI) of the SLO, also known as 'status'. This is a percentage value from 0-100 (inclusive).
      Returns:
      sli
    • getSli_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Double> getSli_JsonNullable()
    • setSli_JsonNullable

      public void setSli_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> sli)
    • setSli

      public void setSli(Double sli)
    • spanPrecision

      public SLOStatus spanPrecision(Long spanPrecision)
    • getSpanPrecision

      @Nullable public Long getSpanPrecision()
      The number of decimal places the SLI value is accurate to.
      Returns:
      spanPrecision
    • getSpanPrecision_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getSpanPrecision_JsonNullable()
    • setSpanPrecision_JsonNullable

      public void setSpanPrecision_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> spanPrecision)
    • setSpanPrecision

      public void setSpanPrecision(Long spanPrecision)
    • state

      public SLOStatus state(SLOState state)
    • getState

      @Nullable public SLOState getState()
      State of the SLO.
      Returns:
      state
    • setState

      public void setState(SLOState state)
    • putAdditionalProperty

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