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