@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LogsExclusion extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_FILTER |
static String |
JSON_PROPERTY_IS_ENABLED |
static String |
JSON_PROPERTY_NAME |
boolean |
unparsed |
| Constructor and Description |
|---|
LogsExclusion() |
LogsExclusion(String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this LogsExclusion object is equal to o.
|
LogsExclusion |
filter(LogsExclusionFilter filter) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
LogsExclusionFilter |
getFilter()
Exclusion filter is defined by a query, a sampling rule, and a active/inactive toggle.
|
Boolean |
getIsEnabled()
Whether or not the exclusion filter is active.
|
String |
getName()
Name of the index exclusion filter.
|
int |
hashCode() |
LogsExclusion |
isEnabled(Boolean isEnabled) |
LogsExclusion |
name(String name) |
LogsExclusion |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setFilter(LogsExclusionFilter filter) |
void |
setIsEnabled(Boolean isEnabled) |
void |
setName(String name) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_FILTER
public static final String JSON_PROPERTY_IS_ENABLED
public static final String JSON_PROPERTY_NAME
public LogsExclusion()
public LogsExclusion(String name)
public LogsExclusion filter(LogsExclusionFilter filter)
@Nullable public LogsExclusionFilter getFilter()
public void setFilter(LogsExclusionFilter filter)
public LogsExclusion isEnabled(Boolean isEnabled)
@Nullable public Boolean getIsEnabled()
public void setIsEnabled(Boolean isEnabled)
public LogsExclusion name(String name)
public String getName()
public void setName(String name)
public LogsExclusion 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.