@@ -364,13 +364,21 @@ public static class DeploymentPolicy extends TeaModel {
364
364
@ com .aliyun .core .annotation .NameInMap ("Network" )
365
365
private Network network ;
366
366
367
+ @ com .aliyun .core .annotation .NameInMap ("Pool" )
368
+ private String pool ;
369
+
370
+ @ com .aliyun .core .annotation .NameInMap ("Priority" )
371
+ private Integer priority ;
372
+
367
373
@ com .aliyun .core .annotation .NameInMap ("Tag" )
368
374
private java .util .List <Tag > tag ;
369
375
370
376
private DeploymentPolicy (Builder builder ) {
371
377
this .allocationSpec = builder .allocationSpec ;
372
378
this .level = builder .level ;
373
379
this .network = builder .network ;
380
+ this .pool = builder .pool ;
381
+ this .priority = builder .priority ;
374
382
this .tag = builder .tag ;
375
383
}
376
384
@@ -403,6 +411,20 @@ public Network getNetwork() {
403
411
return this .network ;
404
412
}
405
413
414
+ /**
415
+ * @return pool
416
+ */
417
+ public String getPool () {
418
+ return this .pool ;
419
+ }
420
+
421
+ /**
422
+ * @return priority
423
+ */
424
+ public Integer getPriority () {
425
+ return this .priority ;
426
+ }
427
+
406
428
/**
407
429
* @return tag
408
430
*/
@@ -414,6 +436,8 @@ public static final class Builder {
414
436
private String allocationSpec ;
415
437
private String level ;
416
438
private Network network ;
439
+ private String pool ;
440
+ private Integer priority ;
417
441
private java .util .List <Tag > tag ;
418
442
419
443
private Builder () {
@@ -423,6 +447,8 @@ private Builder(DeploymentPolicy model) {
423
447
this .allocationSpec = model .allocationSpec ;
424
448
this .level = model .level ;
425
449
this .network = model .network ;
450
+ this .pool = model .pool ;
451
+ this .priority = model .priority ;
426
452
this .tag = model .tag ;
427
453
}
428
454
@@ -450,6 +476,22 @@ public Builder network(Network network) {
450
476
return this ;
451
477
}
452
478
479
+ /**
480
+ * Pool.
481
+ */
482
+ public Builder pool (String pool ) {
483
+ this .pool = pool ;
484
+ return this ;
485
+ }
486
+
487
+ /**
488
+ * Priority.
489
+ */
490
+ public Builder priority (Integer priority ) {
491
+ this .priority = priority ;
492
+ return this ;
493
+ }
494
+
453
495
/**
454
496
* Tag.
455
497
*/
@@ -832,12 +874,16 @@ public static class Resource extends TeaModel {
832
874
@ com .aliyun .core .annotation .NameInMap ("Disks" )
833
875
private java .util .List <Disks > disks ;
834
876
877
+ @ com .aliyun .core .annotation .NameInMap ("InstanceTypes" )
878
+ private java .util .List <String > instanceTypes ;
879
+
835
880
@ com .aliyun .core .annotation .NameInMap ("Memory" )
836
881
private Float memory ;
837
882
838
883
private Resource (Builder builder ) {
839
884
this .cores = builder .cores ;
840
885
this .disks = builder .disks ;
886
+ this .instanceTypes = builder .instanceTypes ;
841
887
this .memory = builder .memory ;
842
888
}
843
889
@@ -863,6 +909,13 @@ public java.util.List<Disks> getDisks() {
863
909
return this .disks ;
864
910
}
865
911
912
+ /**
913
+ * @return instanceTypes
914
+ */
915
+ public java .util .List <String > getInstanceTypes () {
916
+ return this .instanceTypes ;
917
+ }
918
+
866
919
/**
867
920
* @return memory
868
921
*/
@@ -873,6 +926,7 @@ public Float getMemory() {
873
926
public static final class Builder {
874
927
private Float cores ;
875
928
private java .util .List <Disks > disks ;
929
+ private java .util .List <String > instanceTypes ;
876
930
private Float memory ;
877
931
878
932
private Builder () {
@@ -881,6 +935,7 @@ private Builder() {
881
935
private Builder (Resource model ) {
882
936
this .cores = model .cores ;
883
937
this .disks = model .disks ;
938
+ this .instanceTypes = model .instanceTypes ;
884
939
this .memory = model .memory ;
885
940
}
886
941
@@ -900,6 +955,14 @@ public Builder disks(java.util.List<Disks> disks) {
900
955
return this ;
901
956
}
902
957
958
+ /**
959
+ * InstanceTypes.
960
+ */
961
+ public Builder instanceTypes (java .util .List <String > instanceTypes ) {
962
+ this .instanceTypes = instanceTypes ;
963
+ return this ;
964
+ }
965
+
903
966
/**
904
967
* Memory.
905
968
*/
@@ -1000,6 +1063,9 @@ public static class Container extends TeaModel {
1000
1063
@ com .aliyun .core .annotation .NameInMap ("AppId" )
1001
1064
private String appId ;
1002
1065
1066
+ @ com .aliyun .core .annotation .NameInMap ("Arg" )
1067
+ private java .util .List <String > arg ;
1068
+
1003
1069
@ com .aliyun .core .annotation .NameInMap ("Command" )
1004
1070
private java .util .List <String > command ;
1005
1071
@@ -1015,6 +1081,7 @@ public static class Container extends TeaModel {
1015
1081
1016
1082
private Container (Builder builder ) {
1017
1083
this .appId = builder .appId ;
1084
+ this .arg = builder .arg ;
1018
1085
this .command = builder .command ;
1019
1086
this .environmentVars = builder .environmentVars ;
1020
1087
this .image = builder .image ;
@@ -1036,6 +1103,13 @@ public String getAppId() {
1036
1103
return this .appId ;
1037
1104
}
1038
1105
1106
+ /**
1107
+ * @return arg
1108
+ */
1109
+ public java .util .List <String > getArg () {
1110
+ return this .arg ;
1111
+ }
1112
+
1039
1113
/**
1040
1114
* @return command
1041
1115
*/
@@ -1066,6 +1140,7 @@ public String getWorkingDir() {
1066
1140
1067
1141
public static final class Builder {
1068
1142
private String appId ;
1143
+ private java .util .List <String > arg ;
1069
1144
private java .util .List <String > command ;
1070
1145
private java .util .List <EnvironmentVars > environmentVars ;
1071
1146
private String image ;
@@ -1076,6 +1151,7 @@ private Builder() {
1076
1151
1077
1152
private Builder (Container model ) {
1078
1153
this .appId = model .appId ;
1154
+ this .arg = model .arg ;
1079
1155
this .command = model .command ;
1080
1156
this .environmentVars = model .environmentVars ;
1081
1157
this .image = model .image ;
@@ -1090,6 +1166,14 @@ public Builder appId(String appId) {
1090
1166
return this ;
1091
1167
}
1092
1168
1169
+ /**
1170
+ * Arg.
1171
+ */
1172
+ public Builder arg (java .util .List <String > arg ) {
1173
+ this .arg = arg ;
1174
+ return this ;
1175
+ }
1176
+
1093
1177
/**
1094
1178
* Command.
1095
1179
*/
@@ -1146,6 +1230,9 @@ public static class Vm extends TeaModel {
1146
1230
@ com .aliyun .core .annotation .Validation (required = true )
1147
1231
private String image ;
1148
1232
1233
+ @ com .aliyun .core .annotation .NameInMap ("Password" )
1234
+ private String password ;
1235
+
1149
1236
@ com .aliyun .core .annotation .NameInMap ("PrologScript" )
1150
1237
private String prologScript ;
1151
1238
@@ -1155,6 +1242,7 @@ public static class Vm extends TeaModel {
1155
1242
private Vm (Builder builder ) {
1156
1243
this .appId = builder .appId ;
1157
1244
this .image = builder .image ;
1245
+ this .password = builder .password ;
1158
1246
this .prologScript = builder .prologScript ;
1159
1247
this .script = builder .script ;
1160
1248
}
@@ -1181,6 +1269,13 @@ public String getImage() {
1181
1269
return this .image ;
1182
1270
}
1183
1271
1272
+ /**
1273
+ * @return password
1274
+ */
1275
+ public String getPassword () {
1276
+ return this .password ;
1277
+ }
1278
+
1184
1279
/**
1185
1280
* @return prologScript
1186
1281
*/
@@ -1198,6 +1293,7 @@ public String getScript() {
1198
1293
public static final class Builder {
1199
1294
private String appId ;
1200
1295
private String image ;
1296
+ private String password ;
1201
1297
private String prologScript ;
1202
1298
private String script ;
1203
1299
@@ -1207,6 +1303,7 @@ private Builder() {
1207
1303
private Builder (Vm model ) {
1208
1304
this .appId = model .appId ;
1209
1305
this .image = model .image ;
1306
+ this .password = model .password ;
1210
1307
this .prologScript = model .prologScript ;
1211
1308
this .script = model .script ;
1212
1309
}
@@ -1230,6 +1327,14 @@ public Builder image(String image) {
1230
1327
return this ;
1231
1328
}
1232
1329
1330
+ /**
1331
+ * Password.
1332
+ */
1333
+ public Builder password (String password ) {
1334
+ this .password = password ;
1335
+ return this ;
1336
+ }
1337
+
1233
1338
/**
1234
1339
* PrologScript.
1235
1340
*/
@@ -1341,12 +1446,16 @@ public static class VolumeMount extends TeaModel {
1341
1446
@ com .aliyun .core .annotation .NameInMap ("MountPath" )
1342
1447
private String mountPath ;
1343
1448
1449
+ @ com .aliyun .core .annotation .NameInMap ("ReadOnly" )
1450
+ private Boolean readOnly ;
1451
+
1344
1452
@ com .aliyun .core .annotation .NameInMap ("VolumeDriver" )
1345
1453
private String volumeDriver ;
1346
1454
1347
1455
private VolumeMount (Builder builder ) {
1348
1456
this .mountOptions = builder .mountOptions ;
1349
1457
this .mountPath = builder .mountPath ;
1458
+ this .readOnly = builder .readOnly ;
1350
1459
this .volumeDriver = builder .volumeDriver ;
1351
1460
}
1352
1461
@@ -1372,6 +1481,13 @@ public String getMountPath() {
1372
1481
return this .mountPath ;
1373
1482
}
1374
1483
1484
+ /**
1485
+ * @return readOnly
1486
+ */
1487
+ public Boolean getReadOnly () {
1488
+ return this .readOnly ;
1489
+ }
1490
+
1375
1491
/**
1376
1492
* @return volumeDriver
1377
1493
*/
@@ -1382,6 +1498,7 @@ public String getVolumeDriver() {
1382
1498
public static final class Builder {
1383
1499
private String mountOptions ;
1384
1500
private String mountPath ;
1501
+ private Boolean readOnly ;
1385
1502
private String volumeDriver ;
1386
1503
1387
1504
private Builder () {
@@ -1390,6 +1507,7 @@ private Builder() {
1390
1507
private Builder (VolumeMount model ) {
1391
1508
this .mountOptions = model .mountOptions ;
1392
1509
this .mountPath = model .mountPath ;
1510
+ this .readOnly = model .readOnly ;
1393
1511
this .volumeDriver = model .volumeDriver ;
1394
1512
}
1395
1513
@@ -1409,6 +1527,14 @@ public Builder mountPath(String mountPath) {
1409
1527
return this ;
1410
1528
}
1411
1529
1530
+ /**
1531
+ * ReadOnly.
1532
+ */
1533
+ public Builder readOnly (Boolean readOnly ) {
1534
+ this .readOnly = readOnly ;
1535
+ return this ;
1536
+ }
1537
+
1412
1538
/**
1413
1539
* VolumeDriver.
1414
1540
*/
0 commit comments