@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SLOThreshold 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 |
|---|
SLOThreshold() |
SLOThreshold(Double target,
SLOTimeframe timeframe) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this SLOThreshold 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.
|
SLOTimeframe |
getTimeframe()
The SLO time window options.
|
Double |
getWarning()
The warning value for the service level objective.
|
String |
getWarningDisplay()
A string representation of the warning target (see the description of the
target_display
field for details). |
int |
hashCode() |
SLOThreshold |
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(SLOTimeframe timeframe) |
void |
setWarning(Double warning) |
void |
setWarningDisplay(String warningDisplay) |
SLOThreshold |
target(Double target) |
SLOThreshold |
targetDisplay(String targetDisplay) |
SLOThreshold |
timeframe(SLOTimeframe timeframe) |
String |
toString() |
SLOThreshold |
warning(Double warning) |
SLOThreshold |
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 SLOThreshold()
public SLOThreshold(Double target, SLOTimeframe timeframe)
public SLOThreshold target(Double target)
public Double getTarget()
public void setTarget(Double target)
public SLOThreshold 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 SLOThreshold timeframe(SLOTimeframe timeframe)
public SLOTimeframe getTimeframe()
public void setTimeframe(SLOTimeframe timeframe)
public SLOThreshold warning(Double warning)
@Nullable public Double getWarning()
public void setWarning(Double warning)
public SLOThreshold 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 void setWarningDisplay(String warningDisplay)
public SLOThreshold 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.