Skip to content

Commit 44f2097

Browse files
committed
Generated java-async 2024-09-10 for ESA.
1 parent a72bf73 commit 44f2097

File tree

9 files changed

+110
-23
lines changed

9 files changed

+110
-23
lines changed

esa-20240910/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-06-16 Version: 2.1.31
2+
- Generated java-async 2024-09-10 for ESA.
3+
14
2025-06-10 Version: 2.1.30
25
- Generated java-async 2024-09-10 for ESA.
36

esa-20240910/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-esa20240910</artifactId>
6-
<version>2.1.30</version>
6+
<version>2.1.31</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-esa20240910</name>
99
<description>Alibaba Cloud ESA (20240910) Async SDK for Java

esa-20240910/src/main/java/com/aliyun/sdk/service/esa20240910/AsyncClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ static AsyncClient create() {
199199

200200
/**
201201
* <b>description</b> :
202-
* <p>Through this API, users can configure load balancing services according to their business needs, including but not limited to adaptive routing, weighted round-robin, rule matching, health checks, and other settings, to achieve effective traffic management and optimization.</p>
202+
* <p>Through this API, users can configure load balancing services according to their business needs, including but not limited to adaptive routing, weighted round-robin, rule matching, health checks, and more, to achieve effective traffic management and optimization.</p>
203203
*
204204
* @param request the request parameters of CreateLoadBalancer CreateLoadBalancerRequest
205205
* @return CreateLoadBalancerResponse

esa-20240910/src/main/java/com/aliyun/sdk/service/esa20240910/DefaultAsyncClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ public CompletableFuture<CreateListResponse> createList(CreateListRequest reques
567567

568568
/**
569569
* <b>description</b> :
570-
* <p>Through this API, users can configure load balancing services according to their business needs, including but not limited to adaptive routing, weighted round-robin, rule matching, health checks, and other settings, to achieve effective traffic management and optimization.</p>
570+
* <p>Through this API, users can configure load balancing services according to their business needs, including but not limited to adaptive routing, weighted round-robin, rule matching, health checks, and more, to achieve effective traffic management and optimization.</p>
571571
*
572572
* @param request the request parameters of CreateLoadBalancer CreateLoadBalancerRequest
573573
* @return CreateLoadBalancerResponse

esa-20240910/src/main/java/com/aliyun/sdk/service/esa20240910/models/CreateLoadBalancerRequest.java

Lines changed: 31 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ public Builder defaultPools(java.util.List<Long> defaultPools) {
291291
* <p>Detailed description of the load balancer, for easier management and identification.</p>
292292
*
293293
* <strong>example:</strong>
294-
* <p>测试负载均衡器描述</p>
294+
* <p>Load balancer description</p>
295295
*/
296296
public Builder description(String description) {
297297
this.putQueryParameter("Description", description);
@@ -442,7 +442,7 @@ public Builder siteId(Long siteId) {
442442
/**
443443
* <p>Load balancing strategy.</p>
444444
* <ul>
445-
* <li>geo: Geographic strategy.</li>
445+
* <li>geo: Geographical strategy.</li>
446446
* <li>random: Weighted round-robin.</li>
447447
* <li>order: Primary and backup method.</li>
448448
* </ul>
@@ -458,7 +458,7 @@ public Builder steeringPolicy(String steeringPolicy) {
458458
}
459459

460460
/**
461-
* <p>Address pools corresponding to secondary regions. When multiple secondary regions share a set of address pools, the keys can be concatenated with commas.</p>
461+
* <p>Address pools corresponding to secondary regions. When multiple secondary regions share the same set of address pools, the keys can be concatenated with commas.</p>
462462
*
463463
* <strong>example:</strong>
464464
* <p>{&quot;AL,MO&quot;: [92298024898****],&quot;CN-SH,CN-SX,CN-SC&quot;:[92304347804****,92843536908****]}</p>
@@ -577,6 +577,9 @@ public static class Monitor extends TeaModel {
577577
@com.aliyun.core.annotation.NameInMap("Method")
578578
private String method;
579579

580+
@com.aliyun.core.annotation.NameInMap("MonitoringRegion")
581+
private String monitoringRegion;
582+
580583
@com.aliyun.core.annotation.NameInMap("Path")
581584
private String path;
582585

@@ -597,6 +600,7 @@ private Monitor(Builder builder) {
597600
this.header = builder.header;
598601
this.interval = builder.interval;
599602
this.method = builder.method;
603+
this.monitoringRegion = builder.monitoringRegion;
600604
this.path = builder.path;
601605
this.port = builder.port;
602606
this.timeout = builder.timeout;
@@ -660,6 +664,13 @@ public String getMethod() {
660664
return this.method;
661665
}
662666

667+
/**
668+
* @return monitoringRegion
669+
*/
670+
public String getMonitoringRegion() {
671+
return this.monitoringRegion;
672+
}
673+
663674
/**
664675
* @return path
665676
*/
@@ -696,6 +707,7 @@ public static final class Builder {
696707
private Object header;
697708
private Integer interval;
698709
private String method;
710+
private String monitoringRegion;
699711
private String path;
700712
private Integer port;
701713
private Integer timeout;
@@ -712,6 +724,7 @@ private Builder(Monitor model) {
712724
this.header = model.header;
713725
this.interval = model.interval;
714726
this.method = model.method;
727+
this.monitoringRegion = model.monitoringRegion;
715728
this.path = model.path;
716729
this.port = model.port;
717730
this.timeout = model.timeout;
@@ -741,7 +754,7 @@ public Builder consecutiveUp(Integer consecutiveUp) {
741754
}
742755

743756
/**
744-
* <p>Expected status codes, such as <code>200,202</code>, indicating successful HTTP responses.</p>
757+
* <p>Expected status codes, such as <code>200,202</code>, which are successful HTTP responses.</p>
745758
*
746759
* <strong>example:</strong>
747760
* <p>200</p>
@@ -767,7 +780,7 @@ public Builder followRedirects(Boolean followRedirects) {
767780
}
768781

769782
/**
770-
* <p>Header information included in the probe, which is the HTTP header.</p>
783+
* <p>Header information included in the probe, which is an HTTP header.</p>
771784
*
772785
* <strong>example:</strong>
773786
* <p>{
@@ -783,7 +796,7 @@ public Builder header(Object header) {
783796
}
784797

785798
/**
786-
* <p>Monitoring interval, such as <code>60</code> seconds, representing the frequency of checks.</p>
799+
* <p>Monitoring interval, such as <code>60</code> seconds, which is the frequency of checks.</p>
787800
*
788801
* <strong>example:</strong>
789802
* <p>60</p>
@@ -805,7 +818,15 @@ public Builder method(String method) {
805818
}
806819

807820
/**
808-
* <p>Monitor check path, such as <code>/healthcheck</code>, which is the HTTP request path.</p>
821+
* MonitoringRegion.
822+
*/
823+
public Builder monitoringRegion(String monitoringRegion) {
824+
this.monitoringRegion = monitoringRegion;
825+
return this;
826+
}
827+
828+
/**
829+
* <p>Monitor check path, such as <code>/healthcheck</code>, which is an HTTP request path.</p>
809830
*
810831
* <strong>example:</strong>
811832
* <p>/health</p>
@@ -917,7 +938,7 @@ private Builder(RandomSteering model) {
917938
}
918939

919940
/**
920-
* <p>Default weight for round-robin, used for all pools that do not have a specific weight set. The value range is an integer between 0 and 100.</p>
941+
* <p>Default weight for all pools that do not have individual weights specified. The value range is an integer between 0 and 100.</p>
921942
*
922943
* <strong>example:</strong>
923944
* <p>50</p>
@@ -1282,7 +1303,7 @@ public Builder ruleEnable(String ruleEnable) {
12821303
}
12831304

12841305
/**
1285-
* <p>Rule name. This parameter does not need to be set when adding global configurations.</p>
1306+
* <p>The name of the rule. This parameter does not need to be set when adding global configurations.</p>
12861307
*
12871308
* <strong>example:</strong>
12881309
* <p>rule_1</p>
@@ -1293,7 +1314,7 @@ public Builder ruleName(String ruleName) {
12931314
}
12941315

12951316
/**
1296-
* <p>The execution order of the rule. It can be left blank, in which case the rules will be executed in the order they appear in the list. If specified, it should be an integer greater than 0, with higher values indicating a higher priority for execution.</p>
1317+
* <p>The execution order of the rule. It can be left blank, in which case the rules will be executed in the order they appear in the list. If specified, it must be a positive integer, with higher values indicating higher priority.</p>
12971318
*
12981319
* <strong>example:</strong>
12991320
* <p>1</p>

esa-20240910/src/main/java/com/aliyun/sdk/service/esa20240910/models/GetLoadBalancerResponseBody.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,9 @@ public static class Monitor extends TeaModel {
569569
@com.aliyun.core.annotation.NameInMap("Method")
570570
private String method;
571571

572+
@com.aliyun.core.annotation.NameInMap("MonitoringRegion")
573+
private String monitoringRegion;
574+
572575
@com.aliyun.core.annotation.NameInMap("Path")
573576
private String path;
574577

@@ -589,6 +592,7 @@ private Monitor(Builder builder) {
589592
this.header = builder.header;
590593
this.interval = builder.interval;
591594
this.method = builder.method;
595+
this.monitoringRegion = builder.monitoringRegion;
592596
this.path = builder.path;
593597
this.port = builder.port;
594598
this.timeout = builder.timeout;
@@ -652,6 +656,13 @@ public String getMethod() {
652656
return this.method;
653657
}
654658

659+
/**
660+
* @return monitoringRegion
661+
*/
662+
public String getMonitoringRegion() {
663+
return this.monitoringRegion;
664+
}
665+
655666
/**
656667
* @return path
657668
*/
@@ -688,6 +699,7 @@ public static final class Builder {
688699
private Object header;
689700
private Integer interval;
690701
private String method;
702+
private String monitoringRegion;
691703
private String path;
692704
private Integer port;
693705
private Integer timeout;
@@ -704,6 +716,7 @@ private Builder(Monitor model) {
704716
this.header = model.header;
705717
this.interval = model.interval;
706718
this.method = model.method;
719+
this.monitoringRegion = model.monitoringRegion;
707720
this.path = model.path;
708721
this.port = model.port;
709722
this.timeout = model.timeout;
@@ -796,6 +809,14 @@ public Builder method(String method) {
796809
return this;
797810
}
798811

812+
/**
813+
* MonitoringRegion.
814+
*/
815+
public Builder monitoringRegion(String monitoringRegion) {
816+
this.monitoringRegion = monitoringRegion;
817+
return this;
818+
}
819+
799820
/**
800821
* <p>Path.</p>
801822
*

esa-20240910/src/main/java/com/aliyun/sdk/service/esa20240910/models/ListLoadBalancersResponseBody.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,9 @@ public static class Monitor extends TeaModel {
276276
@com.aliyun.core.annotation.NameInMap("Method")
277277
private String method;
278278

279+
@com.aliyun.core.annotation.NameInMap("MonitoringRegion")
280+
private String monitoringRegion;
281+
279282
@com.aliyun.core.annotation.NameInMap("Path")
280283
private String path;
281284

@@ -296,6 +299,7 @@ private Monitor(Builder builder) {
296299
this.header = builder.header;
297300
this.interval = builder.interval;
298301
this.method = builder.method;
302+
this.monitoringRegion = builder.monitoringRegion;
299303
this.path = builder.path;
300304
this.port = builder.port;
301305
this.timeout = builder.timeout;
@@ -359,6 +363,13 @@ public String getMethod() {
359363
return this.method;
360364
}
361365

366+
/**
367+
* @return monitoringRegion
368+
*/
369+
public String getMonitoringRegion() {
370+
return this.monitoringRegion;
371+
}
372+
362373
/**
363374
* @return path
364375
*/
@@ -395,6 +406,7 @@ public static final class Builder {
395406
private Object header;
396407
private Integer interval;
397408
private String method;
409+
private String monitoringRegion;
398410
private String path;
399411
private Integer port;
400412
private Integer timeout;
@@ -411,6 +423,7 @@ private Builder(Monitor model) {
411423
this.header = model.header;
412424
this.interval = model.interval;
413425
this.method = model.method;
426+
this.monitoringRegion = model.monitoringRegion;
414427
this.path = model.path;
415428
this.port = model.port;
416429
this.timeout = model.timeout;
@@ -503,6 +516,14 @@ public Builder method(String method) {
503516
return this;
504517
}
505518

519+
/**
520+
* MonitoringRegion.
521+
*/
522+
public Builder monitoringRegion(String monitoringRegion) {
523+
this.monitoringRegion = monitoringRegion;
524+
return this;
525+
}
526+
506527
/**
507528
* <p>The path.</p>
508529
*

esa-20240910/src/main/java/com/aliyun/sdk/service/esa20240910/models/ListWafManagedRulesResponseBody.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ public Builder id(Long id) {
280280
* <p>Name of the managed rule.</p>
281281
*
282282
* <strong>example:</strong>
283-
* <p>SQL注入</p>
283+
* <p>SQL injection</p>
284284
*/
285285
public Builder name(String name) {
286286
this.name = name;

0 commit comments

Comments
 (0)