@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SLOTimeSliceCondition extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_COMPARATOR |
static String |
JSON_PROPERTY_QUERY |
static String |
JSON_PROPERTY_QUERY_INTERVAL_SECONDS |
static String |
JSON_PROPERTY_THRESHOLD |
boolean |
unparsed |
| Constructor and Description |
|---|
SLOTimeSliceCondition() |
SLOTimeSliceCondition(SLOTimeSliceComparator comparator,
SLOTimeSliceQuery query,
Double threshold) |
| Modifier and Type | Method and Description |
|---|---|
SLOTimeSliceCondition |
comparator(SLOTimeSliceComparator comparator) |
boolean |
equals(Object o)
Return true if this SLOTimeSliceCondition object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
SLOTimeSliceComparator |
getComparator()
The comparator used to compare the SLI value to the threshold.
|
SLOTimeSliceQuery |
getQuery()
The queries and formula used to calculate the SLI value.
|
SLOTimeSliceInterval |
getQueryIntervalSeconds()
The interval used when querying data, which defines the size of a time slice.
|
Double |
getThreshold()
The threshold value to which each SLI value will be compared.
|
int |
hashCode() |
SLOTimeSliceCondition |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
SLOTimeSliceCondition |
query(SLOTimeSliceQuery query) |
SLOTimeSliceCondition |
queryIntervalSeconds(SLOTimeSliceInterval queryIntervalSeconds) |
void |
setComparator(SLOTimeSliceComparator comparator) |
void |
setQuery(SLOTimeSliceQuery query) |
void |
setQueryIntervalSeconds(SLOTimeSliceInterval queryIntervalSeconds) |
void |
setThreshold(Double threshold) |
SLOTimeSliceCondition |
threshold(Double threshold) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_COMPARATOR
public static final String JSON_PROPERTY_QUERY
public static final String JSON_PROPERTY_QUERY_INTERVAL_SECONDS
public static final String JSON_PROPERTY_THRESHOLD
public SLOTimeSliceCondition()
public SLOTimeSliceCondition(SLOTimeSliceComparator comparator, SLOTimeSliceQuery query, Double threshold)
public SLOTimeSliceCondition comparator(SLOTimeSliceComparator comparator)
public SLOTimeSliceComparator getComparator()
public void setComparator(SLOTimeSliceComparator comparator)
public SLOTimeSliceCondition query(SLOTimeSliceQuery query)
public SLOTimeSliceQuery getQuery()
public void setQuery(SLOTimeSliceQuery query)
public SLOTimeSliceCondition queryIntervalSeconds(SLOTimeSliceInterval queryIntervalSeconds)
@Nullable public SLOTimeSliceInterval getQueryIntervalSeconds()
public void setQueryIntervalSeconds(SLOTimeSliceInterval queryIntervalSeconds)
public SLOTimeSliceCondition threshold(Double threshold)
public Double getThreshold()
public void setThreshold(Double threshold)
public SLOTimeSliceCondition 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.