@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class BudgetAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CREATED_AT |
static String |
JSON_PROPERTY_CREATED_BY |
static String |
JSON_PROPERTY_END_MONTH |
static String |
JSON_PROPERTY_ENTRIES |
static String |
JSON_PROPERTY_METRICS_QUERY |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_ORG_ID |
static String |
JSON_PROPERTY_START_MONTH |
static String |
JSON_PROPERTY_TOTAL_AMOUNT |
static String |
JSON_PROPERTY_UPDATED_AT |
static String |
JSON_PROPERTY_UPDATED_BY |
boolean |
unparsed |
| Constructor and Description |
|---|
BudgetAttributes() |
| Modifier and Type | Method and Description |
|---|---|
BudgetAttributes |
addEntriesItem(BudgetWithEntriesDataAttributesEntriesItems entriesItem) |
BudgetAttributes |
createdAt(Long createdAt) |
BudgetAttributes |
createdBy(String createdBy) |
BudgetAttributes |
endMonth(Long endMonth) |
BudgetAttributes |
entries(List<BudgetWithEntriesDataAttributesEntriesItems> entries) |
boolean |
equals(Object o)
Return true if this BudgetAttributes object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Long |
getCreatedAt()
The timestamp when the budget was created.
|
String |
getCreatedBy()
The id of the user that created the budget.
|
Long |
getEndMonth()
The month when the budget ends.
|
List<BudgetWithEntriesDataAttributesEntriesItems> |
getEntries()
The list of monthly budget entries.
|
String |
getMetricsQuery()
The cost query used to track against the budget.
|
String |
getName()
The name of the budget.
|
Long |
getOrgId()
The id of the org the budget belongs to.
|
Long |
getStartMonth()
The month when the budget starts.
|
Double |
getTotalAmount()
The sum of all budget entries' amounts.
|
Long |
getUpdatedAt()
The timestamp when the budget was last updated.
|
String |
getUpdatedBy()
The id of the user that created the budget.
|
int |
hashCode() |
BudgetAttributes |
metricsQuery(String metricsQuery) |
BudgetAttributes |
name(String name) |
BudgetAttributes |
orgId(Long orgId) |
BudgetAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setCreatedAt(Long createdAt) |
void |
setCreatedBy(String createdBy) |
void |
setEndMonth(Long endMonth) |
void |
setEntries(List<BudgetWithEntriesDataAttributesEntriesItems> entries) |
void |
setMetricsQuery(String metricsQuery) |
void |
setName(String name) |
void |
setOrgId(Long orgId) |
void |
setStartMonth(Long startMonth) |
void |
setTotalAmount(Double totalAmount) |
void |
setUpdatedAt(Long updatedAt) |
void |
setUpdatedBy(String updatedBy) |
BudgetAttributes |
startMonth(Long startMonth) |
String |
toString() |
BudgetAttributes |
totalAmount(Double totalAmount) |
BudgetAttributes |
updatedAt(Long updatedAt) |
BudgetAttributes |
updatedBy(String updatedBy) |
public boolean unparsed
public static final String JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_CREATED_BY
public static final String JSON_PROPERTY_END_MONTH
public static final String JSON_PROPERTY_ENTRIES
public static final String JSON_PROPERTY_METRICS_QUERY
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_ORG_ID
public static final String JSON_PROPERTY_START_MONTH
public static final String JSON_PROPERTY_TOTAL_AMOUNT
public static final String JSON_PROPERTY_UPDATED_AT
public static final String JSON_PROPERTY_UPDATED_BY
public BudgetAttributes createdAt(Long createdAt)
@Nullable public Long getCreatedAt()
public void setCreatedAt(Long createdAt)
public BudgetAttributes createdBy(String createdBy)
@Nullable public String getCreatedBy()
public void setCreatedBy(String createdBy)
public BudgetAttributes endMonth(Long endMonth)
@Nullable public Long getEndMonth()
public void setEndMonth(Long endMonth)
public BudgetAttributes entries(List<BudgetWithEntriesDataAttributesEntriesItems> entries)
public BudgetAttributes addEntriesItem(BudgetWithEntriesDataAttributesEntriesItems entriesItem)
@Nullable public List<BudgetWithEntriesDataAttributesEntriesItems> getEntries()
public void setEntries(List<BudgetWithEntriesDataAttributesEntriesItems> entries)
public BudgetAttributes metricsQuery(String metricsQuery)
@Nullable public String getMetricsQuery()
public void setMetricsQuery(String metricsQuery)
public BudgetAttributes name(String name)
@Nullable public String getName()
public void setName(String name)
public BudgetAttributes orgId(Long orgId)
@Nullable public Long getOrgId()
public void setOrgId(Long orgId)
public BudgetAttributes startMonth(Long startMonth)
@Nullable public Long getStartMonth()
public void setStartMonth(Long startMonth)
public BudgetAttributes totalAmount(Double totalAmount)
@Nullable public Double getTotalAmount()
public void setTotalAmount(Double totalAmount)
public BudgetAttributes updatedAt(Long updatedAt)
@Nullable public Long getUpdatedAt()
public void setUpdatedAt(Long updatedAt)
public BudgetAttributes updatedBy(String updatedBy)
@Nullable public String getUpdatedBy()
public void setUpdatedBy(String updatedBy)
public BudgetAttributes putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.