Package com.datadog.api.client.v2.model
Class CostTagDescription
java.lang.Object
com.datadog.api.client.v2.model.CostTagDescription
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CostTagDescription
extends Object
A Cloud Cost Management tag key description, either cross-cloud or scoped to a single cloud
provider.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCostTagDescription(CostTagDescriptionAttributes attributes, String id, CostTagDescriptionType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(CostTagDescriptionAttributes attributes) booleanReturn true if this CostTagDescription object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Human-readable description and metadata attached to a Cloud Cost Management tag key, optionally scoped to a single cloud provider.getId()Stable identifier of the tag description.getType()Type of the Cloud Cost Management tag description resource.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAttributes(CostTagDescriptionAttributes attributes) voidvoidtoString()type(CostTagDescriptionType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
CostTagDescription
public CostTagDescription() -
CostTagDescription
public CostTagDescription(CostTagDescriptionAttributes attributes, String id, CostTagDescriptionType type)
-
-
Method Details
-
attributes
-
getAttributes
Human-readable description and metadata attached to a Cloud Cost Management tag key, optionally scoped to a single cloud provider.- Returns:
- attributes
-
setAttributes
-
id
-
getId
Stable identifier of the tag description. Equals the tag key when the description is the cross-cloud default; encodes both the cloud and the tag key when the description is cloud-specific.- Returns:
- id
-
setId
-
type
-
getType
Type of the Cloud Cost Management tag description resource.- Returns:
- type
-
setType
-
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:
- CostTagDescription
-
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 CostTagDescription object is equal to o. -
hashCode
public int hashCode() -
toString
-