Package com.datadog.api.client.v2.model
Class ComponentRecommendation
java.lang.Object
com.datadog.api.client.v2.model.ComponentRecommendation
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ComponentRecommendation
extends Object
Resource recommendation for a single Spark component (driver or executor). Contains estimation
data used to patch Spark job specs.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ComponentRecommendation object is equal to o.estimation(Estimation estimation) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Recommended resource values for a Spark driver or executor, derived from recent real usage metrics.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetEstimation(Estimation estimation) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ESTIMATION
- See Also:
-
-
Constructor Details
-
ComponentRecommendation
public ComponentRecommendation() -
ComponentRecommendation
-
-
Method Details
-
estimation
-
getEstimation
Recommended resource values for a Spark driver or executor, derived from recent real usage metrics. Used by SPA to propose more efficient pod sizing.- Returns:
- estimation
-
setEstimation
-
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:
- ComponentRecommendation
-
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 ComponentRecommendation object is equal to o. -
hashCode
public int hashCode() -
toString
-