Package com.datadog.api.client.v2.model
Class MonthlyCostAttributionAttributes
java.lang.Object
com.datadog.api.client.v2.model.MonthlyCostAttributionAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MonthlyCostAttributionAttributes
extends Object
Cost Attribution by Tag for a given organization.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this MonthlyCostAttributionAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getMonth()Datetime in ISO-8601 format, UTC, precise to hour:[YYYY-MM-DDThh].The name of the organization.The organization public ID.The source of the cost attribution tag configuration and the selected tags in the format<source_org_name>:::<selected tag 1>///<selected tag 2>///<selected tag 3>.getTags()Tag keys and values.Shows the most recent hour in the current months for all organizations for which all costs were calculated.Fields in Cost Attribution by tag(s).inthashCode()month(OffsetDateTime month) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putTagsItem(String key, List<String> tagsItem) voidsetMonth(OffsetDateTime month) voidsetOrgName(String orgName) voidsetPublicId(String publicId) voidsetTagConfigSource(String tagConfigSource) voidvoidsetTags_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Map<String, List<String>>> tags) voidsetUpdatedAt(String updatedAt) voidtagConfigSource(String tagConfigSource) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_MONTH
- See Also:
-
JSON_PROPERTY_ORG_NAME
- See Also:
-
JSON_PROPERTY_PUBLIC_ID
- See Also:
-
JSON_PROPERTY_TAG_CONFIG_SOURCE
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
JSON_PROPERTY_UPDATED_AT
- See Also:
-
JSON_PROPERTY_VALUES
- See Also:
-
-
Constructor Details
-
MonthlyCostAttributionAttributes
public MonthlyCostAttributionAttributes()
-
-
Method Details
-
month
-
getMonth
Datetime in ISO-8601 format, UTC, precise to hour:[YYYY-MM-DDThh].- Returns:
- month
-
setMonth
-
orgName
-
getOrgName
The name of the organization.- Returns:
- orgName
-
setOrgName
-
publicId
-
getPublicId
The organization public ID.- Returns:
- publicId
-
setPublicId
-
tagConfigSource
-
getTagConfigSource
The source of the cost attribution tag configuration and the selected tags in the format<source_org_name>:::<selected tag 1>///<selected tag 2>///<selected tag 3>.- Returns:
- tagConfigSource
-
setTagConfigSource
-
tags
-
putTagsItem
-
getTags
Tag keys and values. Anullvalue here means that the requested tag breakdown cannot be applied because it does not match the tags configured for usage attribution. In this scenario the API returns the total cost, not broken down by tags.- Returns:
- tags
-
getTags_JsonNullable
-
setTags_JsonNullable
-
setTags
-
updatedAt
-
getUpdatedAt
Shows the most recent hour in the current months for all organizations for which all costs were calculated.- Returns:
- updatedAt
-
setUpdatedAt
-
values
-
getValues
Fields in Cost Attribution by tag(s). Example:infra_host_on_demand_cost,infra_host_committed_cost,infra_host_total_cost,infra_host_percentage_in_org,infra_host_percentage_in_account.- Returns:
- values
-
setValues
-
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:
- MonthlyCostAttributionAttributes
-
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 MonthlyCostAttributionAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-