@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LogsIndex 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_EXCLUSION_FILTERS |
static String |
JSON_PROPERTY_FILTER |
static String |
JSON_PROPERTY_IS_RATE_LIMITED |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_NUM_RETENTION_DAYS |
boolean |
unparsed |
| Constructor and Description |
|---|
LogsIndex() |
LogsIndex(LogsFilter filter,
String name) |
| Modifier and Type | Method and Description |
|---|---|
LogsIndex |
addExclusionFiltersItem(LogsExclusion exclusionFiltersItem) |
LogsIndex |
dailyLimit(Long dailyLimit) |
LogsIndex |
dailyLimitReset(LogsDailyLimitReset dailyLimitReset) |
LogsIndex |
dailyLimitWarningThresholdPercentage(Double dailyLimitWarningThresholdPercentage) |
boolean |
equals(Object o)
Return true if this LogsIndex object is equal to o.
|
LogsIndex |
exclusionFilters(List<LogsExclusion> exclusionFilters) |
LogsIndex |
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.
|
List<LogsExclusion> |
getExclusionFilters()
An array of exclusion objects.
|
LogsFilter |
getFilter()
Filter for logs.
|
Boolean |
getIsRateLimited()
A boolean stating if the index is rate limited, meaning more logs than the daily limit have
been sent.
|
String |
getName()
The name of the index.
|
Long |
getNumRetentionDays()
The number of days before logs are deleted from this index.
|
int |
hashCode() |
LogsIndex |
name(String name) |
LogsIndex |
numRetentionDays(Long numRetentionDays) |
LogsIndex |
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 |
setExclusionFilters(List<LogsExclusion> exclusionFilters) |
void |
setFilter(LogsFilter filter) |
void |
setName(String name) |
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_EXCLUSION_FILTERS
public static final String JSON_PROPERTY_FILTER
public static final String JSON_PROPERTY_IS_RATE_LIMITED
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NUM_RETENTION_DAYS
public LogsIndex()
public LogsIndex(LogsFilter filter, String name)
@Nullable public Long getDailyLimit()
public void setDailyLimit(Long dailyLimit)
public LogsIndex dailyLimitReset(LogsDailyLimitReset dailyLimitReset)
@Nullable public LogsDailyLimitReset getDailyLimitReset()
public void setDailyLimitReset(LogsDailyLimitReset dailyLimitReset)
public LogsIndex dailyLimitWarningThresholdPercentage(Double dailyLimitWarningThresholdPercentage)
@Nullable public Double getDailyLimitWarningThresholdPercentage()
public void setDailyLimitWarningThresholdPercentage(Double dailyLimitWarningThresholdPercentage)
public LogsIndex exclusionFilters(List<LogsExclusion> exclusionFilters)
public LogsIndex addExclusionFiltersItem(LogsExclusion exclusionFiltersItem)
@Nullable public List<LogsExclusion> getExclusionFilters()
public void setExclusionFilters(List<LogsExclusion> exclusionFilters)
public LogsIndex filter(LogsFilter filter)
public LogsFilter getFilter()
public void setFilter(LogsFilter filter)
@Nullable public Boolean getIsRateLimited()
public String getName()
public void setName(String name)
@Nullable public Long getNumRetentionDays()
public void setNumRetentionDays(Long numRetentionDays)
public LogsIndex 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.