Package com.datadog.api.client.v2.model
Class CostTag
java.lang.Object
com.datadog.api.client.v2.model.CostTag
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CostTag
extends Object
A Cloud Cost Management tag.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCostTag()CostTag(CostTagAttributes attributes, String id, CostTagType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(CostTagAttributes attributes) booleanReturn true if this CostTag object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Attributes of a Cloud Cost Management tag.getId()The tag identifier, equal to itskey:valuerepresentation.getType()Type of the Cloud Cost Management tag resource.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAttributes(CostTagAttributes attributes) voidvoidsetType(CostTagType type) toString()type(CostTagType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
CostTag
public CostTag() -
CostTag
-
-
Method Details
-
attributes
-
getAttributes
Attributes of a Cloud Cost Management tag.- Returns:
- attributes
-
setAttributes
-
id
-
getId
The tag identifier, equal to itskey:valuerepresentation.- Returns:
- id
-
setId
-
type
-
getType
Type of the Cloud Cost Management tag 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:
- CostTag
-
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 CostTag object is equal to o. -
hashCode
public int hashCode() -
toString
-