Skip to content

Commit 0d9067c

Browse files
committed
Generated java-async 2015-12-15 for CS.
1 parent 112643a commit 0d9067c

File tree

4 files changed

+172
-1
lines changed

4 files changed

+172
-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-09 Version: 2.0.46
2+
- Generated java-async 2015-12-15 for CS.
3+
14
2025-05-30 Version: 2.0.45
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.45</version>
6+
<version>2.0.46</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: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ public class CreateClusterNodePoolRequest extends Request {
3131
@Deprecated
3232
private Long count;
3333

34+
@com.aliyun.core.annotation.Body
35+
@com.aliyun.core.annotation.NameInMap("eflo_node_group")
36+
private EfloNodeGroup efloNodeGroup;
37+
3438
@com.aliyun.core.annotation.Body
3539
@com.aliyun.core.annotation.NameInMap("host_network")
3640
private Boolean hostNetwork;
@@ -82,6 +86,7 @@ private CreateClusterNodePoolRequest(Builder builder) {
8286
this.clusterId = builder.clusterId;
8387
this.autoScaling = builder.autoScaling;
8488
this.count = builder.count;
89+
this.efloNodeGroup = builder.efloNodeGroup;
8590
this.hostNetwork = builder.hostNetwork;
8691
this.interconnectConfig = builder.interconnectConfig;
8792
this.interconnectMode = builder.interconnectMode;
@@ -129,6 +134,13 @@ public Long getCount() {
129134
return this.count;
130135
}
131136

137+
/**
138+
* @return efloNodeGroup
139+
*/
140+
public EfloNodeGroup getEfloNodeGroup() {
141+
return this.efloNodeGroup;
142+
}
143+
132144
/**
133145
* @return hostNetwork
134146
*/
@@ -210,6 +222,7 @@ public static final class Builder extends Request.Builder<CreateClusterNodePoolR
210222
private String clusterId;
211223
private AutoScaling autoScaling;
212224
private Long count;
225+
private EfloNodeGroup efloNodeGroup;
213226
private Boolean hostNetwork;
214227
private InterconnectConfig interconnectConfig;
215228
private String interconnectMode;
@@ -231,6 +244,7 @@ private Builder(CreateClusterNodePoolRequest request) {
231244
this.clusterId = request.clusterId;
232245
this.autoScaling = request.autoScaling;
233246
this.count = request.count;
247+
this.efloNodeGroup = request.efloNodeGroup;
234248
this.hostNetwork = request.hostNetwork;
235249
this.interconnectConfig = request.interconnectConfig;
236250
this.interconnectMode = request.interconnectMode;
@@ -279,6 +293,15 @@ public Builder count(Long count) {
279293
return this;
280294
}
281295

296+
/**
297+
* eflo_node_group.
298+
*/
299+
public Builder efloNodeGroup(EfloNodeGroup efloNodeGroup) {
300+
this.putBodyParameter("eflo_node_group", efloNodeGroup);
301+
this.efloNodeGroup = efloNodeGroup;
302+
return this;
303+
}
304+
282305
/**
283306
* <p>Specifies whether to set the network type of the pod to host network.</p>
284307
* <ul>
@@ -648,6 +671,81 @@ public AutoScaling build() {
648671

649672
}
650673

674+
}
675+
/**
676+
*
677+
* {@link CreateClusterNodePoolRequest} extends {@link TeaModel}
678+
*
679+
* <p>CreateClusterNodePoolRequest</p>
680+
*/
681+
public static class EfloNodeGroup extends TeaModel {
682+
@com.aliyun.core.annotation.NameInMap("cluster_id")
683+
private String clusterId;
684+
685+
@com.aliyun.core.annotation.NameInMap("group_id")
686+
private String groupId;
687+
688+
private EfloNodeGroup(Builder builder) {
689+
this.clusterId = builder.clusterId;
690+
this.groupId = builder.groupId;
691+
}
692+
693+
public static Builder builder() {
694+
return new Builder();
695+
}
696+
697+
public static EfloNodeGroup create() {
698+
return builder().build();
699+
}
700+
701+
/**
702+
* @return clusterId
703+
*/
704+
public String getClusterId() {
705+
return this.clusterId;
706+
}
707+
708+
/**
709+
* @return groupId
710+
*/
711+
public String getGroupId() {
712+
return this.groupId;
713+
}
714+
715+
public static final class Builder {
716+
private String clusterId;
717+
private String groupId;
718+
719+
private Builder() {
720+
}
721+
722+
private Builder(EfloNodeGroup model) {
723+
this.clusterId = model.clusterId;
724+
this.groupId = model.groupId;
725+
}
726+
727+
/**
728+
* cluster_id.
729+
*/
730+
public Builder clusterId(String clusterId) {
731+
this.clusterId = clusterId;
732+
return this;
733+
}
734+
735+
/**
736+
* group_id.
737+
*/
738+
public Builder groupId(String groupId) {
739+
this.groupId = groupId;
740+
return this;
741+
}
742+
743+
public EfloNodeGroup build() {
744+
return new EfloNodeGroup(this);
745+
}
746+
747+
}
748+
651749
}
652750
/**
653751
*
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
package com.aliyun.sdk.service.cs20151215.models;
3+
4+
import com.aliyun.sdk.gateway.pop.*;
5+
import darabonba.core.*;
6+
import darabonba.core.async.*;
7+
import darabonba.core.sync.*;
8+
import darabonba.core.client.*;
9+
import darabonba.core.RequestModel;
10+
import darabonba.core.TeaModel;
11+
import com.aliyun.sdk.gateway.pop.models.*;
12+
13+
/**
14+
*
15+
* {@link InstanceMetadataOptions} extends {@link TeaModel}
16+
*
17+
* <p>InstanceMetadataOptions</p>
18+
*/
19+
public class InstanceMetadataOptions extends TeaModel {
20+
@com.aliyun.core.annotation.NameInMap("http_tokens")
21+
private String httpTokens;
22+
23+
private InstanceMetadataOptions(Builder builder) {
24+
this.httpTokens = builder.httpTokens;
25+
}
26+
27+
public static Builder builder() {
28+
return new Builder();
29+
}
30+
31+
public static InstanceMetadataOptions create() {
32+
return builder().build();
33+
}
34+
35+
public Builder toBuilder() {
36+
return new Builder(this);
37+
}
38+
39+
/**
40+
* @return httpTokens
41+
*/
42+
public String getHttpTokens() {
43+
return this.httpTokens;
44+
}
45+
46+
public static final class Builder {
47+
private String httpTokens;
48+
49+
private Builder() {
50+
}
51+
52+
private Builder(InstanceMetadataOptions model) {
53+
this.httpTokens = model.httpTokens;
54+
}
55+
56+
/**
57+
* http_tokens.
58+
*/
59+
public Builder httpTokens(String httpTokens) {
60+
this.httpTokens = httpTokens;
61+
return this;
62+
}
63+
64+
public InstanceMetadataOptions build() {
65+
return new InstanceMetadataOptions(this);
66+
}
67+
68+
}
69+
70+
}

0 commit comments

Comments
 (0)