Package com.datadog.api.client.v1.model
Class LogsExclusion
java.lang.Object
com.datadog.api.client.v1.model.LogsExclusion
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LogsExclusion
extends Object
Represents the index exclusion filter object from configuration API.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this LogsExclusion object is equal to o.filter(LogsExclusionFilter filter) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Exclusion filter is defined by a query, a sampling rule, and a active/inactive toggle.Whether or not the exclusion filter is active.getName()Name of the index exclusion filter.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetFilter(LogsExclusionFilter filter) voidsetIsEnabled(Boolean isEnabled) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_FILTER
- See Also:
-
JSON_PROPERTY_IS_ENABLED
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
-
Constructor Details
-
LogsExclusion
public LogsExclusion() -
LogsExclusion
-
-
Method Details
-
filter
-
getFilter
Exclusion filter is defined by a query, a sampling rule, and a active/inactive toggle.- Returns:
- filter
-
setFilter
-
isEnabled
-
getIsEnabled
Whether or not the exclusion filter is active.- Returns:
- isEnabled
-
setIsEnabled
-
name
-
getName
Name of the index exclusion filter.- Returns:
- name
-
setName
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- LogsExclusion
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this LogsExclusion object is equal to o. -
hashCode
public int hashCode() -
toString
-