Package com.datadog.api.client.v2.model
Class ObservabilityPipelineMetricTagsProcessorRule
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineMetricTagsProcessorRule
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineMetricTagsProcessorRule
extends Object
Defines a rule for filtering metric tags based on key patterns.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineMetricTagsProcessorRule(ObservabilityPipelineMetricTagsProcessorRuleAction action, String include, List<String> keys, ObservabilityPipelineMetricTagsProcessorRuleMode mode) -
Method Summary
Modifier and TypeMethodDescriptionaddKeysItem(String keysItem) booleanReturn true if this ObservabilityPipelineMetricTagsProcessorRule object is equal to o.The action to take on tags with matching keys.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A Datadog search query used to determine which metrics this rule targets.getKeys()A list of tag keys to include or exclude.getMode()The processing mode for tag filtering.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetInclude(String include) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ACTION
- See Also:
-
JSON_PROPERTY_INCLUDE
- See Also:
-
JSON_PROPERTY_KEYS
- See Also:
-
JSON_PROPERTY_MODE
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineMetricTagsProcessorRule
public ObservabilityPipelineMetricTagsProcessorRule() -
ObservabilityPipelineMetricTagsProcessorRule
public ObservabilityPipelineMetricTagsProcessorRule(ObservabilityPipelineMetricTagsProcessorRuleAction action, String include, List<String> keys, ObservabilityPipelineMetricTagsProcessorRuleMode mode)
-
-
Method Details
-
action
-
getAction
The action to take on tags with matching keys.- Returns:
- action
-
setAction
-
include
-
getInclude
A Datadog search query used to determine which metrics this rule targets.- Returns:
- include
-
setInclude
-
keys
-
addKeysItem
-
getKeys
A list of tag keys to include or exclude.- Returns:
- keys
-
setKeys
-
mode
-
getMode
The processing mode for tag filtering.- Returns:
- mode
-
setMode
-
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:
- ObservabilityPipelineMetricTagsProcessorRule
-
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 ObservabilityPipelineMetricTagsProcessorRule object is equal to o. -
hashCode
public int hashCode() -
toString
-