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 Details

  • Constructor Details

    • Cpu

      public Cpu()
  • Method Details

    • max

      public Cpu max(Long max)
    • getMax

      @Nullable public Long getMax()
      Maximum CPU usage observed for the job, expressed in millicores. This represents the upper bound of usage.
      Returns:
      max
    • setMax

      public void setMax(Long max)
    • p75

      public Cpu p75(Long p75)
    • getP75

      @Nullable public Long getP75()
      75th percentile of CPU usage (millicores). Represents a cost-saving configuration while covering most workloads.
      Returns:
      p75
    • setP75

      public void setP75(Long p75)
    • p95

      public Cpu p95(Long p95)
    • getP95

      @Nullable public Long getP95()
      95th percentile of CPU usage (millicores). Balances performance and cost, providing a safer margin than p75.
      Returns:
      p95
    • setP95

      public void setP95(Long p95)
    • putAdditionalProperty

      public Cpu putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      Cpu
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this Cpu object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object