Class SLOOverallStatuses

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SLOOverallStatuses extends Object
Overall status of the SLO by timeframes.
  • Field Details

  • Constructor Details

    • SLOOverallStatuses

      public SLOOverallStatuses()
  • Method Details

    • error

      public SLOOverallStatuses error(String error)
    • getError

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

      public org.openapitools.jackson.nullable.JsonNullable<String> getError_JsonNullable()
    • setError_JsonNullable

      public void setError_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> error)
    • setError

      public void setError(String error)
    • errorBudgetRemaining

      public SLOOverallStatuses 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 SLOOverallStatuses 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 SLOOverallStatuses 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)
    • spanPrecision

      public SLOOverallStatuses spanPrecision(Long spanPrecision)
    • getSpanPrecision

      @Nullable public Long getSpanPrecision()
      The amount 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 SLOOverallStatuses state(SLOState state)
    • getState

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

      public void setState(SLOState state)
    • status

      public SLOOverallStatuses status(Double status)
    • getStatus

      @Nullable public Double getStatus()
      The status of the SLO.
      Returns:
      status
    • getStatus_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Double> getStatus_JsonNullable()
    • setStatus_JsonNullable

      public void setStatus_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> status)
    • setStatus

      public void setStatus(Double status)
    • target

      public SLOOverallStatuses target(Double target)
    • getTarget

      @Nullable public Double getTarget()
      The target of the SLO.
      Returns:
      target
    • setTarget

      public void setTarget(Double target)
    • timeframe

      public SLOOverallStatuses timeframe(SLOTimeframe timeframe)
    • getTimeframe

      @Nullable public SLOTimeframe getTimeframe()
      The SLO time window options. Note that "custom" is not a valid option for creating or updating SLOs. It is only used when querying SLO history over custom timeframes.
      Returns:
      timeframe
    • setTimeframe

      public void setTimeframe(SLOTimeframe timeframe)
    • putAdditionalProperty

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