@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CustomForecastEntry extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_AMOUNT |
static String |
JSON_PROPERTY_MONTH |
static String |
JSON_PROPERTY_TAG_FILTERS |
boolean |
unparsed |
| Constructor and Description |
|---|
CustomForecastEntry() |
CustomForecastEntry(Double amount,
Long month,
List<CustomForecastEntryTagFilter> tagFilters) |
| Modifier and Type | Method and Description |
|---|---|
CustomForecastEntry |
addTagFiltersItem(CustomForecastEntryTagFilter tagFiltersItem) |
CustomForecastEntry |
amount(Double amount) |
boolean |
equals(Object o)
Return true if this CustomForecastEntry 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.
|
Double |
getAmount()
Forecast amount for the month.
|
Long |
getMonth()
Month the custom forecast entry applies to, in
YYYYMM format. |
List<CustomForecastEntryTagFilter> |
getTagFilters()
Tag filters that scope this custom forecast entry to specific resources.
|
int |
hashCode() |
CustomForecastEntry |
month(Long month) |
CustomForecastEntry |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAmount(Double amount) |
void |
setMonth(Long month) |
void |
setTagFilters(List<CustomForecastEntryTagFilter> tagFilters) |
CustomForecastEntry |
tagFilters(List<CustomForecastEntryTagFilter> tagFilters) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_AMOUNT
public static final String JSON_PROPERTY_MONTH
public static final String JSON_PROPERTY_TAG_FILTERS
public CustomForecastEntry()
public CustomForecastEntry(Double amount, Long month, List<CustomForecastEntryTagFilter> tagFilters)
public CustomForecastEntry amount(Double amount)
public Double getAmount()
public void setAmount(Double amount)
public CustomForecastEntry month(Long month)
public Long getMonth()
YYYYMM format.public void setMonth(Long month)
public CustomForecastEntry tagFilters(List<CustomForecastEntryTagFilter> tagFilters)
public CustomForecastEntry addTagFiltersItem(CustomForecastEntryTagFilter tagFiltersItem)
public List<CustomForecastEntryTagFilter> getTagFilters()
public void setTagFilters(List<CustomForecastEntryTagFilter> tagFilters)
public CustomForecastEntry 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.