@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class MonthlyUsageAttributionBody extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_MONTH |
static String |
JSON_PROPERTY_ORG_NAME |
static String |
JSON_PROPERTY_PUBLIC_ID |
static String |
JSON_PROPERTY_REGION |
static String |
JSON_PROPERTY_TAG_CONFIG_SOURCE |
static String |
JSON_PROPERTY_TAGS |
static String |
JSON_PROPERTY_UPDATED_AT |
static String |
JSON_PROPERTY_VALUES |
boolean |
unparsed |
| Constructor and Description |
|---|
MonthlyUsageAttributionBody() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this MonthlyUsageAttributionBody 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.
|
OffsetDateTime |
getMonth()
Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM].
|
String |
getOrgName()
The name of the organization.
|
String |
getPublicId()
The organization public ID.
|
String |
getRegion()
The region of the Datadog instance that the organization belongs to.
|
String |
getTagConfigSource()
The source of the usage attribution tag configuration and the selected tags in the format
<source_org_name>:::<selected tag 1>///<selected tag 2>///<selected tag 3>
. |
org.openapitools.jackson.nullable.JsonNullable<Map<String,List<String>>> |
getTags_JsonNullable() |
Map<String,List<String>> |
getTags()
Tag keys and values.
|
OffsetDateTime |
getUpdatedAt()
Datetime of the most recent update to the usage values.
|
MonthlyUsageAttributionValues |
getValues()
Fields in Usage Summary by tag(s).
|
int |
hashCode() |
MonthlyUsageAttributionBody |
month(OffsetDateTime month) |
MonthlyUsageAttributionBody |
orgName(String orgName) |
MonthlyUsageAttributionBody |
publicId(String publicId) |
MonthlyUsageAttributionBody |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
MonthlyUsageAttributionBody |
putTagsItem(String key,
List<String> tagsItem) |
MonthlyUsageAttributionBody |
region(String region) |
void |
setMonth(OffsetDateTime month) |
void |
setOrgName(String orgName) |
void |
setPublicId(String publicId) |
void |
setRegion(String region) |
void |
setTagConfigSource(String tagConfigSource) |
void |
setTags_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Map<String,List<String>>> tags) |
void |
setTags(Map<String,List<String>> tags) |
void |
setUpdatedAt(OffsetDateTime updatedAt) |
void |
setValues(MonthlyUsageAttributionValues values) |
MonthlyUsageAttributionBody |
tagConfigSource(String tagConfigSource) |
MonthlyUsageAttributionBody |
tags(Map<String,List<String>> tags) |
String |
toString() |
MonthlyUsageAttributionBody |
updatedAt(OffsetDateTime updatedAt) |
MonthlyUsageAttributionBody |
values(MonthlyUsageAttributionValues values) |
public boolean unparsed
public static final String JSON_PROPERTY_MONTH
public static final String JSON_PROPERTY_ORG_NAME
public static final String JSON_PROPERTY_PUBLIC_ID
public static final String JSON_PROPERTY_REGION
public static final String JSON_PROPERTY_TAG_CONFIG_SOURCE
public static final String JSON_PROPERTY_TAGS
public static final String JSON_PROPERTY_UPDATED_AT
public static final String JSON_PROPERTY_VALUES
public MonthlyUsageAttributionBody month(OffsetDateTime month)
@Nullable public OffsetDateTime getMonth()
public void setMonth(OffsetDateTime month)
public MonthlyUsageAttributionBody orgName(String orgName)
@Nullable public String getOrgName()
public void setOrgName(String orgName)
public MonthlyUsageAttributionBody publicId(String publicId)
@Nullable public String getPublicId()
public void setPublicId(String publicId)
public MonthlyUsageAttributionBody region(String region)
@Nullable public String getRegion()
public void setRegion(String region)
public MonthlyUsageAttributionBody tagConfigSource(String tagConfigSource)
@Nullable public String getTagConfigSource()
<source_org_name>:::<selected tag 1>///<selected tag 2>///<selected tag 3>
.public void setTagConfigSource(String tagConfigSource)
public MonthlyUsageAttributionBody tags(Map<String,List<String>> tags)
public MonthlyUsageAttributionBody putTagsItem(String key, List<String> tagsItem)
@Nullable public Map<String,List<String>> getTags()
A null value 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 usage, not
broken down by tags.
public org.openapitools.jackson.nullable.JsonNullable<Map<String,List<String>>> getTags_JsonNullable()
public void setTags_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Map<String,List<String>>> tags)
public MonthlyUsageAttributionBody updatedAt(OffsetDateTime updatedAt)
@Nullable public OffsetDateTime getUpdatedAt()
public void setUpdatedAt(OffsetDateTime updatedAt)
public MonthlyUsageAttributionBody values(MonthlyUsageAttributionValues values)
@Nullable public MonthlyUsageAttributionValues getValues()
public void setValues(MonthlyUsageAttributionValues values)
public MonthlyUsageAttributionBody 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 © 2024. All rights reserved.