2727 */
2828@ JsonPropertyOrder ({
2929 SensitiveDataScannerIncludedKeywordConfiguration .JSON_PROPERTY_CHARACTER_COUNT ,
30- SensitiveDataScannerIncludedKeywordConfiguration .JSON_PROPERTY_KEYWORDS
30+ SensitiveDataScannerIncludedKeywordConfiguration .JSON_PROPERTY_KEYWORDS ,
31+ SensitiveDataScannerIncludedKeywordConfiguration .JSON_PROPERTY_USE_RECOMMENDED_KEYWORDS
3132})
3233@ jakarta .annotation .Generated (
3334 value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator" )
@@ -39,6 +40,9 @@ public class SensitiveDataScannerIncludedKeywordConfiguration {
3940 public static final String JSON_PROPERTY_KEYWORDS = "keywords" ;
4041 private List <String > keywords = new ArrayList <>();
4142
43+ public static final String JSON_PROPERTY_USE_RECOMMENDED_KEYWORDS = "use_recommended_keywords" ;
44+ private Boolean useRecommendedKeywords ;
45+
4246 public SensitiveDataScannerIncludedKeywordConfiguration () {}
4347
4448 @ JsonCreator
@@ -97,6 +101,30 @@ public void setKeywords(List<String> keywords) {
97101 this .keywords = keywords ;
98102 }
99103
104+ public SensitiveDataScannerIncludedKeywordConfiguration useRecommendedKeywords (
105+ Boolean useRecommendedKeywords ) {
106+ this .useRecommendedKeywords = useRecommendedKeywords ;
107+ return this ;
108+ }
109+
110+ /**
111+ * Should the rule use the underlying standard pattern keyword configuration. If set to <code>true
112+ * </code>, the rule must be tied to a standard pattern. If set to <code>false</code>, the
113+ * specified keywords and <code>character_count</code> are applied.
114+ *
115+ * @return useRecommendedKeywords
116+ */
117+ @ jakarta .annotation .Nullable
118+ @ JsonProperty (JSON_PROPERTY_USE_RECOMMENDED_KEYWORDS )
119+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
120+ public Boolean getUseRecommendedKeywords () {
121+ return useRecommendedKeywords ;
122+ }
123+
124+ public void setUseRecommendedKeywords (Boolean useRecommendedKeywords ) {
125+ this .useRecommendedKeywords = useRecommendedKeywords ;
126+ }
127+
100128 /**
101129 * A container for additional, undeclared properties. This is a holder for any undeclared
102130 * properties as specified with the 'additionalProperties' keyword in the OAS document.
@@ -159,14 +187,17 @@ public boolean equals(Object o) {
159187 return Objects .equals (
160188 this .characterCount , sensitiveDataScannerIncludedKeywordConfiguration .characterCount )
161189 && Objects .equals (this .keywords , sensitiveDataScannerIncludedKeywordConfiguration .keywords )
190+ && Objects .equals (
191+ this .useRecommendedKeywords ,
192+ sensitiveDataScannerIncludedKeywordConfiguration .useRecommendedKeywords )
162193 && Objects .equals (
163194 this .additionalProperties ,
164195 sensitiveDataScannerIncludedKeywordConfiguration .additionalProperties );
165196 }
166197
167198 @ Override
168199 public int hashCode () {
169- return Objects .hash (characterCount , keywords , additionalProperties );
200+ return Objects .hash (characterCount , keywords , useRecommendedKeywords , additionalProperties );
170201 }
171202
172203 @ Override
@@ -175,6 +206,9 @@ public String toString() {
175206 sb .append ("class SensitiveDataScannerIncludedKeywordConfiguration {\n " );
176207 sb .append (" characterCount: " ).append (toIndentedString (characterCount )).append ("\n " );
177208 sb .append (" keywords: " ).append (toIndentedString (keywords )).append ("\n " );
209+ sb .append (" useRecommendedKeywords: " )
210+ .append (toIndentedString (useRecommendedKeywords ))
211+ .append ("\n " );
178212 sb .append (" additionalProperties: " )
179213 .append (toIndentedString (additionalProperties ))
180214 .append ("\n " );
0 commit comments