@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SLOStatus extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CALCULATION_ERROR |
static String |
JSON_PROPERTY_ERROR_BUDGET_REMAINING |
static String |
JSON_PROPERTY_INDEXED_AT |
static String |
JSON_PROPERTY_RAW_ERROR_BUDGET_REMAINING |
static String |
JSON_PROPERTY_SLI |
static String |
JSON_PROPERTY_SPAN_PRECISION |
static String |
JSON_PROPERTY_STATE |
boolean |
unparsed |
| Constructor and Description |
|---|
SLOStatus() |
| Modifier and Type | Method and Description |
|---|---|
SLOStatus |
calculationError(String calculationError) |
boolean |
equals(Object o)
Return true if this SLOStatus object is equal to o.
|
SLOStatus |
errorBudgetRemaining(Double errorBudgetRemaining) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
org.openapitools.jackson.nullable.JsonNullable<String> |
getCalculationError_JsonNullable() |
String |
getCalculationError()
Error message if SLO status or error budget could not be calculated.
|
org.openapitools.jackson.nullable.JsonNullable<Double> |
getErrorBudgetRemaining_JsonNullable() |
Double |
getErrorBudgetRemaining()
Remaining error budget of the SLO in percentage.
|
Long |
getIndexedAt()
timestamp (UNIX time in seconds) of when the SLO status and error budget were calculated.
|
org.openapitools.jackson.nullable.JsonNullable<SLORawErrorBudgetRemaining> |
getRawErrorBudgetRemaining_JsonNullable() |
SLORawErrorBudgetRemaining |
getRawErrorBudgetRemaining()
Error budget remaining for an SLO.
|
org.openapitools.jackson.nullable.JsonNullable<Double> |
getSli_JsonNullable() |
Double |
getSli()
The current service level indicator (SLI) of the SLO, also known as 'status'.
|
org.openapitools.jackson.nullable.JsonNullable<Long> |
getSpanPrecision_JsonNullable() |
Long |
getSpanPrecision()
The number of decimal places the SLI value is accurate to.
|
SLOState |
getState()
State of the SLO.
|
int |
hashCode() |
SLOStatus |
indexedAt(Long indexedAt) |
SLOStatus |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
SLOStatus |
rawErrorBudgetRemaining(SLORawErrorBudgetRemaining rawErrorBudgetRemaining) |
void |
setCalculationError_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> calculationError) |
void |
setCalculationError(String calculationError) |
void |
setErrorBudgetRemaining_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> errorBudgetRemaining) |
void |
setErrorBudgetRemaining(Double errorBudgetRemaining) |
void |
setIndexedAt(Long indexedAt) |
void |
setRawErrorBudgetRemaining_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<SLORawErrorBudgetRemaining> rawErrorBudgetRemaining) |
void |
setRawErrorBudgetRemaining(SLORawErrorBudgetRemaining rawErrorBudgetRemaining) |
void |
setSli_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> sli) |
void |
setSli(Double sli) |
void |
setSpanPrecision_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> spanPrecision) |
void |
setSpanPrecision(Long spanPrecision) |
void |
setState(SLOState state) |
SLOStatus |
sli(Double sli) |
SLOStatus |
spanPrecision(Long spanPrecision) |
SLOStatus |
state(SLOState state) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_CALCULATION_ERROR
public static final String JSON_PROPERTY_ERROR_BUDGET_REMAINING
public static final String JSON_PROPERTY_INDEXED_AT
public static final String JSON_PROPERTY_RAW_ERROR_BUDGET_REMAINING
public static final String JSON_PROPERTY_SLI
public static final String JSON_PROPERTY_SPAN_PRECISION
public static final String JSON_PROPERTY_STATE
@Nullable public String getCalculationError()
public org.openapitools.jackson.nullable.JsonNullable<String> getCalculationError_JsonNullable()
public void setCalculationError_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> calculationError)
public void setCalculationError(String calculationError)
@Nullable public Double getErrorBudgetRemaining()
public org.openapitools.jackson.nullable.JsonNullable<Double> getErrorBudgetRemaining_JsonNullable()
public void setErrorBudgetRemaining_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> errorBudgetRemaining)
public void setErrorBudgetRemaining(Double errorBudgetRemaining)
@Nullable public Long getIndexedAt()
public void setIndexedAt(Long indexedAt)
public SLOStatus rawErrorBudgetRemaining(SLORawErrorBudgetRemaining rawErrorBudgetRemaining)
@Nullable public SLORawErrorBudgetRemaining getRawErrorBudgetRemaining()
public org.openapitools.jackson.nullable.JsonNullable<SLORawErrorBudgetRemaining> getRawErrorBudgetRemaining_JsonNullable()
public void setRawErrorBudgetRemaining_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<SLORawErrorBudgetRemaining> rawErrorBudgetRemaining)
public void setRawErrorBudgetRemaining(SLORawErrorBudgetRemaining rawErrorBudgetRemaining)
@Nullable public Double getSli()
public org.openapitools.jackson.nullable.JsonNullable<Double> getSli_JsonNullable()
public void setSli_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> sli)
public void setSli(Double sli)
@Nullable public Long getSpanPrecision()
public org.openapitools.jackson.nullable.JsonNullable<Long> getSpanPrecision_JsonNullable()
public void setSpanPrecision_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> spanPrecision)
public void setSpanPrecision(Long spanPrecision)
@Nullable public SLOState getState()
public void setState(SLOState state)
public SLOStatus putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2024. All rights reserved.