@@ -40,21 +40,31 @@ public class CreateAggregateCompliancePackRequest extends RpcAcsRequest<CreateAg
40
40
41
41
private String aggregatorId ;
42
42
43
+ private String excludeResourceGroupIdsScope ;
44
+
43
45
private String tagValueScope ;
44
46
45
47
private String regionIdsScope ;
46
48
49
+ private String resourceIdsScope ;
50
+
47
51
private Boolean defaultEnable ;
48
52
49
53
@ SerializedName ("configRules" )
50
54
private List <ConfigRules > configRules ;
51
55
56
+ private List <ExcludeTagsScope > excludeTagsScope ;
57
+
52
58
private Integer riskLevel ;
53
59
60
+ private List <TagsScope > tagsScope ;
61
+
54
62
private String templateContent ;
55
63
56
64
private String resourceGroupIdsScope ;
57
65
66
+ private String excludeRegionIdsScope ;
67
+
58
68
private String excludeResourceIdsScope ;
59
69
public CreateAggregateCompliancePackRequest () {
60
70
super ("Config" , "2020-09-07" , "CreateAggregateCompliancePack" , "config" );
@@ -131,6 +141,17 @@ public void setAggregatorId(String aggregatorId) {
131
141
}
132
142
}
133
143
144
+ public String getExcludeResourceGroupIdsScope () {
145
+ return this .excludeResourceGroupIdsScope ;
146
+ }
147
+
148
+ public void setExcludeResourceGroupIdsScope (String excludeResourceGroupIdsScope ) {
149
+ this .excludeResourceGroupIdsScope = excludeResourceGroupIdsScope ;
150
+ if (excludeResourceGroupIdsScope != null ){
151
+ putBodyParameter ("ExcludeResourceGroupIdsScope" , excludeResourceGroupIdsScope );
152
+ }
153
+ }
154
+
134
155
public String getTagValueScope () {
135
156
return this .tagValueScope ;
136
157
}
@@ -153,6 +174,17 @@ public void setRegionIdsScope(String regionIdsScope) {
153
174
}
154
175
}
155
176
177
+ public String getResourceIdsScope () {
178
+ return this .resourceIdsScope ;
179
+ }
180
+
181
+ public void setResourceIdsScope (String resourceIdsScope ) {
182
+ this .resourceIdsScope = resourceIdsScope ;
183
+ if (resourceIdsScope != null ){
184
+ putBodyParameter ("ResourceIdsScope" , resourceIdsScope );
185
+ }
186
+ }
187
+
156
188
public Boolean getDefaultEnable () {
157
189
return this .defaultEnable ;
158
190
}
@@ -175,6 +207,23 @@ public void setConfigRules(List<ConfigRules> configRules) {
175
207
}
176
208
}
177
209
210
+ public List <ExcludeTagsScope > getExcludeTagsScope () {
211
+ return this .excludeTagsScope ;
212
+ }
213
+
214
+ public void setExcludeTagsScope (List <ExcludeTagsScope > excludeTagsScope ) {
215
+ this .excludeTagsScope = excludeTagsScope ;
216
+ if (excludeTagsScope != null ) {
217
+ for (int depth1 = 0 ; depth1 < excludeTagsScope .size (); depth1 ++) {
218
+ if (excludeTagsScope .get (depth1 ) != null ) {
219
+
220
+ putBodyParameter ("ExcludeTagsScope." + (depth1 + 1 ) + ".TagValue" , excludeTagsScope .get (depth1 ).getTagValue ());
221
+ putBodyParameter ("ExcludeTagsScope." + (depth1 + 1 ) + ".TagKey" , excludeTagsScope .get (depth1 ).getTagKey ());
222
+ }
223
+ }
224
+ }
225
+ }
226
+
178
227
public Integer getRiskLevel () {
179
228
return this .riskLevel ;
180
229
}
@@ -186,6 +235,23 @@ public void setRiskLevel(Integer riskLevel) {
186
235
}
187
236
}
188
237
238
+ public List <TagsScope > getTagsScope () {
239
+ return this .tagsScope ;
240
+ }
241
+
242
+ public void setTagsScope (List <TagsScope > tagsScope ) {
243
+ this .tagsScope = tagsScope ;
244
+ if (tagsScope != null ) {
245
+ for (int depth1 = 0 ; depth1 < tagsScope .size (); depth1 ++) {
246
+ if (tagsScope .get (depth1 ) != null ) {
247
+
248
+ putBodyParameter ("TagsScope." + (depth1 + 1 ) + ".TagValue" , tagsScope .get (depth1 ).getTagValue ());
249
+ putBodyParameter ("TagsScope." + (depth1 + 1 ) + ".TagKey" , tagsScope .get (depth1 ).getTagKey ());
250
+ }
251
+ }
252
+ }
253
+ }
254
+
189
255
public String getTemplateContent () {
190
256
return this .templateContent ;
191
257
}
@@ -208,6 +274,17 @@ public void setResourceGroupIdsScope(String resourceGroupIdsScope) {
208
274
}
209
275
}
210
276
277
+ public String getExcludeRegionIdsScope () {
278
+ return this .excludeRegionIdsScope ;
279
+ }
280
+
281
+ public void setExcludeRegionIdsScope (String excludeRegionIdsScope ) {
282
+ this .excludeRegionIdsScope = excludeRegionIdsScope ;
283
+ if (excludeRegionIdsScope != null ){
284
+ putBodyParameter ("ExcludeRegionIdsScope" , excludeRegionIdsScope );
285
+ }
286
+ }
287
+
211
288
public String getExcludeResourceIdsScope () {
212
289
return this .excludeResourceIdsScope ;
213
290
}
@@ -311,6 +388,52 @@ public void setParameterName(String parameterName) {
311
388
this .parameterName = parameterName ;
312
389
}
313
390
}
391
+ }
392
+
393
+ public static class ExcludeTagsScope {
394
+
395
+ private String tagValue ;
396
+
397
+ private String tagKey ;
398
+
399
+ public String getTagValue () {
400
+ return this .tagValue ;
401
+ }
402
+
403
+ public void setTagValue (String tagValue ) {
404
+ this .tagValue = tagValue ;
405
+ }
406
+
407
+ public String getTagKey () {
408
+ return this .tagKey ;
409
+ }
410
+
411
+ public void setTagKey (String tagKey ) {
412
+ this .tagKey = tagKey ;
413
+ }
414
+ }
415
+
416
+ public static class TagsScope {
417
+
418
+ private String tagValue ;
419
+
420
+ private String tagKey ;
421
+
422
+ public String getTagValue () {
423
+ return this .tagValue ;
424
+ }
425
+
426
+ public void setTagValue (String tagValue ) {
427
+ this .tagValue = tagValue ;
428
+ }
429
+
430
+ public String getTagKey () {
431
+ return this .tagKey ;
432
+ }
433
+
434
+ public void setTagKey (String tagKey ) {
435
+ this .tagKey = tagKey ;
436
+ }
314
437
}
315
438
316
439
@ Override
0 commit comments