@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class HourlyUsageAttributionBody extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_HOUR |
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_TOTAL_USAGE_SUM |
static String |
JSON_PROPERTY_UPDATED_AT |
static String |
JSON_PROPERTY_USAGE_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
HourlyUsageAttributionBody() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this HourlyUsageAttributionBody object is equal to o.
|
OffsetDateTime |
getHour()
The hour for the usage.
|
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 of
<source_org_name>:::<selected tag 1>///<selected tag 2>///<selected tag 3>
. |
Map<String,List<String>> |
getTags()
Tag keys and values.
|
Double |
getTotalUsageSum()
Total product usage for the given tags within the hour.
|
String |
getUpdatedAt()
Shows the most recent hour in the current month for all organizations where usages are
calculated.
|
HourlyUsageAttributionUsageType |
getUsageType()
Supported products for hourly usage attribution requests.
|
int |
hashCode() |
HourlyUsageAttributionBody |
hour(OffsetDateTime hour) |
HourlyUsageAttributionBody |
orgName(String orgName) |
HourlyUsageAttributionBody |
publicId(String publicId) |
HourlyUsageAttributionBody |
putTagsItem(String key,
List<String> tagsItem) |
void |
setHour(OffsetDateTime hour) |
void |
setOrgName(String orgName) |
void |
setPublicId(String publicId) |
void |
setTagConfigSource(String tagConfigSource) |
void |
setTags(Map<String,List<String>> tags) |
void |
setTotalUsageSum(Double totalUsageSum) |
void |
setUpdatedAt(String updatedAt) |
void |
setUsageType(HourlyUsageAttributionUsageType usageType) |
HourlyUsageAttributionBody |
tagConfigSource(String tagConfigSource) |
HourlyUsageAttributionBody |
tags(Map<String,List<String>> tags) |
String |
toString() |
HourlyUsageAttributionBody |
totalUsageSum(Double totalUsageSum) |
HourlyUsageAttributionBody |
updatedAt(String updatedAt) |
HourlyUsageAttributionBody |
usageType(HourlyUsageAttributionUsageType usageType) |
public boolean unparsed
public static final String JSON_PROPERTY_HOUR
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_TOTAL_USAGE_SUM
public static final String JSON_PROPERTY_UPDATED_AT
public static final String JSON_PROPERTY_USAGE_TYPE
public HourlyUsageAttributionBody hour(OffsetDateTime hour)
@Nullable public OffsetDateTime getHour()
public void setHour(OffsetDateTime hour)
public HourlyUsageAttributionBody orgName(String orgName)
@Nullable public String getOrgName()
public void setOrgName(String orgName)
public HourlyUsageAttributionBody publicId(String publicId)
@Nullable public String getPublicId()
public void setPublicId(String publicId)
public HourlyUsageAttributionBody 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 HourlyUsageAttributionBody tags(Map<String,List<String>> tags)
public HourlyUsageAttributionBody 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 HourlyUsageAttributionBody totalUsageSum(Double totalUsageSum)
@Nullable public Double getTotalUsageSum()
public void setTotalUsageSum(Double totalUsageSum)
public HourlyUsageAttributionBody updatedAt(String updatedAt)
@Nullable public String getUpdatedAt()
public void setUpdatedAt(String updatedAt)
public HourlyUsageAttributionBody usageType(HourlyUsageAttributionUsageType usageType)
@Nullable public HourlyUsageAttributionUsageType getUsageType()
public void setUsageType(HourlyUsageAttributionUsageType usageType)
public boolean equals(Object o)
Copyright © 2023. All rights reserved.