Package com.datadog.api.client.v1.model
Class LogsByRetentionMonthlyUsage
java.lang.Object
com.datadog.api.client.v1.model.LogsByRetentionMonthlyUsage
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LogsByRetentionMonthlyUsage
extends Object
Object containing a summary of indexed logs usage by retention period for a single month.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddUsageItem(LogsRetentionSumUsage usageItem) date(OffsetDateTime date) booleanReturn true if this LogsByRetentionMonthlyUsage object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getDate()The month for the usage.getUsage()Indexed logs usage for each active retention for the month.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDate(OffsetDateTime date) voidsetUsage(List<LogsRetentionSumUsage> usage) toString()usage(List<LogsRetentionSumUsage> usage)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DATE
- See Also:
-
JSON_PROPERTY_USAGE
- See Also:
-
-
Constructor Details
-
LogsByRetentionMonthlyUsage
public LogsByRetentionMonthlyUsage()
-
-
Method Details
-
date
-
getDate
The month for the usage.- Returns:
- date
-
setDate
-
usage
-
addUsageItem
-
getUsage
Indexed logs usage for each active retention for the month.- Returns:
- usage
-
setUsage
-
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:
- LogsByRetentionMonthlyUsage
-
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 LogsByRetentionMonthlyUsage object is equal to o. -
hashCode
public int hashCode() -
toString
-