Skip to content

Commit 9667c6a

Browse files
committed
Generated java-async 2015-12-15 for CS.
1 parent 8d90cd5 commit 9667c6a

File tree

5 files changed

+233
-1
lines changed

5 files changed

+233
-1
lines changed

cs-20151215/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-06-10 Version: 2.0.47
2+
- Generated java-async 2015-12-15 for CS.
3+
14
2025-06-09 Version: 2.0.46
25
- Generated java-async 2015-12-15 for CS.
36

cs-20151215/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-cs20151215</artifactId>
6-
<version>2.0.46</version>
6+
<version>2.0.47</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-cs20151215</name>
99
<description>Alibaba Cloud CS (20151215) Async SDK for Java

cs-20151215/src/main/java/com/aliyun/sdk/service/cs20151215/models/CreateClusterNodePoolRequest.java

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ public class CreateClusterNodePoolRequest extends Request {
2222
@com.aliyun.core.annotation.Validation(required = true)
2323
private String clusterId;
2424

25+
@com.aliyun.core.annotation.Body
26+
@com.aliyun.core.annotation.NameInMap("auto_mode")
27+
private AutoMode autoMode;
28+
2529
@com.aliyun.core.annotation.Body
2630
@com.aliyun.core.annotation.NameInMap("auto_scaling")
2731
private AutoScaling autoScaling;
@@ -84,6 +88,7 @@ public class CreateClusterNodePoolRequest extends Request {
8488
private CreateClusterNodePoolRequest(Builder builder) {
8589
super(builder);
8690
this.clusterId = builder.clusterId;
91+
this.autoMode = builder.autoMode;
8792
this.autoScaling = builder.autoScaling;
8893
this.count = builder.count;
8994
this.efloNodeGroup = builder.efloNodeGroup;
@@ -120,6 +125,13 @@ public String getClusterId() {
120125
return this.clusterId;
121126
}
122127

128+
/**
129+
* @return autoMode
130+
*/
131+
public AutoMode getAutoMode() {
132+
return this.autoMode;
133+
}
134+
123135
/**
124136
* @return autoScaling
125137
*/
@@ -220,6 +232,7 @@ public TeeConfig getTeeConfig() {
220232

221233
public static final class Builder extends Request.Builder<CreateClusterNodePoolRequest, Builder> {
222234
private String clusterId;
235+
private AutoMode autoMode;
223236
private AutoScaling autoScaling;
224237
private Long count;
225238
private EfloNodeGroup efloNodeGroup;
@@ -242,6 +255,7 @@ private Builder() {
242255
private Builder(CreateClusterNodePoolRequest request) {
243256
super(request);
244257
this.clusterId = request.clusterId;
258+
this.autoMode = request.autoMode;
245259
this.autoScaling = request.autoScaling;
246260
this.count = request.count;
247261
this.efloNodeGroup = request.efloNodeGroup;
@@ -271,6 +285,15 @@ public Builder clusterId(String clusterId) {
271285
return this;
272286
}
273287

288+
/**
289+
* auto_mode.
290+
*/
291+
public Builder autoMode(AutoMode autoMode) {
292+
this.putBodyParameter("auto_mode", autoMode);
293+
this.autoMode = autoMode;
294+
return this;
295+
}
296+
274297
/**
275298
* <p>The configurations of auto scaling.</p>
276299
*/
@@ -434,6 +457,60 @@ public CreateClusterNodePoolRequest build() {
434457

435458
}
436459

460+
/**
461+
*
462+
* {@link CreateClusterNodePoolRequest} extends {@link TeaModel}
463+
*
464+
* <p>CreateClusterNodePoolRequest</p>
465+
*/
466+
public static class AutoMode extends TeaModel {
467+
@com.aliyun.core.annotation.NameInMap("enable")
468+
private Boolean enable;
469+
470+
private AutoMode(Builder builder) {
471+
this.enable = builder.enable;
472+
}
473+
474+
public static Builder builder() {
475+
return new Builder();
476+
}
477+
478+
public static AutoMode create() {
479+
return builder().build();
480+
}
481+
482+
/**
483+
* @return enable
484+
*/
485+
public Boolean getEnable() {
486+
return this.enable;
487+
}
488+
489+
public static final class Builder {
490+
private Boolean enable;
491+
492+
private Builder() {
493+
}
494+
495+
private Builder(AutoMode model) {
496+
this.enable = model.enable;
497+
}
498+
499+
/**
500+
* enable.
501+
*/
502+
public Builder enable(Boolean enable) {
503+
this.enable = enable;
504+
return this;
505+
}
506+
507+
public AutoMode build() {
508+
return new AutoMode(this);
509+
}
510+
511+
}
512+
513+
}
437514
/**
438515
*
439516
* {@link CreateClusterNodePoolRequest} extends {@link TeaModel}

cs-20151215/src/main/java/com/aliyun/sdk/service/cs20151215/models/CreateClusterRequest.java

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ public class CreateClusterRequest extends Request {
3333
@com.aliyun.core.annotation.NameInMap("audit_log_config")
3434
private AuditLogConfig auditLogConfig;
3535

36+
@com.aliyun.core.annotation.Body
37+
@com.aliyun.core.annotation.NameInMap("auto_mode")
38+
private AutoMode autoMode;
39+
3640
@com.aliyun.core.annotation.Body
3741
@com.aliyun.core.annotation.NameInMap("auto_renew")
3842
@Deprecated
@@ -474,6 +478,7 @@ private CreateClusterRequest(Builder builder) {
474478
this.addons = builder.addons;
475479
this.apiAudiences = builder.apiAudiences;
476480
this.auditLogConfig = builder.auditLogConfig;
481+
this.autoMode = builder.autoMode;
477482
this.autoRenew = builder.autoRenew;
478483
this.autoRenewPeriod = builder.autoRenewPeriod;
479484
this.chargeType = builder.chargeType;
@@ -612,6 +617,13 @@ public AuditLogConfig getAuditLogConfig() {
612617
return this.auditLogConfig;
613618
}
614619

620+
/**
621+
* @return autoMode
622+
*/
623+
public AutoMode getAutoMode() {
624+
return this.autoMode;
625+
}
626+
615627
/**
616628
* @return autoRenew
617629
*/
@@ -1282,6 +1294,7 @@ public static final class Builder extends Request.Builder<CreateClusterRequest,
12821294
private java.util.List<Addon> addons;
12831295
private String apiAudiences;
12841296
private AuditLogConfig auditLogConfig;
1297+
private AutoMode autoMode;
12851298
private Boolean autoRenew;
12861299
private Long autoRenewPeriod;
12871300
private String chargeType;
@@ -1388,6 +1401,7 @@ private Builder(CreateClusterRequest request) {
13881401
this.addons = request.addons;
13891402
this.apiAudiences = request.apiAudiences;
13901403
this.auditLogConfig = request.auditLogConfig;
1404+
this.autoMode = request.autoMode;
13911405
this.autoRenew = request.autoRenew;
13921406
this.autoRenewPeriod = request.autoRenewPeriod;
13931407
this.chargeType = request.chargeType;
@@ -1545,6 +1559,15 @@ public Builder auditLogConfig(AuditLogConfig auditLogConfig) {
15451559
return this;
15461560
}
15471561

1562+
/**
1563+
* auto_mode.
1564+
*/
1565+
public Builder autoMode(AutoMode autoMode) {
1566+
this.putBodyParameter("auto_mode", autoMode);
1567+
this.autoMode = autoMode;
1568+
return this;
1569+
}
1570+
15481571
/**
15491572
* <p>[<strong>Deprecated</strong>]</p>
15501573
* <p>Specifies whether to enable auto-renewal. This parameter takes effect only when <code>charge_type</code> is set to <code>PrePaid</code>. Valid values:</p>
@@ -3014,6 +3037,60 @@ public AuditLogConfig build() {
30143037

30153038
}
30163039

3040+
}
3041+
/**
3042+
*
3043+
* {@link CreateClusterRequest} extends {@link TeaModel}
3044+
*
3045+
* <p>CreateClusterRequest</p>
3046+
*/
3047+
public static class AutoMode extends TeaModel {
3048+
@com.aliyun.core.annotation.NameInMap("enable")
3049+
private Boolean enable;
3050+
3051+
private AutoMode(Builder builder) {
3052+
this.enable = builder.enable;
3053+
}
3054+
3055+
public static Builder builder() {
3056+
return new Builder();
3057+
}
3058+
3059+
public static AutoMode create() {
3060+
return builder().build();
3061+
}
3062+
3063+
/**
3064+
* @return enable
3065+
*/
3066+
public Boolean getEnable() {
3067+
return this.enable;
3068+
}
3069+
3070+
public static final class Builder {
3071+
private Boolean enable;
3072+
3073+
private Builder() {
3074+
}
3075+
3076+
private Builder(AutoMode model) {
3077+
this.enable = model.enable;
3078+
}
3079+
3080+
/**
3081+
* enable.
3082+
*/
3083+
public Builder enable(Boolean enable) {
3084+
this.enable = enable;
3085+
return this;
3086+
}
3087+
3088+
public AutoMode build() {
3089+
return new AutoMode(this);
3090+
}
3091+
3092+
}
3093+
30173094
}
30183095
/**
30193096
*

cs-20151215/src/main/java/com/aliyun/sdk/service/cs20151215/models/DescribeClusterDetailResponseBody.java

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
* <p>DescribeClusterDetailResponseBody</p>
1818
*/
1919
public class DescribeClusterDetailResponseBody extends TeaModel {
20+
@com.aliyun.core.annotation.NameInMap("auto_mode")
21+
private AutoMode autoMode;
22+
2023
@com.aliyun.core.annotation.NameInMap("cluster_domain")
2124
private String clusterDomain;
2225

@@ -141,6 +144,7 @@ public class DescribeClusterDetailResponseBody extends TeaModel {
141144
private String zoneId;
142145

143146
private DescribeClusterDetailResponseBody(Builder builder) {
147+
this.autoMode = builder.autoMode;
144148
this.clusterDomain = builder.clusterDomain;
145149
this.clusterId = builder.clusterId;
146150
this.clusterSpec = builder.clusterSpec;
@@ -195,6 +199,13 @@ public Builder toBuilder() {
195199
return new Builder(this);
196200
}
197201

202+
/**
203+
* @return autoMode
204+
*/
205+
public AutoMode getAutoMode() {
206+
return this.autoMode;
207+
}
208+
198209
/**
199210
* @return clusterDomain
200211
*/
@@ -476,6 +487,7 @@ public String getZoneId() {
476487
}
477488

478489
public static final class Builder {
490+
private AutoMode autoMode;
479491
private String clusterDomain;
480492
private String clusterId;
481493
private String clusterSpec;
@@ -521,6 +533,7 @@ private Builder() {
521533
}
522534

523535
private Builder(DescribeClusterDetailResponseBody model) {
536+
this.autoMode = model.autoMode;
524537
this.clusterDomain = model.clusterDomain;
525538
this.clusterId = model.clusterId;
526539
this.clusterSpec = model.clusterSpec;
@@ -563,6 +576,14 @@ private Builder(DescribeClusterDetailResponseBody model) {
563576
this.zoneId = model.zoneId;
564577
}
565578

579+
/**
580+
* auto_mode.
581+
*/
582+
public Builder autoMode(AutoMode autoMode) {
583+
this.autoMode = autoMode;
584+
return this;
585+
}
586+
566587
/**
567588
* <p>The domain name of the cluster.</p>
568589
*
@@ -1039,6 +1060,60 @@ public DescribeClusterDetailResponseBody build() {
10391060

10401061
}
10411062

1063+
/**
1064+
*
1065+
* {@link DescribeClusterDetailResponseBody} extends {@link TeaModel}
1066+
*
1067+
* <p>DescribeClusterDetailResponseBody</p>
1068+
*/
1069+
public static class AutoMode extends TeaModel {
1070+
@com.aliyun.core.annotation.NameInMap("enable")
1071+
private Boolean enable;
1072+
1073+
private AutoMode(Builder builder) {
1074+
this.enable = builder.enable;
1075+
}
1076+
1077+
public static Builder builder() {
1078+
return new Builder();
1079+
}
1080+
1081+
public static AutoMode create() {
1082+
return builder().build();
1083+
}
1084+
1085+
/**
1086+
* @return enable
1087+
*/
1088+
public Boolean getEnable() {
1089+
return this.enable;
1090+
}
1091+
1092+
public static final class Builder {
1093+
private Boolean enable;
1094+
1095+
private Builder() {
1096+
}
1097+
1098+
private Builder(AutoMode model) {
1099+
this.enable = model.enable;
1100+
}
1101+
1102+
/**
1103+
* enable.
1104+
*/
1105+
public Builder enable(Boolean enable) {
1106+
this.enable = enable;
1107+
return this;
1108+
}
1109+
1110+
public AutoMode build() {
1111+
return new AutoMode(this);
1112+
}
1113+
1114+
}
1115+
1116+
}
10421117
/**
10431118
*
10441119
* {@link DescribeClusterDetailResponseBody} extends {@link TeaModel}

0 commit comments

Comments
 (0)