@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class HostMetrics extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CPU |
static String |
JSON_PROPERTY_IOWAIT |
static String |
JSON_PROPERTY_LOAD |
boolean |
unparsed |
| Constructor and Description |
|---|
HostMetrics() |
| Modifier and Type | Method and Description |
|---|---|
HostMetrics |
cpu(Double cpu) |
boolean |
equals(Object o)
Return true if this HostMetrics 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 |
getCpu()
The percent of CPU used (everything but idle).
|
Double |
getIowait()
The percent of CPU spent waiting on the IO (not reported for all platforms).
|
Double |
getLoad()
The system load over the last 15 minutes.
|
int |
hashCode() |
HostMetrics |
iowait(Double iowait) |
HostMetrics |
load(Double load) |
HostMetrics |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setCpu(Double cpu) |
void |
setIowait(Double iowait) |
void |
setLoad(Double load) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_CPU
public static final String JSON_PROPERTY_IOWAIT
public static final String JSON_PROPERTY_LOAD
public HostMetrics cpu(Double cpu)
@Nullable public Double getCpu()
public void setCpu(Double cpu)
public HostMetrics iowait(Double iowait)
@Nullable public Double getIowait()
public void setIowait(Double iowait)
public HostMetrics load(Double load)
@Nullable public Double getLoad()
public void setLoad(Double load)
public HostMetrics 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.