Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionephemeralStorage(Long ephemeralStorage) booleanReturn true if this Estimation object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getCpu()CPU usage statistics derived from historical Spark job metrics.Recommended ephemeral storage allocation (in MiB).getHeap()Recommended JVM heap size (in MiB).Recommended total memory allocation (in MiB).Recommended JVM overhead (in MiB).inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetEphemeralStorage(Long ephemeralStorage) voidvoidvoidsetOverhead(Long overhead) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CPU
- See Also:
-
JSON_PROPERTY_EPHEMERAL_STORAGE
- See Also:
-
JSON_PROPERTY_HEAP
- See Also:
-
JSON_PROPERTY_MEMORY
- See Also:
-
JSON_PROPERTY_OVERHEAD
- See Also:
-
-
Constructor Details
-
Estimation
public Estimation()
-
-
Method Details
-
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
-
ephemeralStorage
-
getEphemeralStorage
Recommended ephemeral storage allocation (in MiB). Derived from job temporary storage patterns.- Returns:
- ephemeralStorage
-
setEphemeralStorage
-
heap
-
getHeap
Recommended JVM heap size (in MiB).- Returns:
- heap
-
setHeap
-
memory
-
getMemory
Recommended total memory allocation (in MiB). Includes both heap and overhead.- Returns:
- memory
-
setMemory
-
overhead
-
getOverhead
Recommended JVM overhead (in MiB). Computed as total memory - heap.- Returns:
- overhead
-
setOverhead
-
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:
- Estimation
-
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 Estimation object is equal to o. -
hashCode
public int hashCode() -
toString
-