Package com.datadog.api.client.v2.model
Class BudgetAttributes
java.lang.Object
com.datadog.api.client.v2.model.BudgetAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class BudgetAttributes
extends Object
The attributes of a budget.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTagsItem(String tagsItem) costs(BudgetAttributesCosts costs) costsPeriodEnd(Long costsPeriodEnd) costsPeriodStart(Long costsPeriodStart) costsUnit(BudgetAttributesCostsUnit costsUnit) booleanReturn true if this BudgetAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getCosts()Aggregated cost data for the budget over the requested period.The end of the period used to compute cost data, in milliseconds since epoch.The start of the period used to compute cost data, in milliseconds since epoch.The unit used for all cost values in the response.The timestamp when the budget was created.The id of the user that created the budget.The month when the budget ends.The list of monthly budget entries.The cost query used to track against the budget.getName()The name of the budget.getOrgId()The id of the org the budget belongs to.The month when the budget starts.getTags()The tag keys used to group costs for the budget.The sum of all budget entries' amounts.The timestamp when the budget was last updated.The id of the user that created the budget.inthashCode()metricsQuery(String metricsQuery) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCosts(BudgetAttributesCosts costs) voidsetCostsPeriodEnd(Long costsPeriodEnd) voidsetCostsPeriodStart(Long costsPeriodStart) voidsetCostsUnit(BudgetAttributesCostsUnit costsUnit) voidsetCreatedAt(Long createdAt) voidsetCreatedBy(String createdBy) voidsetEndMonth(Long endMonth) voidvoidsetMetricsQuery(String metricsQuery) voidvoidvoidsetStartMonth(Long startMonth) voidvoidsetTotalAmount(Double totalAmount) voidsetUpdatedAt(Long updatedAt) voidsetUpdatedBy(String updatedBy) startMonth(Long startMonth) toString()totalAmount(Double totalAmount)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COSTS
- See Also:
-
JSON_PROPERTY_COSTS_PERIOD_END
- See Also:
-
JSON_PROPERTY_COSTS_PERIOD_START
- See Also:
-
JSON_PROPERTY_COSTS_UNIT
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_CREATED_BY
- See Also:
-
JSON_PROPERTY_END_MONTH
- See Also:
-
JSON_PROPERTY_ENTRIES
- See Also:
-
JSON_PROPERTY_METRICS_QUERY
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_ORG_ID
- See Also:
-
JSON_PROPERTY_START_MONTH
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
JSON_PROPERTY_TOTAL_AMOUNT
- See Also:
-
JSON_PROPERTY_UPDATED_AT
- See Also:
-
JSON_PROPERTY_UPDATED_BY
- See Also:
-
-
Constructor Details
-
BudgetAttributes
public BudgetAttributes()
-
-
Method Details
-
costs
-
getCosts
Aggregated cost data for the budget over the requested period.- Returns:
- costs
-
setCosts
-
costsPeriodEnd
-
getCostsPeriodEnd
The end of the period used to compute cost data, in milliseconds since epoch.- Returns:
- costsPeriodEnd
-
setCostsPeriodEnd
-
costsPeriodStart
-
getCostsPeriodStart
The start of the period used to compute cost data, in milliseconds since epoch.- Returns:
- costsPeriodStart
-
setCostsPeriodStart
-
costsUnit
-
getCostsUnit
The unit used for all cost values in the response.- Returns:
- costsUnit
-
setCostsUnit
-
createdAt
-
getCreatedAt
The timestamp when the budget was created.- Returns:
- createdAt
-
setCreatedAt
-
createdBy
-
getCreatedBy
The id of the user that created the budget.- Returns:
- createdBy
-
setCreatedBy
-
endMonth
-
getEndMonth
The month when the budget ends.- Returns:
- endMonth
-
setEndMonth
-
entries
-
addEntriesItem
-
getEntries
The list of monthly budget entries.- Returns:
- entries
-
setEntries
-
metricsQuery
-
getMetricsQuery
The cost query used to track against the budget.- Returns:
- metricsQuery
-
setMetricsQuery
-
name
-
getName
The name of the budget.- Returns:
- name
-
setName
-
orgId
-
getOrgId
The id of the org the budget belongs to.- Returns:
- orgId
-
setOrgId
-
startMonth
-
getStartMonth
The month when the budget starts.- Returns:
- startMonth
-
setStartMonth
-
tags
-
addTagsItem
-
getTags
The tag keys used to group costs for the budget.- Returns:
- tags
-
setTags
-
totalAmount
-
getTotalAmount
The sum of all budget entries' amounts.- Returns:
- totalAmount
-
setTotalAmount
-
updatedAt
-
getUpdatedAt
The timestamp when the budget was last updated.- Returns:
- updatedAt
-
setUpdatedAt
-
updatedBy
-
getUpdatedBy
The id of the user that created the budget.- Returns:
- updatedBy
-
setUpdatedBy
-
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:
- BudgetAttributes
-
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 BudgetAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-