Package com.datadog.api.client.v2.model
Class ObservabilityPipelineSensitiveDataScannerProcessorRule
java.lang.Object
com.datadog.api.client.v2.model.ObservabilityPipelineSensitiveDataScannerProcessorRule
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ObservabilityPipelineSensitiveDataScannerProcessorRule
extends Object
Defines a rule for detecting sensitive data, including matching pattern, scope, and the action to
take.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObservabilityPipelineSensitiveDataScannerProcessorRule(String name, ObservabilityPipelineSensitiveDataScannerProcessorAction onMatch, ObservabilityPipelineSensitiveDataScannerProcessorPattern pattern, ObservabilityPipelineSensitiveDataScannerProcessorScope scope) -
Method Summary
Modifier and TypeMethodDescriptionaddTagsItem(String tagsItem) booleanReturn true if this ObservabilityPipelineSensitiveDataScannerProcessorRule object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Configuration for keywords used to reinforce sensitive data pattern detection.getName()A name identifying the rule.Defines what action to take when sensitive data is matched.Pattern detection configuration for identifying sensitive data using either a custom regex or a library reference.getScope()Determines which parts of the log the pattern-matching rule should be applied to.getTags()Tags assigned to this rule for filtering and classification.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidvoidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_KEYWORD_OPTIONS
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_ON_MATCH
- See Also:
-
JSON_PROPERTY_PATTERN
- See Also:
-
JSON_PROPERTY_SCOPE
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
-
Constructor Details
-
ObservabilityPipelineSensitiveDataScannerProcessorRule
public ObservabilityPipelineSensitiveDataScannerProcessorRule() -
ObservabilityPipelineSensitiveDataScannerProcessorRule
public ObservabilityPipelineSensitiveDataScannerProcessorRule(String name, ObservabilityPipelineSensitiveDataScannerProcessorAction onMatch, ObservabilityPipelineSensitiveDataScannerProcessorPattern pattern, ObservabilityPipelineSensitiveDataScannerProcessorScope scope)
-
-
Method Details
-
keywordOptions
public ObservabilityPipelineSensitiveDataScannerProcessorRule keywordOptions(ObservabilityPipelineSensitiveDataScannerProcessorKeywordOptions keywordOptions) -
getKeywordOptions
@Nullable public ObservabilityPipelineSensitiveDataScannerProcessorKeywordOptions getKeywordOptions()Configuration for keywords used to reinforce sensitive data pattern detection.- Returns:
- keywordOptions
-
setKeywordOptions
public void setKeywordOptions(ObservabilityPipelineSensitiveDataScannerProcessorKeywordOptions keywordOptions) -
name
-
getName
A name identifying the rule.- Returns:
- name
-
setName
-
onMatch
-
getOnMatch
Defines what action to take when sensitive data is matched.- Returns:
- onMatch
-
setOnMatch
-
pattern
-
getPattern
Pattern detection configuration for identifying sensitive data using either a custom regex or a library reference.- Returns:
- pattern
-
setPattern
-
scope
-
getScope
Determines which parts of the log the pattern-matching rule should be applied to.- Returns:
- scope
-
setScope
-
tags
-
addTagsItem
-
getTags
Tags assigned to this rule for filtering and classification.- Returns:
- tags
-
setTags
-
putAdditionalProperty
public ObservabilityPipelineSensitiveDataScannerProcessorRule putAdditionalProperty(String key, Object value) 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:
- ObservabilityPipelineSensitiveDataScannerProcessorRule
-
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 ObservabilityPipelineSensitiveDataScannerProcessorRule object is equal to o. -
hashCode
public int hashCode() -
toString
-