@@ -31,6 +31,10 @@ public class CreateClusterNodePoolRequest extends Request {
31
31
@ Deprecated
32
32
private Long count ;
33
33
34
+ @ com .aliyun .core .annotation .Body
35
+ @ com .aliyun .core .annotation .NameInMap ("eflo_node_group" )
36
+ private EfloNodeGroup efloNodeGroup ;
37
+
34
38
@ com .aliyun .core .annotation .Body
35
39
@ com .aliyun .core .annotation .NameInMap ("host_network" )
36
40
private Boolean hostNetwork ;
@@ -82,6 +86,7 @@ private CreateClusterNodePoolRequest(Builder builder) {
82
86
this .clusterId = builder .clusterId ;
83
87
this .autoScaling = builder .autoScaling ;
84
88
this .count = builder .count ;
89
+ this .efloNodeGroup = builder .efloNodeGroup ;
85
90
this .hostNetwork = builder .hostNetwork ;
86
91
this .interconnectConfig = builder .interconnectConfig ;
87
92
this .interconnectMode = builder .interconnectMode ;
@@ -129,6 +134,13 @@ public Long getCount() {
129
134
return this .count ;
130
135
}
131
136
137
+ /**
138
+ * @return efloNodeGroup
139
+ */
140
+ public EfloNodeGroup getEfloNodeGroup () {
141
+ return this .efloNodeGroup ;
142
+ }
143
+
132
144
/**
133
145
* @return hostNetwork
134
146
*/
@@ -210,6 +222,7 @@ public static final class Builder extends Request.Builder<CreateClusterNodePoolR
210
222
private String clusterId ;
211
223
private AutoScaling autoScaling ;
212
224
private Long count ;
225
+ private EfloNodeGroup efloNodeGroup ;
213
226
private Boolean hostNetwork ;
214
227
private InterconnectConfig interconnectConfig ;
215
228
private String interconnectMode ;
@@ -231,6 +244,7 @@ private Builder(CreateClusterNodePoolRequest request) {
231
244
this .clusterId = request .clusterId ;
232
245
this .autoScaling = request .autoScaling ;
233
246
this .count = request .count ;
247
+ this .efloNodeGroup = request .efloNodeGroup ;
234
248
this .hostNetwork = request .hostNetwork ;
235
249
this .interconnectConfig = request .interconnectConfig ;
236
250
this .interconnectMode = request .interconnectMode ;
@@ -279,6 +293,15 @@ public Builder count(Long count) {
279
293
return this ;
280
294
}
281
295
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
+
282
305
/**
283
306
* <p>Specifies whether to set the network type of the pod to host network.</p>
284
307
* <ul>
@@ -648,6 +671,81 @@ public AutoScaling build() {
648
671
649
672
}
650
673
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
+
651
749
}
652
750
/**
653
751
*
0 commit comments