@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LogsByRetention extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ORGS |
static String |
JSON_PROPERTY_USAGE |
static String |
JSON_PROPERTY_USAGE_BY_MONTH |
boolean |
unparsed |
| Constructor and Description |
|---|
LogsByRetention() |
| Modifier and Type | Method and Description |
|---|---|
LogsByRetention |
addUsageItem(LogsRetentionAggSumUsage usageItem) |
boolean |
equals(Object o)
Return true if this LogsByRetention 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.
|
LogsByRetentionOrgs |
getOrgs()
Indexed logs usage summary for each organization for each retention period with usage.
|
List<LogsRetentionAggSumUsage> |
getUsage()
Aggregated index logs usage for each retention period with usage.
|
LogsByRetentionMonthlyUsage |
getUsageByMonth()
Object containing a summary of indexed logs usage by retention period for a single month.
|
int |
hashCode() |
LogsByRetention |
orgs(LogsByRetentionOrgs orgs) |
LogsByRetention |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setOrgs(LogsByRetentionOrgs orgs) |
void |
setUsage(List<LogsRetentionAggSumUsage> usage) |
void |
setUsageByMonth(LogsByRetentionMonthlyUsage usageByMonth) |
String |
toString() |
LogsByRetention |
usage(List<LogsRetentionAggSumUsage> usage) |
LogsByRetention |
usageByMonth(LogsByRetentionMonthlyUsage usageByMonth) |
public boolean unparsed
public static final String JSON_PROPERTY_ORGS
public static final String JSON_PROPERTY_USAGE
public static final String JSON_PROPERTY_USAGE_BY_MONTH
public LogsByRetention orgs(LogsByRetentionOrgs orgs)
@Nullable public LogsByRetentionOrgs getOrgs()
public void setOrgs(LogsByRetentionOrgs orgs)
public LogsByRetention usage(List<LogsRetentionAggSumUsage> usage)
public LogsByRetention addUsageItem(LogsRetentionAggSumUsage usageItem)
@Nullable public List<LogsRetentionAggSumUsage> getUsage()
public void setUsage(List<LogsRetentionAggSumUsage> usage)
public LogsByRetention usageByMonth(LogsByRetentionMonthlyUsage usageByMonth)
@Nullable public LogsByRetentionMonthlyUsage getUsageByMonth()
public void setUsageByMonth(LogsByRetentionMonthlyUsage usageByMonth)
public LogsByRetention 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.