Package com.datadog.api.client.v2.model
Class Cpu
java.lang.Object
com.datadog.api.client.v2.model.Cpu
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class Cpu
extends Object
CPU usage statistics derived from historical Spark job metrics. Provides multiple estimates so
users can choose between conservative and cost-saving risk profiles.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this Cpu object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getMax()Maximum CPU usage observed for the job, expressed in millicores.getP75()75th percentile of CPU usage (millicores).getP95()95th percentile of CPU usage (millicores).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_MAX
- See Also:
-
JSON_PROPERTY_P75
- See Also:
-
JSON_PROPERTY_P95
- See Also:
-
-
Constructor Details
-
Cpu
public Cpu()
-
-
Method Details
-
max
-
getMax
Maximum CPU usage observed for the job, expressed in millicores. This represents the upper bound of usage.- Returns:
- max
-
setMax
-
p75
-
getP75
75th percentile of CPU usage (millicores). Represents a cost-saving configuration while covering most workloads.- Returns:
- p75
-
setP75
-
p95
-
getP95
95th percentile of CPU usage (millicores). Balances performance and cost, providing a safer margin than p75.- Returns:
- p95
-
setP95
-
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:
- Cpu
-
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 Cpu object is equal to o. -
hashCode
public int hashCode() -
toString
-