@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LogsExclusionFilter extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_QUERY |
static String |
JSON_PROPERTY_SAMPLE_RATE |
boolean |
unparsed |
| Constructor and Description |
|---|
LogsExclusionFilter() |
LogsExclusionFilter(Double sampleRate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this LogsExclusionFilter object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getQuery()
Default query is
*, meaning all logs flowing in the index would be excluded. |
Double |
getSampleRate()
Sample rate to apply to logs going through this exclusion filter, a value of 1.0 excludes all
logs matching the query.
|
int |
hashCode() |
LogsExclusionFilter |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
LogsExclusionFilter |
query(String query) |
LogsExclusionFilter |
sampleRate(Double sampleRate) |
void |
setQuery(String query) |
void |
setSampleRate(Double sampleRate) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_QUERY
public static final String JSON_PROPERTY_SAMPLE_RATE
public LogsExclusionFilter()
public LogsExclusionFilter(Double sampleRate)
public LogsExclusionFilter query(String query)
@Nullable public String getQuery()
*, meaning all logs flowing in the index would be excluded. Scope
down exclusion filter to only a subset of logs with a log query.public void setQuery(String query)
public LogsExclusionFilter sampleRate(Double sampleRate)
public Double getSampleRate()
public void setSampleRate(Double sampleRate)
public LogsExclusionFilter 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.