@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LogsIndexUpdateRequest extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_DAILY_LIMIT |
static String |
JSON_PROPERTY_DAILY_LIMIT_RESET |
static String |
JSON_PROPERTY_DAILY_LIMIT_WARNING_THRESHOLD_PERCENTAGE |
static String |
JSON_PROPERTY_DISABLE_DAILY_LIMIT |
static String |
JSON_PROPERTY_EXCLUSION_FILTERS |
static String |
JSON_PROPERTY_FILTER |
static String |
JSON_PROPERTY_NUM_FLEX_LOGS_RETENTION_DAYS |
static String |
JSON_PROPERTY_NUM_RETENTION_DAYS |
boolean |
unparsed |
| Constructor and Description |
|---|
LogsIndexUpdateRequest() |
LogsIndexUpdateRequest(LogsFilter filter) |
| Modifier and Type | Method and Description |
|---|---|
LogsIndexUpdateRequest |
addExclusionFiltersItem(LogsExclusion exclusionFiltersItem) |
LogsIndexUpdateRequest |
dailyLimit(Long dailyLimit) |
LogsIndexUpdateRequest |
dailyLimitReset(LogsDailyLimitReset dailyLimitReset) |
LogsIndexUpdateRequest |
dailyLimitWarningThresholdPercentage(Double dailyLimitWarningThresholdPercentage) |
LogsIndexUpdateRequest |
disableDailyLimit(Boolean disableDailyLimit) |
boolean |
equals(Object o)
Return true if this LogsIndexUpdateRequest object is equal to o.
|
LogsIndexUpdateRequest |
exclusionFilters(List<LogsExclusion> exclusionFilters) |
LogsIndexUpdateRequest |
filter(LogsFilter filter) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Long |
getDailyLimit()
The number of log events you can send in this index per day before you are rate-limited.
|
LogsDailyLimitReset |
getDailyLimitReset()
Object containing options to override the default daily limit reset time.
|
Double |
getDailyLimitWarningThresholdPercentage()
A percentage threshold of the daily quota at which a Datadog warning event is generated.
|
Boolean |
getDisableDailyLimit()
If true, sets the
daily_limit value to null and the index is not limited on a
daily basis (any specified daily_limit value in the request is ignored). |
List<LogsExclusion> |
getExclusionFilters()
An array of exclusion objects.
|
LogsFilter |
getFilter()
Filter for logs.
|
Long |
getNumFlexLogsRetentionDays()
The total number of days logs are stored in Standard and Flex Tier before being deleted from
the index.
|
Long |
getNumRetentionDays()
The number of days logs are stored in Standard Tier before aging into the Flex Tier or being
deleted from the index.
|
int |
hashCode() |
LogsIndexUpdateRequest |
numFlexLogsRetentionDays(Long numFlexLogsRetentionDays) |
LogsIndexUpdateRequest |
numRetentionDays(Long numRetentionDays) |
LogsIndexUpdateRequest |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setDailyLimit(Long dailyLimit) |
void |
setDailyLimitReset(LogsDailyLimitReset dailyLimitReset) |
void |
setDailyLimitWarningThresholdPercentage(Double dailyLimitWarningThresholdPercentage) |
void |
setDisableDailyLimit(Boolean disableDailyLimit) |
void |
setExclusionFilters(List<LogsExclusion> exclusionFilters) |
void |
setFilter(LogsFilter filter) |
void |
setNumFlexLogsRetentionDays(Long numFlexLogsRetentionDays) |
void |
setNumRetentionDays(Long numRetentionDays) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_DAILY_LIMIT
public static final String JSON_PROPERTY_DAILY_LIMIT_RESET
public static final String JSON_PROPERTY_DAILY_LIMIT_WARNING_THRESHOLD_PERCENTAGE
public static final String JSON_PROPERTY_DISABLE_DAILY_LIMIT
public static final String JSON_PROPERTY_EXCLUSION_FILTERS
public static final String JSON_PROPERTY_FILTER
public static final String JSON_PROPERTY_NUM_FLEX_LOGS_RETENTION_DAYS
public static final String JSON_PROPERTY_NUM_RETENTION_DAYS
public LogsIndexUpdateRequest()
public LogsIndexUpdateRequest(LogsFilter filter)
public LogsIndexUpdateRequest dailyLimit(Long dailyLimit)
@Nullable public Long getDailyLimit()
public void setDailyLimit(Long dailyLimit)
public LogsIndexUpdateRequest dailyLimitReset(LogsDailyLimitReset dailyLimitReset)
@Nullable public LogsDailyLimitReset getDailyLimitReset()
public void setDailyLimitReset(LogsDailyLimitReset dailyLimitReset)
public LogsIndexUpdateRequest dailyLimitWarningThresholdPercentage(Double dailyLimitWarningThresholdPercentage)
@Nullable public Double getDailyLimitWarningThresholdPercentage()
public void setDailyLimitWarningThresholdPercentage(Double dailyLimitWarningThresholdPercentage)
public LogsIndexUpdateRequest disableDailyLimit(Boolean disableDailyLimit)
@Nullable public Boolean getDisableDailyLimit()
daily_limit value to null and the index is not limited on a
daily basis (any specified daily_limit value in the request is ignored). If false
or omitted, the index's current daily_limit is maintained.public void setDisableDailyLimit(Boolean disableDailyLimit)
public LogsIndexUpdateRequest exclusionFilters(List<LogsExclusion> exclusionFilters)
public LogsIndexUpdateRequest addExclusionFiltersItem(LogsExclusion exclusionFiltersItem)
@Nullable public List<LogsExclusion> getExclusionFilters()
public void setExclusionFilters(List<LogsExclusion> exclusionFilters)
public LogsIndexUpdateRequest filter(LogsFilter filter)
public LogsFilter getFilter()
public void setFilter(LogsFilter filter)
public LogsIndexUpdateRequest numFlexLogsRetentionDays(Long numFlexLogsRetentionDays)
@Nullable public Long getNumFlexLogsRetentionDays()
num_retention_days, and then stored in
Flex Tier until the number of days specified in num_flex_logs_retention_days is
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.
public void setNumFlexLogsRetentionDays(Long numFlexLogsRetentionDays)
public LogsIndexUpdateRequest numRetentionDays(Long numRetentionDays)
@Nullable public Long getNumRetentionDays()
Note: Changing this value affects all logs already in this index. It may also affect billing.
public void setNumRetentionDays(Long numRetentionDays)
public LogsIndexUpdateRequest 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.