23
23
@ JsonPropertyOrder ({
24
24
CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_ACTIONS ,
25
25
CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_AGENT_CONSTRAINT ,
26
+ CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_BLOCKING ,
26
27
CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_CATEGORY ,
27
28
CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_CREATION_AUTHOR_UU_ID ,
28
29
CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_CREATION_DATE ,
29
30
CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_CREATOR ,
30
31
CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_DEFAULT_RULE ,
31
32
CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_DESCRIPTION ,
33
+ CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_DISABLED ,
32
34
CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_ENABLED ,
33
35
CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_EXPRESSION ,
34
36
CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_FILTERS ,
37
+ CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_MONITORING ,
35
38
CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_NAME ,
36
39
CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_PRODUCT_TAGS ,
37
40
CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_UPDATE_AUTHOR_UU_ID ,
@@ -51,6 +54,9 @@ public class CloudWorkloadSecurityAgentRuleAttributes {
51
54
public static final String JSON_PROPERTY_AGENT_CONSTRAINT = "agentConstraint" ;
52
55
private String agentConstraint ;
53
56
57
+ public static final String JSON_PROPERTY_BLOCKING = "blocking" ;
58
+ private List <String > blocking = null ;
59
+
54
60
public static final String JSON_PROPERTY_CATEGORY = "category" ;
55
61
private String category ;
56
62
@@ -69,6 +75,9 @@ public class CloudWorkloadSecurityAgentRuleAttributes {
69
75
public static final String JSON_PROPERTY_DESCRIPTION = "description" ;
70
76
private String description ;
71
77
78
+ public static final String JSON_PROPERTY_DISABLED = "disabled" ;
79
+ private List <String > disabled = null ;
80
+
72
81
public static final String JSON_PROPERTY_ENABLED = "enabled" ;
73
82
private Boolean enabled ;
74
83
@@ -78,6 +87,9 @@ public class CloudWorkloadSecurityAgentRuleAttributes {
78
87
public static final String JSON_PROPERTY_FILTERS = "filters" ;
79
88
private List <String > filters = null ;
80
89
90
+ public static final String JSON_PROPERTY_MONITORING = "monitoring" ;
91
+ private List <String > monitoring = null ;
92
+
81
93
public static final String JSON_PROPERTY_NAME = "name" ;
82
94
private String name ;
83
95
@@ -166,6 +178,35 @@ public void setAgentConstraint(String agentConstraint) {
166
178
this .agentConstraint = agentConstraint ;
167
179
}
168
180
181
+ public CloudWorkloadSecurityAgentRuleAttributes blocking (List <String > blocking ) {
182
+ this .blocking = blocking ;
183
+ return this ;
184
+ }
185
+
186
+ public CloudWorkloadSecurityAgentRuleAttributes addBlockingItem (String blockingItem ) {
187
+ if (this .blocking == null ) {
188
+ this .blocking = new ArrayList <>();
189
+ }
190
+ this .blocking .add (blockingItem );
191
+ return this ;
192
+ }
193
+
194
+ /**
195
+ * The blocking policies that the rule belongs to
196
+ *
197
+ * @return blocking
198
+ */
199
+ @ jakarta .annotation .Nullable
200
+ @ JsonProperty (JSON_PROPERTY_BLOCKING )
201
+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
202
+ public List <String > getBlocking () {
203
+ return blocking ;
204
+ }
205
+
206
+ public void setBlocking (List <String > blocking ) {
207
+ this .blocking = blocking ;
208
+ }
209
+
169
210
public CloudWorkloadSecurityAgentRuleAttributes category (String category ) {
170
211
this .category = category ;
171
212
return this ;
@@ -294,6 +335,35 @@ public void setDescription(String description) {
294
335
this .description = description ;
295
336
}
296
337
338
+ public CloudWorkloadSecurityAgentRuleAttributes disabled (List <String > disabled ) {
339
+ this .disabled = disabled ;
340
+ return this ;
341
+ }
342
+
343
+ public CloudWorkloadSecurityAgentRuleAttributes addDisabledItem (String disabledItem ) {
344
+ if (this .disabled == null ) {
345
+ this .disabled = new ArrayList <>();
346
+ }
347
+ this .disabled .add (disabledItem );
348
+ return this ;
349
+ }
350
+
351
+ /**
352
+ * The disabled policies that the rule belongs to
353
+ *
354
+ * @return disabled
355
+ */
356
+ @ jakarta .annotation .Nullable
357
+ @ JsonProperty (JSON_PROPERTY_DISABLED )
358
+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
359
+ public List <String > getDisabled () {
360
+ return disabled ;
361
+ }
362
+
363
+ public void setDisabled (List <String > disabled ) {
364
+ this .disabled = disabled ;
365
+ }
366
+
297
367
public CloudWorkloadSecurityAgentRuleAttributes enabled (Boolean enabled ) {
298
368
this .enabled = enabled ;
299
369
return this ;
@@ -365,6 +435,35 @@ public void setFilters(List<String> filters) {
365
435
this .filters = filters ;
366
436
}
367
437
438
+ public CloudWorkloadSecurityAgentRuleAttributes monitoring (List <String > monitoring ) {
439
+ this .monitoring = monitoring ;
440
+ return this ;
441
+ }
442
+
443
+ public CloudWorkloadSecurityAgentRuleAttributes addMonitoringItem (String monitoringItem ) {
444
+ if (this .monitoring == null ) {
445
+ this .monitoring = new ArrayList <>();
446
+ }
447
+ this .monitoring .add (monitoringItem );
448
+ return this ;
449
+ }
450
+
451
+ /**
452
+ * The monitoring policies that the rule belongs to
453
+ *
454
+ * @return monitoring
455
+ */
456
+ @ jakarta .annotation .Nullable
457
+ @ JsonProperty (JSON_PROPERTY_MONITORING )
458
+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
459
+ public List <String > getMonitoring () {
460
+ return monitoring ;
461
+ }
462
+
463
+ public void setMonitoring (List <String > monitoring ) {
464
+ this .monitoring = monitoring ;
465
+ }
466
+
368
467
public CloudWorkloadSecurityAgentRuleAttributes name (String name ) {
369
468
this .name = name ;
370
469
return this ;
@@ -582,16 +681,19 @@ public boolean equals(Object o) {
582
681
return Objects .equals (this .actions , cloudWorkloadSecurityAgentRuleAttributes .actions )
583
682
&& Objects .equals (
584
683
this .agentConstraint , cloudWorkloadSecurityAgentRuleAttributes .agentConstraint )
684
+ && Objects .equals (this .blocking , cloudWorkloadSecurityAgentRuleAttributes .blocking )
585
685
&& Objects .equals (this .category , cloudWorkloadSecurityAgentRuleAttributes .category )
586
686
&& Objects .equals (
587
687
this .creationAuthorUuId , cloudWorkloadSecurityAgentRuleAttributes .creationAuthorUuId )
588
688
&& Objects .equals (this .creationDate , cloudWorkloadSecurityAgentRuleAttributes .creationDate )
589
689
&& Objects .equals (this .creator , cloudWorkloadSecurityAgentRuleAttributes .creator )
590
690
&& Objects .equals (this .defaultRule , cloudWorkloadSecurityAgentRuleAttributes .defaultRule )
591
691
&& Objects .equals (this .description , cloudWorkloadSecurityAgentRuleAttributes .description )
692
+ && Objects .equals (this .disabled , cloudWorkloadSecurityAgentRuleAttributes .disabled )
592
693
&& Objects .equals (this .enabled , cloudWorkloadSecurityAgentRuleAttributes .enabled )
593
694
&& Objects .equals (this .expression , cloudWorkloadSecurityAgentRuleAttributes .expression )
594
695
&& Objects .equals (this .filters , cloudWorkloadSecurityAgentRuleAttributes .filters )
696
+ && Objects .equals (this .monitoring , cloudWorkloadSecurityAgentRuleAttributes .monitoring )
595
697
&& Objects .equals (this .name , cloudWorkloadSecurityAgentRuleAttributes .name )
596
698
&& Objects .equals (this .productTags , cloudWorkloadSecurityAgentRuleAttributes .productTags )
597
699
&& Objects .equals (
@@ -610,15 +712,18 @@ public int hashCode() {
610
712
return Objects .hash (
611
713
actions ,
612
714
agentConstraint ,
715
+ blocking ,
613
716
category ,
614
717
creationAuthorUuId ,
615
718
creationDate ,
616
719
creator ,
617
720
defaultRule ,
618
721
description ,
722
+ disabled ,
619
723
enabled ,
620
724
expression ,
621
725
filters ,
726
+ monitoring ,
622
727
name ,
623
728
productTags ,
624
729
updateAuthorUuId ,
@@ -635,15 +740,18 @@ public String toString() {
635
740
sb .append ("class CloudWorkloadSecurityAgentRuleAttributes {\n " );
636
741
sb .append (" actions: " ).append (toIndentedString (actions )).append ("\n " );
637
742
sb .append (" agentConstraint: " ).append (toIndentedString (agentConstraint )).append ("\n " );
743
+ sb .append (" blocking: " ).append (toIndentedString (blocking )).append ("\n " );
638
744
sb .append (" category: " ).append (toIndentedString (category )).append ("\n " );
639
745
sb .append (" creationAuthorUuId: " ).append (toIndentedString (creationAuthorUuId )).append ("\n " );
640
746
sb .append (" creationDate: " ).append (toIndentedString (creationDate )).append ("\n " );
641
747
sb .append (" creator: " ).append (toIndentedString (creator )).append ("\n " );
642
748
sb .append (" defaultRule: " ).append (toIndentedString (defaultRule )).append ("\n " );
643
749
sb .append (" description: " ).append (toIndentedString (description )).append ("\n " );
750
+ sb .append (" disabled: " ).append (toIndentedString (disabled )).append ("\n " );
644
751
sb .append (" enabled: " ).append (toIndentedString (enabled )).append ("\n " );
645
752
sb .append (" expression: " ).append (toIndentedString (expression )).append ("\n " );
646
753
sb .append (" filters: " ).append (toIndentedString (filters )).append ("\n " );
754
+ sb .append (" monitoring: " ).append (toIndentedString (monitoring )).append ("\n " );
647
755
sb .append (" name: " ).append (toIndentedString (name )).append ("\n " );
648
756
sb .append (" productTags: " ).append (toIndentedString (productTags )).append ("\n " );
649
757
sb .append (" updateAuthorUuId: " ).append (toIndentedString (updateAuthorUuId )).append ("\n " );
0 commit comments