2323@ JsonPropertyOrder ({
2424 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_ACTIONS ,
2525 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_AGENT_CONSTRAINT ,
26+ CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_BLOCKING ,
2627 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_CATEGORY ,
2728 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_CREATION_AUTHOR_UU_ID ,
2829 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_CREATION_DATE ,
2930 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_CREATOR ,
3031 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_DEFAULT_RULE ,
3132 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_DESCRIPTION ,
33+ CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_DISABLED ,
3234 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_ENABLED ,
3335 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_EXPRESSION ,
3436 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_FILTERS ,
37+ CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_MONITORING ,
3538 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_NAME ,
3639 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_PRODUCT_TAGS ,
3740 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_UPDATE_AUTHOR_UU_ID ,
@@ -51,6 +54,9 @@ public class CloudWorkloadSecurityAgentRuleAttributes {
5154 public static final String JSON_PROPERTY_AGENT_CONSTRAINT = "agentConstraint" ;
5255 private String agentConstraint ;
5356
57+ public static final String JSON_PROPERTY_BLOCKING = "blocking" ;
58+ private List <String > blocking = null ;
59+
5460 public static final String JSON_PROPERTY_CATEGORY = "category" ;
5561 private String category ;
5662
@@ -69,6 +75,9 @@ public class CloudWorkloadSecurityAgentRuleAttributes {
6975 public static final String JSON_PROPERTY_DESCRIPTION = "description" ;
7076 private String description ;
7177
78+ public static final String JSON_PROPERTY_DISABLED = "disabled" ;
79+ private List <String > disabled = null ;
80+
7281 public static final String JSON_PROPERTY_ENABLED = "enabled" ;
7382 private Boolean enabled ;
7483
@@ -78,6 +87,9 @@ public class CloudWorkloadSecurityAgentRuleAttributes {
7887 public static final String JSON_PROPERTY_FILTERS = "filters" ;
7988 private List <String > filters = null ;
8089
90+ public static final String JSON_PROPERTY_MONITORING = "monitoring" ;
91+ private List <String > monitoring = null ;
92+
8193 public static final String JSON_PROPERTY_NAME = "name" ;
8294 private String name ;
8395
@@ -166,6 +178,35 @@ public void setAgentConstraint(String agentConstraint) {
166178 this .agentConstraint = agentConstraint ;
167179 }
168180
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+
169210 public CloudWorkloadSecurityAgentRuleAttributes category (String category ) {
170211 this .category = category ;
171212 return this ;
@@ -294,6 +335,35 @@ public void setDescription(String description) {
294335 this .description = description ;
295336 }
296337
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+
297367 public CloudWorkloadSecurityAgentRuleAttributes enabled (Boolean enabled ) {
298368 this .enabled = enabled ;
299369 return this ;
@@ -365,6 +435,35 @@ public void setFilters(List<String> filters) {
365435 this .filters = filters ;
366436 }
367437
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+
368467 public CloudWorkloadSecurityAgentRuleAttributes name (String name ) {
369468 this .name = name ;
370469 return this ;
@@ -582,16 +681,19 @@ public boolean equals(Object o) {
582681 return Objects .equals (this .actions , cloudWorkloadSecurityAgentRuleAttributes .actions )
583682 && Objects .equals (
584683 this .agentConstraint , cloudWorkloadSecurityAgentRuleAttributes .agentConstraint )
684+ && Objects .equals (this .blocking , cloudWorkloadSecurityAgentRuleAttributes .blocking )
585685 && Objects .equals (this .category , cloudWorkloadSecurityAgentRuleAttributes .category )
586686 && Objects .equals (
587687 this .creationAuthorUuId , cloudWorkloadSecurityAgentRuleAttributes .creationAuthorUuId )
588688 && Objects .equals (this .creationDate , cloudWorkloadSecurityAgentRuleAttributes .creationDate )
589689 && Objects .equals (this .creator , cloudWorkloadSecurityAgentRuleAttributes .creator )
590690 && Objects .equals (this .defaultRule , cloudWorkloadSecurityAgentRuleAttributes .defaultRule )
591691 && Objects .equals (this .description , cloudWorkloadSecurityAgentRuleAttributes .description )
692+ && Objects .equals (this .disabled , cloudWorkloadSecurityAgentRuleAttributes .disabled )
592693 && Objects .equals (this .enabled , cloudWorkloadSecurityAgentRuleAttributes .enabled )
593694 && Objects .equals (this .expression , cloudWorkloadSecurityAgentRuleAttributes .expression )
594695 && Objects .equals (this .filters , cloudWorkloadSecurityAgentRuleAttributes .filters )
696+ && Objects .equals (this .monitoring , cloudWorkloadSecurityAgentRuleAttributes .monitoring )
595697 && Objects .equals (this .name , cloudWorkloadSecurityAgentRuleAttributes .name )
596698 && Objects .equals (this .productTags , cloudWorkloadSecurityAgentRuleAttributes .productTags )
597699 && Objects .equals (
@@ -610,15 +712,18 @@ public int hashCode() {
610712 return Objects .hash (
611713 actions ,
612714 agentConstraint ,
715+ blocking ,
613716 category ,
614717 creationAuthorUuId ,
615718 creationDate ,
616719 creator ,
617720 defaultRule ,
618721 description ,
722+ disabled ,
619723 enabled ,
620724 expression ,
621725 filters ,
726+ monitoring ,
622727 name ,
623728 productTags ,
624729 updateAuthorUuId ,
@@ -635,15 +740,18 @@ public String toString() {
635740 sb .append ("class CloudWorkloadSecurityAgentRuleAttributes {\n " );
636741 sb .append (" actions: " ).append (toIndentedString (actions )).append ("\n " );
637742 sb .append (" agentConstraint: " ).append (toIndentedString (agentConstraint )).append ("\n " );
743+ sb .append (" blocking: " ).append (toIndentedString (blocking )).append ("\n " );
638744 sb .append (" category: " ).append (toIndentedString (category )).append ("\n " );
639745 sb .append (" creationAuthorUuId: " ).append (toIndentedString (creationAuthorUuId )).append ("\n " );
640746 sb .append (" creationDate: " ).append (toIndentedString (creationDate )).append ("\n " );
641747 sb .append (" creator: " ).append (toIndentedString (creator )).append ("\n " );
642748 sb .append (" defaultRule: " ).append (toIndentedString (defaultRule )).append ("\n " );
643749 sb .append (" description: " ).append (toIndentedString (description )).append ("\n " );
750+ sb .append (" disabled: " ).append (toIndentedString (disabled )).append ("\n " );
644751 sb .append (" enabled: " ).append (toIndentedString (enabled )).append ("\n " );
645752 sb .append (" expression: " ).append (toIndentedString (expression )).append ("\n " );
646753 sb .append (" filters: " ).append (toIndentedString (filters )).append ("\n " );
754+ sb .append (" monitoring: " ).append (toIndentedString (monitoring )).append ("\n " );
647755 sb .append (" name: " ).append (toIndentedString (name )).append ("\n " );
648756 sb .append (" productTags: " ).append (toIndentedString (productTags )).append ("\n " );
649757 sb .append (" updateAuthorUuId: " ).append (toIndentedString (updateAuthorUuId )).append ("\n " );
0 commit comments