@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_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) |
boolean |
equals(Object o)
Return true if this LogsIndex object is equal to o.
|
LogsIndex |
exclusionFilters(List<LogsExclusion> exclusionFilters) |
LogsIndex |
filter(LogsFilter filter) |
Long |
getDailyLimit()
The number of log events you can send in this index per day before you are rate-limited.
|
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) |
void |
setDailyLimit(Long dailyLimit) |
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_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 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 boolean equals(Object o)
Copyright © 2023. All rights reserved.