@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class RecommendationAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CONFIDENCE_LEVEL |
static String |
JSON_PROPERTY_DRIVER |
static String |
JSON_PROPERTY_EXECUTOR |
boolean |
unparsed |
| Constructor and Description |
|---|
RecommendationAttributes() |
RecommendationAttributes(ComponentRecommendation driver,
ComponentRecommendation executor) |
| Modifier and Type | Method and Description |
|---|---|
RecommendationAttributes |
confidenceLevel(Double confidenceLevel) |
RecommendationAttributes |
driver(ComponentRecommendation driver) |
boolean |
equals(Object o)
Return true if this RecommendationAttributes object is equal to o.
|
RecommendationAttributes |
executor(ComponentRecommendation executor) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Double |
getConfidenceLevel()
The confidence level of the recommendation, expressed as a value between 0.0 (low confidence)
and 1.0 (high confidence).
|
ComponentRecommendation |
getDriver()
Resource recommendation for a single Spark component (driver or executor).
|
ComponentRecommendation |
getExecutor()
Resource recommendation for a single Spark component (driver or executor).
|
int |
hashCode() |
RecommendationAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setConfidenceLevel(Double confidenceLevel) |
void |
setDriver(ComponentRecommendation driver) |
void |
setExecutor(ComponentRecommendation executor) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_CONFIDENCE_LEVEL
public static final String JSON_PROPERTY_DRIVER
public static final String JSON_PROPERTY_EXECUTOR
public RecommendationAttributes()
public RecommendationAttributes(ComponentRecommendation driver, ComponentRecommendation executor)
public RecommendationAttributes confidenceLevel(Double confidenceLevel)
@Nullable public Double getConfidenceLevel()
public void setConfidenceLevel(Double confidenceLevel)
public RecommendationAttributes driver(ComponentRecommendation driver)
public ComponentRecommendation getDriver()
public void setDriver(ComponentRecommendation driver)
public RecommendationAttributes executor(ComponentRecommendation executor)
public ComponentRecommendation getExecutor()
public void setExecutor(ComponentRecommendation executor)
public RecommendationAttributes putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.