Skip to content

Commit e3a0702

Browse files
committed
Generated java-async 2021-10-01 for waf-openapi.
1 parent 255eb4f commit e3a0702

32 files changed

+649
-176
lines changed

waf-openapi-20211001/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-02-26 Version: 5.0.4
2+
- Generated java-async 2021-10-01 for waf-openapi.
3+
14
2024-12-30 Version: 5.0.3
25
- Generated java-async 2021-10-01 for waf-openapi.
36

waf-openapi-20211001/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.aliyun</groupId>
55
<artifactId>alibabacloud-waf_openapi20211001</artifactId>
6-
<version>5.0.3</version>
6+
<version>5.0.4</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-waf_openapi20211001</name>
99
<description>Alibaba Cloud waf-openapi (20211001) Async SDK for Java

waf-openapi-20211001/src/main/java/com/aliyun/sdk/service/waf_openapi20211001/models/CreateDomainRequest.java

Lines changed: 46 additions & 46 deletions
Large diffs are not rendered by default.

waf-openapi-20211001/src/main/java/com/aliyun/sdk/service/waf_openapi20211001/models/CreateDomainResponseBody.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public static final class Builder {
5555
private String requestId;
5656

5757
/**
58-
* <p>The information about the domain name.</p>
58+
* <p>The information about the domain name that is added.</p>
5959
*/
6060
public Builder domainInfo(DomainInfo domainInfo) {
6161
this.domainInfo = domainInfo;
@@ -158,7 +158,10 @@ public Builder domain(String domain) {
158158
}
159159

160160
/**
161-
* DomainId.
161+
* <p>The name of the protected object that is generated.</p>
162+
*
163+
* <strong>example:</strong>
164+
* <p><a href="http://www.aliyundoc.com-waf">www.aliyundoc.com-waf</a></p>
162165
*/
163166
public Builder domainId(String domainId) {
164167
this.domainId = domainId;

waf-openapi-20211001/src/main/java/com/aliyun/sdk/service/waf_openapi20211001/models/CreateHybridCloudGroupRequest.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,9 @@ public Builder clusterId(Long clusterId) {
217217
/**
218218
* <p>The name of the node group.</p>
219219
* <p>This parameter is required.</p>
220+
*
221+
* <strong>example:</strong>
222+
* <p>demoGroupName</p>
220223
*/
221224
public Builder groupName(String groupName) {
222225
this.putQueryParameter("GroupName", groupName);
@@ -285,7 +288,7 @@ public Builder locationCode(String locationCode) {
285288
}
286289

287290
/**
288-
* <p>The region in which the WAF instance is deployed. Valid values:</p>
291+
* <p>The region ID of the WAF instance. Valid values:</p>
289292
* <ul>
290293
* <li><strong>cn-hangzhou</strong>: Chinese mainland.</li>
291294
* <li><strong>ap-southeast-1</strong>: outside the Chinese mainland.</li>
@@ -302,6 +305,9 @@ public Builder regionId(String regionId) {
302305

303306
/**
304307
* <p>The remarks.</p>
308+
*
309+
* <strong>example:</strong>
310+
* <p>demoRamark</p>
305311
*/
306312
public Builder remark(String remark) {
307313
this.putQueryParameter("Remark", remark);

waf-openapi-20211001/src/main/java/com/aliyun/sdk/service/waf_openapi20211001/models/DescribeApisecAbnormalsRequest.java

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ public Builder apiTag(String apiTag) {
398398
/**
399399
* <p>The ID of the hybrid cloud cluster.</p>
400400
* <blockquote>
401-
* <p>For hybrid cloud scenarios only, you can call the <a href="https://help.aliyun.com/document_detail/2849376.html">DescribeHybridCloudClusters</a> operation to query the hybrid cloud clusters.</p>
401+
* <p> This parameter is available only in hybrid cloud scenarios. You can call the <a href="https://help.aliyun.com/document_detail/2849376.html">DescribeHybridCloudClusters</a> operation to query hybrid cloud clusters.</p>
402402
* </blockquote>
403403
*
404404
* <strong>example:</strong>
@@ -423,7 +423,7 @@ public Builder endTime(String endTime) {
423423
}
424424

425425
/**
426-
* <p>The ID of the Web Application Firewall (WAF) instance.</p>
426+
* <p>The ID of the WAF instance.</p>
427427
* <blockquote>
428428
* <p> You can call the <a href="https://help.aliyun.com/document_detail/433756.html">DescribeInstance</a> operation to query the ID of the WAF instance.</p>
429429
* </blockquote>
@@ -523,12 +523,10 @@ public Builder pageSize(Long pageSize) {
523523
}
524524

525525
/**
526-
* <p>The region in which the Web Application Firewall (WAF) instance is deployed. Valid values:</p>
526+
* <p>The region ID of the WAF instance. Valid value:</p>
527527
* <ul>
528-
* <li><p><strong>cn-hangzhou</strong>: Chinese mainland</p>
529-
* </li>
530-
* <li><p><strong>ap-southeast-1</strong>: outside the Chinese mainland</p>
531-
* </li>
528+
* <li><strong>cn-hangzhou</strong>: Chinese mainland.</li>
529+
* <li><strong>ap-southeast-1</strong>: outside the Chinese mainland.</li>
532530
* </ul>
533531
*
534532
* <strong>example:</strong>

waf-openapi-20211001/src/main/java/com/aliyun/sdk/service/waf_openapi20211001/models/DescribeApisecAbnormalsResponseBody.java

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ public static class Data extends TeaModel {
154154
@com.aliyun.core.annotation.NameInMap("LastestTime")
155155
private Long lastestTime;
156156

157+
@com.aliyun.core.annotation.NameInMap("LatestDiscoverTime")
158+
private Long latestDiscoverTime;
159+
157160
@com.aliyun.core.annotation.NameInMap("MatchedHost")
158161
private String matchedHost;
159162

@@ -182,6 +185,7 @@ private Data(Builder builder) {
182185
this.follow = builder.follow;
183186
this.ignoreTime = builder.ignoreTime;
184187
this.lastestTime = builder.lastestTime;
188+
this.latestDiscoverTime = builder.latestDiscoverTime;
185189
this.matchedHost = builder.matchedHost;
186190
this.note = builder.note;
187191
this.origin = builder.origin;
@@ -301,6 +305,13 @@ public Long getLastestTime() {
301305
return this.lastestTime;
302306
}
303307

308+
/**
309+
* @return latestDiscoverTime
310+
*/
311+
public Long getLatestDiscoverTime() {
312+
return this.latestDiscoverTime;
313+
}
314+
304315
/**
305316
* @return matchedHost
306317
*/
@@ -345,6 +356,7 @@ public static final class Builder {
345356
private Long follow;
346357
private Long ignoreTime;
347358
private Long lastestTime;
359+
private Long latestDiscoverTime;
348360
private String matchedHost;
349361
private String note;
350362
private String origin;
@@ -533,6 +545,14 @@ public Builder lastestTime(Long lastestTime) {
533545
return this;
534546
}
535547

548+
/**
549+
* LatestDiscoverTime.
550+
*/
551+
public Builder latestDiscoverTime(Long latestDiscoverTime) {
552+
this.latestDiscoverTime = latestDiscoverTime;
553+
return this;
554+
}
555+
536556
/**
537557
* <p>The domain name or IP address of the API.</p>
538558
*

waf-openapi-20211001/src/main/java/com/aliyun/sdk/service/waf_openapi20211001/models/DescribeApisecApiResourcesResponseBody.java

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,9 @@ public static class Data extends TeaModel {
175175
@com.aliyun.core.annotation.NameInMap("Note")
176176
private String note;
177177

178+
@com.aliyun.core.annotation.NameInMap("Resources")
179+
private java.util.List<String> resources;
180+
178181
private Data(Builder builder) {
179182
this.abnormalNum = builder.abnormalNum;
180183
this.allCnt = builder.allCnt;
@@ -198,6 +201,7 @@ private Data(Builder builder) {
198201
this.lastestTs = builder.lastestTs;
199202
this.matchedHost = builder.matchedHost;
200203
this.note = builder.note;
204+
this.resources = builder.resources;
201205
}
202206

203207
public static Builder builder() {
@@ -362,6 +366,13 @@ public String getNote() {
362366
return this.note;
363367
}
364368

369+
/**
370+
* @return resources
371+
*/
372+
public java.util.List<String> getResources() {
373+
return this.resources;
374+
}
375+
365376
public static final class Builder {
366377
private Long abnormalNum;
367378
private Long allCnt;
@@ -385,6 +396,7 @@ public static final class Builder {
385396
private Long lastestTs;
386397
private String matchedHost;
387398
private String note;
399+
private java.util.List<String> resources;
388400

389401
/**
390402
* <p>The number of API-related risks.</p>
@@ -674,6 +686,14 @@ public Builder note(String note) {
674686
return this;
675687
}
676688

689+
/**
690+
* <p>The list of protection objects corresponding to this asset.</p>
691+
*/
692+
public Builder resources(java.util.List<String> resources) {
693+
this.resources = resources;
694+
return this;
695+
}
696+
677697
public Data build() {
678698
return new Data(this);
679699
}

waf-openapi-20211001/src/main/java/com/aliyun/sdk/service/waf_openapi20211001/models/DescribeApisecEventsResponseBody.java

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ public static class Data extends TeaModel {
133133
@com.aliyun.core.annotation.NameInMap("AttackIpInfo")
134134
private String attackIpInfo;
135135

136+
@com.aliyun.core.annotation.NameInMap("AttackIps")
137+
private java.util.List<String> attackIps;
138+
136139
@com.aliyun.core.annotation.NameInMap("EndTs")
137140
private Long endTs;
138141

@@ -187,6 +190,7 @@ private Data(Builder builder) {
187190
this.attackCntInfo = builder.attackCntInfo;
188191
this.attackIp = builder.attackIp;
189192
this.attackIpInfo = builder.attackIpInfo;
193+
this.attackIps = builder.attackIps;
190194
this.endTs = builder.endTs;
191195
this.eventId = builder.eventId;
192196
this.eventInfo = builder.eventInfo;
@@ -268,6 +272,13 @@ public String getAttackIpInfo() {
268272
return this.attackIpInfo;
269273
}
270274

275+
/**
276+
* @return attackIps
277+
*/
278+
public java.util.List<String> getAttackIps() {
279+
return this.attackIps;
280+
}
281+
271282
/**
272283
* @return endTs
273284
*/
@@ -382,6 +393,7 @@ public static final class Builder {
382393
private String attackCntInfo;
383394
private String attackIp;
384395
private String attackIpInfo;
396+
private java.util.List<String> attackIps;
385397
private Long endTs;
386398
private String eventId;
387399
private String eventInfo;
@@ -400,6 +412,9 @@ public static final class Builder {
400412

401413
/**
402414
* <p>The number of attacks.</p>
415+
* <blockquote>
416+
* <p>Notice: The parameter has been deprecated, please use the Attackips parameter.</p>
417+
* </blockquote>
403418
*
404419
* <strong>example:</strong>
405420
* <p>10</p>
@@ -495,6 +510,14 @@ public Builder attackIpInfo(String attackIpInfo) {
495510
return this;
496511
}
497512

513+
/**
514+
* <p>The source IP addresses of the attacks.</p>
515+
*/
516+
public Builder attackIps(java.util.List<String> attackIps) {
517+
this.attackIps = attackIps;
518+
return this;
519+
}
520+
498521
/**
499522
* <p>The end of the time range to query. This value is a UNIX timestamp in UTC. Unit: seconds.</p>
500523
*

waf-openapi-20211001/src/main/java/com/aliyun/sdk/service/waf_openapi20211001/models/DescribeApisecStatisticsResponseBody.java

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ public DescribeApisecStatisticsResponseBody build() {
8686
* <p>DescribeApisecStatisticsResponseBody</p>
8787
*/
8888
public static class Data extends TeaModel {
89+
@com.aliyun.core.annotation.NameInMap("Actioned")
90+
private Long actioned;
91+
8992
@com.aliyun.core.annotation.NameInMap("Api")
9093
private Long api;
9194

@@ -132,6 +135,7 @@ public static class Data extends TeaModel {
132135
private Long total;
133136

134137
private Data(Builder builder) {
138+
this.actioned = builder.actioned;
135139
this.api = builder.api;
136140
this.confirmed = builder.confirmed;
137141
this.domain = builder.domain;
@@ -157,6 +161,13 @@ public static Data create() {
157161
return builder().build();
158162
}
159163

164+
/**
165+
* @return actioned
166+
*/
167+
public Long getActioned() {
168+
return this.actioned;
169+
}
170+
160171
/**
161172
* @return api
162173
*/
@@ -263,6 +274,7 @@ public Long getTotal() {
263274
}
264275

265276
public static final class Builder {
277+
private Long actioned;
266278
private Long api;
267279
private Long confirmed;
268280
private Long domain;
@@ -279,6 +291,17 @@ public static final class Builder {
279291
private String todayTotal;
280292
private Long total;
281293

294+
/**
295+
* <p>The number of handled events.</p>
296+
*
297+
* <strong>example:</strong>
298+
* <p>1</p>
299+
*/
300+
public Builder actioned(Long actioned) {
301+
this.actioned = actioned;
302+
return this;
303+
}
304+
282305
/**
283306
* <p>The number of APIs.</p>
284307
*

0 commit comments

Comments
 (0)