Package com.datadog.api.client.v1.model
Class LogsIndexUpdateRequest
java.lang.Object
com.datadog.api.client.v1.model.LogsIndexUpdateRequest
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LogsIndexUpdateRequest
extends Object
Object for updating a Datadog Log index.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddExclusionFiltersItem(LogsExclusion exclusionFiltersItem) addTagsItem(String tagsItem) dailyLimit(Long dailyLimit) dailyLimitReset(LogsDailyLimitReset dailyLimitReset) dailyLimitWarningThresholdPercentage(Double dailyLimitWarningThresholdPercentage) disableDailyLimit(Boolean disableDailyLimit) booleanReturn true if this LogsIndexUpdateRequest object is equal to o.exclusionFilters(List<LogsExclusion> exclusionFilters) filter(LogsFilter filter) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The number of log events you can send in this index per day before you are rate-limited.Object containing options to override the default daily limit reset time.A percentage threshold of the daily quota at which a Datadog warning event is generated.If true, sets thedaily_limitvalue to null and the index is not limited on a daily basis (any specifieddaily_limitvalue in the request is ignored).An array of exclusion objects.Filter for logs.The total number of days logs are stored in Standard and Flex Tier before being deleted from the index.The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index.getTags()A list of tags associated with the index.inthashCode()numFlexLogsRetentionDays(Long numFlexLogsRetentionDays) numRetentionDays(Long numRetentionDays) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDailyLimit(Long dailyLimit) voidsetDailyLimitReset(LogsDailyLimitReset dailyLimitReset) voidsetDailyLimitWarningThresholdPercentage(Double dailyLimitWarningThresholdPercentage) voidsetDisableDailyLimit(Boolean disableDailyLimit) voidsetExclusionFilters(List<LogsExclusion> exclusionFilters) voidsetFilter(LogsFilter filter) voidsetNumFlexLogsRetentionDays(Long numFlexLogsRetentionDays) voidsetNumRetentionDays(Long numRetentionDays) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DAILY_LIMIT
- See Also:
-
JSON_PROPERTY_DAILY_LIMIT_RESET
- See Also:
-
JSON_PROPERTY_DAILY_LIMIT_WARNING_THRESHOLD_PERCENTAGE
- See Also:
-
JSON_PROPERTY_DISABLE_DAILY_LIMIT
- See Also:
-
JSON_PROPERTY_EXCLUSION_FILTERS
- See Also:
-
JSON_PROPERTY_FILTER
- See Also:
-
JSON_PROPERTY_NUM_FLEX_LOGS_RETENTION_DAYS
- See Also:
-
JSON_PROPERTY_NUM_RETENTION_DAYS
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
-
Constructor Details
-
LogsIndexUpdateRequest
public LogsIndexUpdateRequest() -
LogsIndexUpdateRequest
-
-
Method Details
-
dailyLimit
-
getDailyLimit
The number of log events you can send in this index per day before you are rate-limited.- Returns:
- dailyLimit
-
setDailyLimit
-
dailyLimitReset
-
getDailyLimitReset
Object containing options to override the default daily limit reset time.- Returns:
- dailyLimitReset
-
setDailyLimitReset
-
dailyLimitWarningThresholdPercentage
public LogsIndexUpdateRequest dailyLimitWarningThresholdPercentage(Double dailyLimitWarningThresholdPercentage) -
getDailyLimitWarningThresholdPercentage
A percentage threshold of the daily quota at which a Datadog warning event is generated. minimum: 50 maximum: 99.99- Returns:
- dailyLimitWarningThresholdPercentage
-
setDailyLimitWarningThresholdPercentage
-
disableDailyLimit
-
getDisableDailyLimit
If true, sets thedaily_limitvalue to null and the index is not limited on a daily basis (any specifieddaily_limitvalue in the request is ignored). If false or omitted, the index's currentdaily_limitis maintained.- Returns:
- disableDailyLimit
-
setDisableDailyLimit
-
exclusionFilters
-
addExclusionFiltersItem
-
getExclusionFilters
An array of exclusion objects. The logs are tested against the query of each filter, following the order of the array. Only the first matching active exclusion matters, others (if any) are ignored.- Returns:
- exclusionFilters
-
setExclusionFilters
-
filter
-
getFilter
Filter for logs.- Returns:
- filter
-
setFilter
-
numFlexLogsRetentionDays
-
getNumFlexLogsRetentionDays
The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. If Standard Tier is enabled on this index, logs are first retained in Standard Tier for the number of days specified throughnum_retention_days, and then stored in Flex Tier until the number of days specified innum_flex_logs_retention_daysis reached. The available values depend on retention plans specified in your organization's contract/subscriptions.Note: Changing this value affects all logs already in this index. It may also affect billing.
- Returns:
- numFlexLogsRetentionDays
-
setNumFlexLogsRetentionDays
-
numRetentionDays
-
getNumRetentionDays
The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. The available values depend on retention plans specified in your organization's contract/subscriptions.Note: Changing this value affects all logs already in this index. It may also affect billing.
- Returns:
- numRetentionDays
-
setNumRetentionDays
-
tags
-
addTagsItem
-
getTags
A list of tags associated with the index. Tags must be inkey:valueformat.- Returns:
- tags
-
setTags
-
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:
- LogsIndexUpdateRequest
-
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 LogsIndexUpdateRequest object is equal to o. -
hashCode
public int hashCode() -
toString
-