Package com.datadog.api.client.v2.model
Class CostRecommendationDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.CostRecommendationDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CostRecommendationDataAttributes
extends Object
Attributes describing a single cost recommendation.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTagsItem(String tagsItem) ddResourceKey(String ddResourceKey) booleanReturn true if this CostRecommendationDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Datadog resource key identifying the recommended resource.Estimated daily savings if the recommendation is applied.The kind of recommendation (for example,terminateorrightsize).Cloud provider identifier of the resource.Resource type (for example,aws_ec2_instance).getTags()Tags attached to the recommended resource.inthashCode()potentialDailySavings(CostRecommendationDataAttributesPotentialDailySavings potentialDailySavings) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.recommendationType(String recommendationType) resourceId(String resourceId) resourceType(String resourceType) voidsetDdResourceKey(String ddResourceKey) voidsetPotentialDailySavings(CostRecommendationDataAttributesPotentialDailySavings potentialDailySavings) voidsetRecommendationType(String recommendationType) voidsetResourceId(String resourceId) voidsetResourceType(String resourceType) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DD_RESOURCE_KEY
- See Also:
-
JSON_PROPERTY_POTENTIAL_DAILY_SAVINGS
- See Also:
-
JSON_PROPERTY_RECOMMENDATION_TYPE
- See Also:
-
JSON_PROPERTY_RESOURCE_ID
- See Also:
-
JSON_PROPERTY_RESOURCE_TYPE
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
-
Constructor Details
-
CostRecommendationDataAttributes
public CostRecommendationDataAttributes()
-
-
Method Details
-
ddResourceKey
-
getDdResourceKey
Datadog resource key identifying the recommended resource.- Returns:
- ddResourceKey
-
setDdResourceKey
-
potentialDailySavings
public CostRecommendationDataAttributes potentialDailySavings(CostRecommendationDataAttributesPotentialDailySavings potentialDailySavings) -
getPotentialDailySavings
Estimated daily savings if the recommendation is applied.- Returns:
- potentialDailySavings
-
setPotentialDailySavings
public void setPotentialDailySavings(CostRecommendationDataAttributesPotentialDailySavings potentialDailySavings) -
recommendationType
-
getRecommendationType
The kind of recommendation (for example,terminateorrightsize).- Returns:
- recommendationType
-
setRecommendationType
-
resourceId
-
getResourceId
Cloud provider identifier of the resource.- Returns:
- resourceId
-
setResourceId
-
resourceType
-
getResourceType
Resource type (for example,aws_ec2_instance).- Returns:
- resourceType
-
setResourceType
-
tags
-
addTagsItem
-
getTags
Tags attached to the recommended resource.- Returns:
- tags
-
setTags
-
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:
- CostRecommendationDataAttributes
-
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 CostRecommendationDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-