Package com.datadog.api.client.v1.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncalculationError(String calculationError) booleanReturn true if this SLOStatus object is equal to o.errorBudgetRemaining(Double errorBudgetRemaining) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Error message if SLO status or error budget could not be calculated.org.openapitools.jackson.nullable.JsonNullable<String>Remaining error budget of the SLO in percentage.org.openapitools.jackson.nullable.JsonNullable<Double>timestamp (UNIX time in seconds) of when the SLO status and error budget were calculated.Error budget remaining for an SLO.org.openapitools.jackson.nullable.JsonNullable<SLORawErrorBudgetRemaining>getSli()The current service level indicator (SLI) of the SLO, also known as 'status'.org.openapitools.jackson.nullable.JsonNullable<Double>The number of decimal places the SLI value is accurate to.org.openapitools.jackson.nullable.JsonNullable<Long>getState()State of the SLO.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.rawErrorBudgetRemaining(SLORawErrorBudgetRemaining rawErrorBudgetRemaining) voidsetCalculationError(String calculationError) voidsetCalculationError_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> calculationError) voidsetErrorBudgetRemaining(Double errorBudgetRemaining) voidsetErrorBudgetRemaining_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> errorBudgetRemaining) voidsetIndexedAt(Long indexedAt) voidsetRawErrorBudgetRemaining(SLORawErrorBudgetRemaining rawErrorBudgetRemaining) voidsetRawErrorBudgetRemaining_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<SLORawErrorBudgetRemaining> rawErrorBudgetRemaining) voidvoidsetSli_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> sli) voidsetSpanPrecision(Long spanPrecision) voidsetSpanPrecision_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> spanPrecision) voidspanPrecision(Long spanPrecision) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CALCULATION_ERROR
- See Also:
-
JSON_PROPERTY_ERROR_BUDGET_REMAINING
- See Also:
-
JSON_PROPERTY_INDEXED_AT
- See Also:
-
JSON_PROPERTY_RAW_ERROR_BUDGET_REMAINING
- See Also:
-
JSON_PROPERTY_SLI
- See Also:
-
JSON_PROPERTY_SPAN_PRECISION
- See Also:
-
JSON_PROPERTY_STATE
- See Also:
-
-
Constructor Details
-
SLOStatus
public SLOStatus()
-
-
Method Details
-
calculationError
-
getCalculationError
Error message if SLO status or error budget could not be calculated.- Returns:
- calculationError
-
getCalculationError_JsonNullable
-
setCalculationError_JsonNullable
public void setCalculationError_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> calculationError) -
setCalculationError
-
errorBudgetRemaining
-
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
-
indexedAt
-
getIndexedAt
timestamp (UNIX time in seconds) of when the SLO status and error budget were calculated.- Returns:
- indexedAt
-
setIndexedAt
-
rawErrorBudgetRemaining
-
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
-
sli
-
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
-
setSli_JsonNullable
-
setSli
-
spanPrecision
-
getSpanPrecision
The number of decimal places the SLI value is accurate to.- Returns:
- spanPrecision
-
getSpanPrecision_JsonNullable
-
setSpanPrecision_JsonNullable
public void setSpanPrecision_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> spanPrecision) -
setSpanPrecision
-
state
-
getState
State of the SLO.- Returns:
- state
-
setState
-
putAdditionalProperty
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 setvalue- The associated value- Returns:
- SLOStatus
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this SLOStatus object is equal to o. -
hashCode
public int hashCode() -
toString
-