Class Estimation

java.lang.Object
com.datadog.api.client.v2.model.Estimation

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class Estimation extends Object
Recommended resource values for a Spark driver or executor, derived from recent real usage metrics. Used by SPA to propose more efficient pod sizing.
  • Field Details

  • Constructor Details

    • Estimation

      public Estimation()
  • Method Details

    • cpu

      public Estimation cpu(Cpu cpu)
    • getCpu

      @Nullable public Cpu getCpu()
      CPU usage statistics derived from historical Spark job metrics. Provides multiple estimates so users can choose between conservative and cost-saving risk profiles.
      Returns:
      cpu
    • setCpu

      public void setCpu(Cpu cpu)
    • ephemeralStorage

      public Estimation ephemeralStorage(Long ephemeralStorage)
    • getEphemeralStorage

      @Nullable public Long getEphemeralStorage()
      Recommended ephemeral storage allocation (in MiB). Derived from job temporary storage patterns.
      Returns:
      ephemeralStorage
    • setEphemeralStorage

      public void setEphemeralStorage(Long ephemeralStorage)
    • heap

      public Estimation heap(Long heap)
    • getHeap

      @Nullable public Long getHeap()
      Recommended JVM heap size (in MiB).
      Returns:
      heap
    • setHeap

      public void setHeap(Long heap)
    • memory

      public Estimation memory(Long memory)
    • getMemory

      @Nullable public Long getMemory()
      Recommended total memory allocation (in MiB). Includes both heap and overhead.
      Returns:
      memory
    • setMemory

      public void setMemory(Long memory)
    • overhead

      public Estimation overhead(Long overhead)
    • getOverhead

      @Nullable public Long getOverhead()
      Recommended JVM overhead (in MiB). Computed as total memory - heap.
      Returns:
      overhead
    • setOverhead

      public void setOverhead(Long overhead)
    • putAdditionalProperty

      public Estimation 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:
      Estimation
    • 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 Estimation 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