@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class UsageAttributionBody 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_TAG_CONFIG_SOURCE |
static String |
JSON_PROPERTY_TAGS |
static String |
JSON_PROPERTY_UPDATED_AT |
static String |
JSON_PROPERTY_VALUES |
boolean |
unparsed |
Constructor and Description |
---|
UsageAttributionBody() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Return true if this UsageAttributionBody object is equal to o.
|
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 |
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>
. |
Map<String,List<String>> |
getTags()
Tag keys and values.
|
String |
getUpdatedAt()
Shows the the most recent hour in the current months for all organizations for which all usages
were calculated.
|
UsageAttributionValues |
getValues()
Fields in Usage Summary by tag(s).
|
int |
hashCode() |
UsageAttributionBody |
month(OffsetDateTime month) |
UsageAttributionBody |
orgName(String orgName) |
UsageAttributionBody |
publicId(String publicId) |
UsageAttributionBody |
putTagsItem(String key,
List<String> tagsItem) |
void |
setMonth(OffsetDateTime month) |
void |
setOrgName(String orgName) |
void |
setPublicId(String publicId) |
void |
setTagConfigSource(String tagConfigSource) |
void |
setTags(Map<String,List<String>> tags) |
void |
setUpdatedAt(String updatedAt) |
void |
setValues(UsageAttributionValues values) |
UsageAttributionBody |
tagConfigSource(String tagConfigSource) |
UsageAttributionBody |
tags(Map<String,List<String>> tags) |
String |
toString() |
UsageAttributionBody |
updatedAt(String updatedAt) |
UsageAttributionBody |
values(UsageAttributionValues 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_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 UsageAttributionBody month(OffsetDateTime month)
@Nullable public OffsetDateTime getMonth()
public void setMonth(OffsetDateTime month)
public UsageAttributionBody orgName(String orgName)
@Nullable public String getOrgName()
public void setOrgName(String orgName)
public UsageAttributionBody publicId(String publicId)
@Nullable public String getPublicId()
public void setPublicId(String publicId)
public UsageAttributionBody 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 UsageAttributionBody tags(Map<String,List<String>> tags)
public UsageAttributionBody 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 UsageAttributionBody updatedAt(String updatedAt)
@Nullable public String getUpdatedAt()
public void setUpdatedAt(String updatedAt)
public UsageAttributionBody values(UsageAttributionValues values)
@Nullable public UsageAttributionValues getValues()
public void setValues(UsageAttributionValues values)
public boolean equals(Object o)
Copyright © 2023. All rights reserved.