Package com.datadog.api.client.v2.model
Class SensitiveDataScannerIncludedKeywordConfiguration
java.lang.Object
com.datadog.api.client.v2.model.SensitiveDataScannerIncludedKeywordConfiguration
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SensitiveDataScannerIncludedKeywordConfiguration
extends Object
Object defining a set of keywords and a number of characters that help reduce noise. You can
provide a list of keywords you would like to check within a defined proximity of the matching
pattern. If any of the keywords are found within the proximity check, the match is kept. If none
are found, the match is discarded.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSensitiveDataScannerIncludedKeywordConfiguration(Long characterCount, List<String> keywords) -
Method Summary
Modifier and TypeMethodDescriptionaddKeywordsItem(String keywordsItem) characterCount(Long characterCount) booleanReturn true if this SensitiveDataScannerIncludedKeywordConfiguration object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The number of characters behind a match detected by Sensitive Data Scanner to look for the keywords defined.Keyword list that will be checked during scanning in order to validate a match.Should the rule use the underlying standard pattern keyword configuration.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCharacterCount(Long characterCount) voidsetKeywords(List<String> keywords) voidsetUseRecommendedKeywords(Boolean useRecommendedKeywords) toString()useRecommendedKeywords(Boolean useRecommendedKeywords)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CHARACTER_COUNT
- See Also:
-
JSON_PROPERTY_KEYWORDS
- See Also:
-
JSON_PROPERTY_USE_RECOMMENDED_KEYWORDS
- See Also:
-
-
Constructor Details
-
SensitiveDataScannerIncludedKeywordConfiguration
public SensitiveDataScannerIncludedKeywordConfiguration() -
SensitiveDataScannerIncludedKeywordConfiguration
-
-
Method Details
-
characterCount
-
getCharacterCount
The number of characters behind a match detected by Sensitive Data Scanner to look for the keywords defined.character_countshould be greater than the maximum length of a keyword defined for a rule. minimum: 1 maximum: 50- Returns:
- characterCount
-
setCharacterCount
-
keywords
-
addKeywordsItem
-
getKeywords
Keyword list that will be checked during scanning in order to validate a match. The number of keywords in the list must be less than or equal to 30.- Returns:
- keywords
-
setKeywords
-
useRecommendedKeywords
public SensitiveDataScannerIncludedKeywordConfiguration useRecommendedKeywords(Boolean useRecommendedKeywords) -
getUseRecommendedKeywords
Should the rule use the underlying standard pattern keyword configuration. If set totrue, the rule must be tied to a standard pattern. If set tofalse, the specified keywords andcharacter_countare applied.- Returns:
- useRecommendedKeywords
-
setUseRecommendedKeywords
-
putAdditionalProperty
public SensitiveDataScannerIncludedKeywordConfiguration 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:
- SensitiveDataScannerIncludedKeywordConfiguration
-
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 SensitiveDataScannerIncludedKeywordConfiguration object is equal to o. -
hashCode
public int hashCode() -
toString
-