Package com.datadog.api.client.v2.model
Class SloStatusDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.SloStatusDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SloStatusDataAttributes
extends Object
The attributes of the SLO status.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSloStatusDataAttributes(Double errorBudgetRemaining, RawErrorBudgetRemaining rawErrorBudgetRemaining, Double sli, Long spanPrecision, String state) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this SloStatusDataAttributes object is equal to o.errorBudgetRemaining(Double errorBudgetRemaining) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The percentage of error budget remaining.The raw error budget remaining for the SLO.getSli()The current Service Level Indicator (SLI) value as a percentage.The precision of the time span in seconds.getState()The current state of the SLO (for example,breached,warning,ok).inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.rawErrorBudgetRemaining(RawErrorBudgetRemaining rawErrorBudgetRemaining) voidsetErrorBudgetRemaining(Double errorBudgetRemaining) voidsetRawErrorBudgetRemaining(RawErrorBudgetRemaining rawErrorBudgetRemaining) voidvoidsetSpanPrecision(Long spanPrecision) voidspanPrecision(Long spanPrecision) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ERROR_BUDGET_REMAINING
- 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
-
SloStatusDataAttributes
public SloStatusDataAttributes() -
SloStatusDataAttributes
public SloStatusDataAttributes(Double errorBudgetRemaining, RawErrorBudgetRemaining rawErrorBudgetRemaining, Double sli, Long spanPrecision, String state)
-
-
Method Details
-
errorBudgetRemaining
-
getErrorBudgetRemaining
The percentage of error budget remaining.- Returns:
- errorBudgetRemaining
-
setErrorBudgetRemaining
-
rawErrorBudgetRemaining
public SloStatusDataAttributes rawErrorBudgetRemaining(RawErrorBudgetRemaining rawErrorBudgetRemaining) -
getRawErrorBudgetRemaining
The raw error budget remaining for the SLO.- Returns:
- rawErrorBudgetRemaining
-
setRawErrorBudgetRemaining
-
sli
-
getSli
The current Service Level Indicator (SLI) value as a percentage.- Returns:
- sli
-
setSli
-
spanPrecision
-
getSpanPrecision
The precision of the time span in seconds.- Returns:
- spanPrecision
-
setSpanPrecision
-
state
-
getState
The current state of the SLO (for example,breached,warning,ok).- 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:
- SloStatusDataAttributes
-
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 SloStatusDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-