Package com.datadog.api.client.v1.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this SLOOverallStatuses object is equal to o.errorBudgetRemaining(Double errorBudgetRemaining) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getError()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>The amount of decimal places the SLI value is accurate to.org.openapitools.jackson.nullable.JsonNullable<Long>getState()State of the SLO.The status of the SLO.org.openapitools.jackson.nullable.JsonNullable<Double>The target of the SLO.The SLO time window options.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.rawErrorBudgetRemaining(SLORawErrorBudgetRemaining rawErrorBudgetRemaining) voidvoidsetError_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> error) 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) voidsetSpanPrecision(Long spanPrecision) voidsetSpanPrecision_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> spanPrecision) voidvoidvoidsetStatus_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> status) voidvoidsetTimeframe(SLOTimeframe timeframe) spanPrecision(Long spanPrecision) timeframe(SLOTimeframe timeframe) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_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_SPAN_PRECISION
- See Also:
-
JSON_PROPERTY_STATE
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_TARGET
- See Also:
-
JSON_PROPERTY_TIMEFRAME
- See Also:
-
-
Constructor Details
-
SLOOverallStatuses
public SLOOverallStatuses()
-
-
Method Details
-
error
-
getError
Error message if SLO status or error budget could not be calculated.- Returns:
- error
-
getError_JsonNullable
-
setError_JsonNullable
-
setError
-
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
public SLOOverallStatuses rawErrorBudgetRemaining(SLORawErrorBudgetRemaining 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
-
spanPrecision
-
getSpanPrecision
The amount 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
-
status
-
getStatus
The status of the SLO.- Returns:
- status
-
getStatus_JsonNullable
-
setStatus_JsonNullable
-
setStatus
-
target
-
getTarget
The target of the SLO.- Returns:
- target
-
setTarget
-
timeframe
-
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
-
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:
- SLOOverallStatuses
-
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 SLOOverallStatuses object is equal to o. -
hashCode
public int hashCode() -
toString
-