Package com.datadog.api.client.v1.model
Class HostMetrics
java.lang.Object
com.datadog.api.client.v1.model.HostMetrics
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class HostMetrics
extends Object
Host Metrics collected.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this HostMetrics object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getCpu()The percent of CPU used (everything but idle).The percent of CPU spent waiting on the IO (not reported for all platforms).getLoad()The system load over the last 15 minutes.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CPU
- See Also:
-
JSON_PROPERTY_IOWAIT
- See Also:
-
JSON_PROPERTY_LOAD
- See Also:
-
-
Constructor Details
-
HostMetrics
public HostMetrics()
-
-
Method Details
-
cpu
-
getCpu
The percent of CPU used (everything but idle).- Returns:
- cpu
-
setCpu
-
iowait
-
getIowait
The percent of CPU spent waiting on the IO (not reported for all platforms).- Returns:
- iowait
-
setIowait
-
load
-
getLoad
The system load over the last 15 minutes.- Returns:
- load
-
setLoad
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- HostMetrics
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this HostMetrics object is equal to o. -
hashCode
public int hashCode() -
toString
-