Package com.datadog.api.client.v2.model
Class RecommendationAttributes
java.lang.Object
com.datadog.api.client.v2.model.RecommendationAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class RecommendationAttributes
extends Object
Attributes of the SPA Recommendation resource. Contains recommendations for both driver and
executor components.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRecommendationAttributes(ComponentRecommendation driver, ComponentRecommendation executor) -
Method Summary
Modifier and TypeMethodDescriptionconfidenceLevel(Double confidenceLevel) driver(ComponentRecommendation driver) booleanReturn true if this RecommendationAttributes object is equal to o.executor(ComponentRecommendation executor) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The confidence level of the recommendation, expressed as a value between 0.0 (low confidence) and 1.0 (high confidence).Resource recommendation for a single Spark component (driver or executor).Resource recommendation for a single Spark component (driver or executor).inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetConfidenceLevel(Double confidenceLevel) voidsetDriver(ComponentRecommendation driver) voidsetExecutor(ComponentRecommendation executor) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CONFIDENCE_LEVEL
- See Also:
-
JSON_PROPERTY_DRIVER
- See Also:
-
JSON_PROPERTY_EXECUTOR
- See Also:
-
-
Constructor Details
-
RecommendationAttributes
public RecommendationAttributes() -
RecommendationAttributes
-
-
Method Details
-
confidenceLevel
-
getConfidenceLevel
The confidence level of the recommendation, expressed as a value between 0.0 (low confidence) and 1.0 (high confidence).- Returns:
- confidenceLevel
-
setConfidenceLevel
-
driver
-
getDriver
Resource recommendation for a single Spark component (driver or executor). Contains estimation data used to patch Spark job specs.- Returns:
- driver
-
setDriver
-
executor
-
getExecutor
Resource recommendation for a single Spark component (driver or executor). Contains estimation data used to patch Spark job specs.- Returns:
- executor
-
setExecutor
-
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:
- RecommendationAttributes
-
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 RecommendationAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-