Package com.datadog.api.client.v2.model
Class CostTagDescriptionUpsertRequestData
java.lang.Object
com.datadog.api.client.v2.model.CostTagDescriptionUpsertRequestData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CostTagDescriptionUpsertRequestData
extends Object
Resource envelope carrying the tag key description being upserted. The
id is
informational; the authoritative tag key is taken from the URL path.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCostTagDescriptionUpsertRequestData(CostTagDescriptionUpsertRequestDataAttributes attributes, CostTagDescriptionType type) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this CostTagDescriptionUpsertRequestData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Mutable attributes set when creating or updating a Cloud Cost Management tag key description.getId()Identifier of the tag key the description applies to.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.voidvoidvoidtoString()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
-
CostTagDescriptionUpsertRequestData
public CostTagDescriptionUpsertRequestData() -
CostTagDescriptionUpsertRequestData
public CostTagDescriptionUpsertRequestData(CostTagDescriptionUpsertRequestDataAttributes attributes, CostTagDescriptionType type)
-
-
Method Details
-
attributes
public CostTagDescriptionUpsertRequestData attributes(CostTagDescriptionUpsertRequestDataAttributes attributes) -
getAttributes
Mutable attributes set when creating or updating a Cloud Cost Management tag key description.- Returns:
- attributes
-
setAttributes
-
id
-
getId
Identifier of the tag key the description applies to. Matches thetag_keypath parameter.- 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:
- CostTagDescriptionUpsertRequestData
-
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 CostTagDescriptionUpsertRequestData object is equal to o. -
hashCode
public int hashCode() -
toString
-