@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SearchSLOThreshold extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_TARGET |
static String |
JSON_PROPERTY_TARGET_DISPLAY |
static String |
JSON_PROPERTY_TIMEFRAME |
static String |
JSON_PROPERTY_WARNING |
static String |
JSON_PROPERTY_WARNING_DISPLAY |
boolean |
unparsed |
| Constructor and Description |
|---|
SearchSLOThreshold() |
SearchSLOThreshold(Double target,
SearchSLOTimeframe timeframe) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this SearchSLOThreshold 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.
|
Double |
getTarget()
The target value for the service level indicator within the corresponding timeframe.
|
String |
getTargetDisplay()
A string representation of the target that indicates its precision.
|
SearchSLOTimeframe |
getTimeframe()
The SLO time window options.
|
org.openapitools.jackson.nullable.JsonNullable<Double> |
getWarning_JsonNullable() |
Double |
getWarning()
The warning value for the service level objective.
|
org.openapitools.jackson.nullable.JsonNullable<String> |
getWarningDisplay_JsonNullable() |
String |
getWarningDisplay()
A string representation of the warning target (see the description of the
target_display
field for details). |
int |
hashCode() |
SearchSLOThreshold |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setTarget(Double target) |
void |
setTargetDisplay(String targetDisplay) |
void |
setTimeframe(SearchSLOTimeframe timeframe) |
void |
setWarning_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> warning) |
void |
setWarning(Double warning) |
void |
setWarningDisplay_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> warningDisplay) |
void |
setWarningDisplay(String warningDisplay) |
SearchSLOThreshold |
target(Double target) |
SearchSLOThreshold |
targetDisplay(String targetDisplay) |
SearchSLOThreshold |
timeframe(SearchSLOTimeframe timeframe) |
String |
toString() |
SearchSLOThreshold |
warning(Double warning) |
SearchSLOThreshold |
warningDisplay(String warningDisplay) |
public boolean unparsed
public static final String JSON_PROPERTY_TARGET
public static final String JSON_PROPERTY_TARGET_DISPLAY
public static final String JSON_PROPERTY_TIMEFRAME
public static final String JSON_PROPERTY_WARNING
public static final String JSON_PROPERTY_WARNING_DISPLAY
public SearchSLOThreshold()
public SearchSLOThreshold(Double target, SearchSLOTimeframe timeframe)
public SearchSLOThreshold target(Double target)
public Double getTarget()
public void setTarget(Double target)
public SearchSLOThreshold targetDisplay(String targetDisplay)
@Nullable public String getTargetDisplay()
98.00).
Always included in service level objective responses. Ignored in create/update requests.
public void setTargetDisplay(String targetDisplay)
public SearchSLOThreshold timeframe(SearchSLOTimeframe timeframe)
public SearchSLOTimeframe getTimeframe()
public void setTimeframe(SearchSLOTimeframe timeframe)
public SearchSLOThreshold warning(Double warning)
@Nullable public Double getWarning()
public org.openapitools.jackson.nullable.JsonNullable<Double> getWarning_JsonNullable()
public void setWarning_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> warning)
public void setWarning(Double warning)
public SearchSLOThreshold warningDisplay(String warningDisplay)
@Nullable public String getWarningDisplay()
target_display
field for details).
Included in service level objective responses if a warning target exists. Ignored in create/update requests.
public org.openapitools.jackson.nullable.JsonNullable<String> getWarningDisplay_JsonNullable()
public void setWarningDisplay_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> warningDisplay)
public void setWarningDisplay(String warningDisplay)
public SearchSLOThreshold 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.