Package com.datadog.api.client.v1.model
Class LogsByRetention
java.lang.Object
com.datadog.api.client.v1.model.LogsByRetention
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LogsByRetention
extends Object
Object containing logs usage data broken down by retention period.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddUsageItem(LogsRetentionAggSumUsage usageItem) booleanReturn true if this LogsByRetention object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getOrgs()Indexed logs usage summary for each organization for each retention period with usage.getUsage()Aggregated index logs usage for each retention period with usage.Object containing a summary of indexed logs usage by retention period for a single month.inthashCode()orgs(LogsByRetentionOrgs orgs) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetOrgs(LogsByRetentionOrgs orgs) voidsetUsage(List<LogsRetentionAggSumUsage> usage) voidsetUsageByMonth(LogsByRetentionMonthlyUsage usageByMonth) toString()usage(List<LogsRetentionAggSumUsage> usage) usageByMonth(LogsByRetentionMonthlyUsage usageByMonth)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ORGS
- See Also:
-
JSON_PROPERTY_USAGE
- See Also:
-
JSON_PROPERTY_USAGE_BY_MONTH
- See Also:
-
-
Constructor Details
-
LogsByRetention
public LogsByRetention()
-
-
Method Details
-
orgs
-
getOrgs
Indexed logs usage summary for each organization for each retention period with usage.- Returns:
- orgs
-
setOrgs
-
usage
-
addUsageItem
-
getUsage
Aggregated index logs usage for each retention period with usage.- Returns:
- usage
-
setUsage
-
usageByMonth
-
getUsageByMonth
Object containing a summary of indexed logs usage by retention period for a single month.- Returns:
- usageByMonth
-
setUsageByMonth
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- LogsByRetention
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this LogsByRetention object is equal to o. -
hashCode
public int hashCode() -
toString
-