@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class RecommendationData extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ATTRIBUTES |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
RecommendationData() |
RecommendationData(RecommendationAttributes attributes,
RecommendationType type) |
| Modifier and Type | Method and Description |
|---|---|
RecommendationData |
attributes(RecommendationAttributes attributes) |
boolean |
equals(Object o)
Return true if this RecommendationData object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
RecommendationAttributes |
getAttributes()
Attributes of the SPA Recommendation resource.
|
String |
getId()
Resource identifier for the recommendation.
|
RecommendationType |
getType()
JSON:API resource type for Spark Pod Autosizing recommendations.
|
int |
hashCode() |
RecommendationData |
id(String id) |
RecommendationData |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAttributes(RecommendationAttributes attributes) |
void |
setId(String id) |
void |
setType(RecommendationType type) |
String |
toString() |
RecommendationData |
type(RecommendationType type) |
public boolean unparsed
public static final String JSON_PROPERTY_ATTRIBUTES
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_TYPE
public RecommendationData()
public RecommendationData(RecommendationAttributes attributes, RecommendationType type)
public RecommendationData attributes(RecommendationAttributes attributes)
public RecommendationAttributes getAttributes()
public void setAttributes(RecommendationAttributes attributes)
public RecommendationData id(String id)
@Nullable public String getId()
public void setId(String id)
public RecommendationData type(RecommendationType type)
public RecommendationType getType()
public void setType(RecommendationType type)
public RecommendationData 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 © 2025. All rights reserved.