Skip to content

Commit 6e24713

Browse files
committed
Generated java-async 2023-07-01 for EhpcInstant.
1 parent 3538a71 commit 6e24713

File tree

4 files changed

+172
-1
lines changed

4 files changed

+172
-1
lines changed

ehpcinstant-20230701/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-06-12 Version: 2.0.4
2+
- Generated java-async 2023-07-01 for EhpcInstant.
3+
14
2025-05-09 Version: 2.0.3
25
- Generated java-async 2023-07-01 for EhpcInstant.
36

ehpcinstant-20230701/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-ehpcinstant20230701</artifactId>
6-
<version>2.0.3</version>
6+
<version>2.0.4</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-ehpcinstant20230701</name>
99
<description>Alibaba Cloud EhpcInstant (20230701) Async SDK for Java

ehpcinstant-20230701/src/main/java/com/aliyun/sdk/service/ehpcinstant20230701/models/CreateJobRequest.java

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,13 +364,21 @@ public static class DeploymentPolicy extends TeaModel {
364364
@com.aliyun.core.annotation.NameInMap("Network")
365365
private Network network;
366366

367+
@com.aliyun.core.annotation.NameInMap("Pool")
368+
private String pool;
369+
370+
@com.aliyun.core.annotation.NameInMap("Priority")
371+
private Integer priority;
372+
367373
@com.aliyun.core.annotation.NameInMap("Tag")
368374
private java.util.List<Tag> tag;
369375

370376
private DeploymentPolicy(Builder builder) {
371377
this.allocationSpec = builder.allocationSpec;
372378
this.level = builder.level;
373379
this.network = builder.network;
380+
this.pool = builder.pool;
381+
this.priority = builder.priority;
374382
this.tag = builder.tag;
375383
}
376384

@@ -403,6 +411,20 @@ public Network getNetwork() {
403411
return this.network;
404412
}
405413

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+
406428
/**
407429
* @return tag
408430
*/
@@ -414,6 +436,8 @@ public static final class Builder {
414436
private String allocationSpec;
415437
private String level;
416438
private Network network;
439+
private String pool;
440+
private Integer priority;
417441
private java.util.List<Tag> tag;
418442

419443
private Builder() {
@@ -423,6 +447,8 @@ private Builder(DeploymentPolicy model) {
423447
this.allocationSpec = model.allocationSpec;
424448
this.level = model.level;
425449
this.network = model.network;
450+
this.pool = model.pool;
451+
this.priority = model.priority;
426452
this.tag = model.tag;
427453
}
428454

@@ -450,6 +476,22 @@ public Builder network(Network network) {
450476
return this;
451477
}
452478

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+
453495
/**
454496
* Tag.
455497
*/
@@ -832,12 +874,16 @@ public static class Resource extends TeaModel {
832874
@com.aliyun.core.annotation.NameInMap("Disks")
833875
private java.util.List<Disks> disks;
834876

877+
@com.aliyun.core.annotation.NameInMap("InstanceTypes")
878+
private java.util.List<String> instanceTypes;
879+
835880
@com.aliyun.core.annotation.NameInMap("Memory")
836881
private Float memory;
837882

838883
private Resource(Builder builder) {
839884
this.cores = builder.cores;
840885
this.disks = builder.disks;
886+
this.instanceTypes = builder.instanceTypes;
841887
this.memory = builder.memory;
842888
}
843889

@@ -863,6 +909,13 @@ public java.util.List<Disks> getDisks() {
863909
return this.disks;
864910
}
865911

912+
/**
913+
* @return instanceTypes
914+
*/
915+
public java.util.List<String> getInstanceTypes() {
916+
return this.instanceTypes;
917+
}
918+
866919
/**
867920
* @return memory
868921
*/
@@ -873,6 +926,7 @@ public Float getMemory() {
873926
public static final class Builder {
874927
private Float cores;
875928
private java.util.List<Disks> disks;
929+
private java.util.List<String> instanceTypes;
876930
private Float memory;
877931

878932
private Builder() {
@@ -881,6 +935,7 @@ private Builder() {
881935
private Builder(Resource model) {
882936
this.cores = model.cores;
883937
this.disks = model.disks;
938+
this.instanceTypes = model.instanceTypes;
884939
this.memory = model.memory;
885940
}
886941

@@ -900,6 +955,14 @@ public Builder disks(java.util.List<Disks> disks) {
900955
return this;
901956
}
902957

958+
/**
959+
* InstanceTypes.
960+
*/
961+
public Builder instanceTypes(java.util.List<String> instanceTypes) {
962+
this.instanceTypes = instanceTypes;
963+
return this;
964+
}
965+
903966
/**
904967
* Memory.
905968
*/
@@ -1000,6 +1063,9 @@ public static class Container extends TeaModel {
10001063
@com.aliyun.core.annotation.NameInMap("AppId")
10011064
private String appId;
10021065

1066+
@com.aliyun.core.annotation.NameInMap("Arg")
1067+
private java.util.List<String> arg;
1068+
10031069
@com.aliyun.core.annotation.NameInMap("Command")
10041070
private java.util.List<String> command;
10051071

@@ -1015,6 +1081,7 @@ public static class Container extends TeaModel {
10151081

10161082
private Container(Builder builder) {
10171083
this.appId = builder.appId;
1084+
this.arg = builder.arg;
10181085
this.command = builder.command;
10191086
this.environmentVars = builder.environmentVars;
10201087
this.image = builder.image;
@@ -1036,6 +1103,13 @@ public String getAppId() {
10361103
return this.appId;
10371104
}
10381105

1106+
/**
1107+
* @return arg
1108+
*/
1109+
public java.util.List<String> getArg() {
1110+
return this.arg;
1111+
}
1112+
10391113
/**
10401114
* @return command
10411115
*/
@@ -1066,6 +1140,7 @@ public String getWorkingDir() {
10661140

10671141
public static final class Builder {
10681142
private String appId;
1143+
private java.util.List<String> arg;
10691144
private java.util.List<String> command;
10701145
private java.util.List<EnvironmentVars> environmentVars;
10711146
private String image;
@@ -1076,6 +1151,7 @@ private Builder() {
10761151

10771152
private Builder(Container model) {
10781153
this.appId = model.appId;
1154+
this.arg = model.arg;
10791155
this.command = model.command;
10801156
this.environmentVars = model.environmentVars;
10811157
this.image = model.image;
@@ -1090,6 +1166,14 @@ public Builder appId(String appId) {
10901166
return this;
10911167
}
10921168

1169+
/**
1170+
* Arg.
1171+
*/
1172+
public Builder arg(java.util.List<String> arg) {
1173+
this.arg = arg;
1174+
return this;
1175+
}
1176+
10931177
/**
10941178
* Command.
10951179
*/
@@ -1146,6 +1230,9 @@ public static class Vm extends TeaModel {
11461230
@com.aliyun.core.annotation.Validation(required = true)
11471231
private String image;
11481232

1233+
@com.aliyun.core.annotation.NameInMap("Password")
1234+
private String password;
1235+
11491236
@com.aliyun.core.annotation.NameInMap("PrologScript")
11501237
private String prologScript;
11511238

@@ -1155,6 +1242,7 @@ public static class Vm extends TeaModel {
11551242
private Vm(Builder builder) {
11561243
this.appId = builder.appId;
11571244
this.image = builder.image;
1245+
this.password = builder.password;
11581246
this.prologScript = builder.prologScript;
11591247
this.script = builder.script;
11601248
}
@@ -1181,6 +1269,13 @@ public String getImage() {
11811269
return this.image;
11821270
}
11831271

1272+
/**
1273+
* @return password
1274+
*/
1275+
public String getPassword() {
1276+
return this.password;
1277+
}
1278+
11841279
/**
11851280
* @return prologScript
11861281
*/
@@ -1198,6 +1293,7 @@ public String getScript() {
11981293
public static final class Builder {
11991294
private String appId;
12001295
private String image;
1296+
private String password;
12011297
private String prologScript;
12021298
private String script;
12031299

@@ -1207,6 +1303,7 @@ private Builder() {
12071303
private Builder(Vm model) {
12081304
this.appId = model.appId;
12091305
this.image = model.image;
1306+
this.password = model.password;
12101307
this.prologScript = model.prologScript;
12111308
this.script = model.script;
12121309
}
@@ -1230,6 +1327,14 @@ public Builder image(String image) {
12301327
return this;
12311328
}
12321329

1330+
/**
1331+
* Password.
1332+
*/
1333+
public Builder password(String password) {
1334+
this.password = password;
1335+
return this;
1336+
}
1337+
12331338
/**
12341339
* PrologScript.
12351340
*/
@@ -1341,12 +1446,16 @@ public static class VolumeMount extends TeaModel {
13411446
@com.aliyun.core.annotation.NameInMap("MountPath")
13421447
private String mountPath;
13431448

1449+
@com.aliyun.core.annotation.NameInMap("ReadOnly")
1450+
private Boolean readOnly;
1451+
13441452
@com.aliyun.core.annotation.NameInMap("VolumeDriver")
13451453
private String volumeDriver;
13461454

13471455
private VolumeMount(Builder builder) {
13481456
this.mountOptions = builder.mountOptions;
13491457
this.mountPath = builder.mountPath;
1458+
this.readOnly = builder.readOnly;
13501459
this.volumeDriver = builder.volumeDriver;
13511460
}
13521461

@@ -1372,6 +1481,13 @@ public String getMountPath() {
13721481
return this.mountPath;
13731482
}
13741483

1484+
/**
1485+
* @return readOnly
1486+
*/
1487+
public Boolean getReadOnly() {
1488+
return this.readOnly;
1489+
}
1490+
13751491
/**
13761492
* @return volumeDriver
13771493
*/
@@ -1382,6 +1498,7 @@ public String getVolumeDriver() {
13821498
public static final class Builder {
13831499
private String mountOptions;
13841500
private String mountPath;
1501+
private Boolean readOnly;
13851502
private String volumeDriver;
13861503

13871504
private Builder() {
@@ -1390,6 +1507,7 @@ private Builder() {
13901507
private Builder(VolumeMount model) {
13911508
this.mountOptions = model.mountOptions;
13921509
this.mountPath = model.mountPath;
1510+
this.readOnly = model.readOnly;
13931511
this.volumeDriver = model.volumeDriver;
13941512
}
13951513

@@ -1409,6 +1527,14 @@ public Builder mountPath(String mountPath) {
14091527
return this;
14101528
}
14111529

1530+
/**
1531+
* ReadOnly.
1532+
*/
1533+
public Builder readOnly(Boolean readOnly) {
1534+
this.readOnly = readOnly;
1535+
return this;
1536+
}
1537+
14121538
/**
14131539
* VolumeDriver.
14141540
*/

0 commit comments

Comments
 (0)