Skip to content

Commit c8c9e7c

Browse files
committed
Generated java-async 2022-01-01 for pai-dsw.
1 parent 81dba65 commit c8c9e7c

File tree

5 files changed

+356
-1
lines changed

5 files changed

+356
-1
lines changed

pai-dsw-20220101/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: 1.1.46
2+
- Generated java-async 2022-01-01 for pai-dsw.
3+
14
2025-06-05 Version: 1.1.45
25
- Generated java-async 2022-01-01 for pai-dsw.
36

pai-dsw-20220101/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-pai_dsw20220101</artifactId>
6-
<version>1.1.45</version>
6+
<version>1.1.46</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-pai_dsw20220101</name>
99
<description>Alibaba Cloud pai-dsw (20220101) Async SDK for Java

pai-dsw-20220101/src/main/java/com/aliyun/sdk/service/pai_dsw20220101/models/CreateInstanceRequest.java

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ public class CreateInstanceRequest extends Request {
9393
@com.aliyun.core.annotation.NameInMap("Tag")
9494
private java.util.List<Tag> tag;
9595

96+
@com.aliyun.core.annotation.Body
97+
@com.aliyun.core.annotation.NameInMap("UserCommand")
98+
private UserCommand userCommand;
99+
96100
@com.aliyun.core.annotation.Body
97101
@com.aliyun.core.annotation.NameInMap("UserId")
98102
private String userId;
@@ -130,6 +134,7 @@ private CreateInstanceRequest(Builder builder) {
130134
this.requestedResource = builder.requestedResource;
131135
this.resourceId = builder.resourceId;
132136
this.tag = builder.tag;
137+
this.userCommand = builder.userCommand;
133138
this.userId = builder.userId;
134139
this.userVpc = builder.userVpc;
135140
this.workspaceId = builder.workspaceId;
@@ -282,6 +287,13 @@ public java.util.List<Tag> getTag() {
282287
return this.tag;
283288
}
284289

290+
/**
291+
* @return userCommand
292+
*/
293+
public UserCommand getUserCommand() {
294+
return this.userCommand;
295+
}
296+
285297
/**
286298
* @return userId
287299
*/
@@ -330,6 +342,7 @@ public static final class Builder extends Request.Builder<CreateInstanceRequest,
330342
private RequestedResource requestedResource;
331343
private String resourceId;
332344
private java.util.List<Tag> tag;
345+
private UserCommand userCommand;
333346
private String userId;
334347
private UserVpc userVpc;
335348
private String workspaceId;
@@ -360,6 +373,7 @@ private Builder(CreateInstanceRequest request) {
360373
this.requestedResource = request.requestedResource;
361374
this.resourceId = request.resourceId;
362375
this.tag = request.tag;
376+
this.userCommand = request.userCommand;
363377
this.userId = request.userId;
364378
this.userVpc = request.userVpc;
365379
this.workspaceId = request.workspaceId;
@@ -589,6 +603,15 @@ public Builder tag(java.util.List<Tag> tag) {
589603
return this;
590604
}
591605

606+
/**
607+
* UserCommand.
608+
*/
609+
public Builder userCommand(UserCommand userCommand) {
610+
this.putBodyParameter("UserCommand", userCommand);
611+
this.userCommand = userCommand;
612+
return this;
613+
}
614+
592615
/**
593616
* <p>The ID of the instance owner. Valid values: Alibaba Cloud account and RAM user.</p>
594617
*
@@ -1604,6 +1627,114 @@ public Tag build() {
16041627

16051628
}
16061629

1630+
}
1631+
/**
1632+
*
1633+
* {@link CreateInstanceRequest} extends {@link TeaModel}
1634+
*
1635+
* <p>CreateInstanceRequest</p>
1636+
*/
1637+
public static class OnStart extends TeaModel {
1638+
@com.aliyun.core.annotation.NameInMap("Content")
1639+
private String content;
1640+
1641+
private OnStart(Builder builder) {
1642+
this.content = builder.content;
1643+
}
1644+
1645+
public static Builder builder() {
1646+
return new Builder();
1647+
}
1648+
1649+
public static OnStart create() {
1650+
return builder().build();
1651+
}
1652+
1653+
/**
1654+
* @return content
1655+
*/
1656+
public String getContent() {
1657+
return this.content;
1658+
}
1659+
1660+
public static final class Builder {
1661+
private String content;
1662+
1663+
private Builder() {
1664+
}
1665+
1666+
private Builder(OnStart model) {
1667+
this.content = model.content;
1668+
}
1669+
1670+
/**
1671+
* Content.
1672+
*/
1673+
public Builder content(String content) {
1674+
this.content = content;
1675+
return this;
1676+
}
1677+
1678+
public OnStart build() {
1679+
return new OnStart(this);
1680+
}
1681+
1682+
}
1683+
1684+
}
1685+
/**
1686+
*
1687+
* {@link CreateInstanceRequest} extends {@link TeaModel}
1688+
*
1689+
* <p>CreateInstanceRequest</p>
1690+
*/
1691+
public static class UserCommand extends TeaModel {
1692+
@com.aliyun.core.annotation.NameInMap("OnStart")
1693+
private OnStart onStart;
1694+
1695+
private UserCommand(Builder builder) {
1696+
this.onStart = builder.onStart;
1697+
}
1698+
1699+
public static Builder builder() {
1700+
return new Builder();
1701+
}
1702+
1703+
public static UserCommand create() {
1704+
return builder().build();
1705+
}
1706+
1707+
/**
1708+
* @return onStart
1709+
*/
1710+
public OnStart getOnStart() {
1711+
return this.onStart;
1712+
}
1713+
1714+
public static final class Builder {
1715+
private OnStart onStart;
1716+
1717+
private Builder() {
1718+
}
1719+
1720+
private Builder(UserCommand model) {
1721+
this.onStart = model.onStart;
1722+
}
1723+
1724+
/**
1725+
* OnStart.
1726+
*/
1727+
public Builder onStart(OnStart onStart) {
1728+
this.onStart = onStart;
1729+
return this;
1730+
}
1731+
1732+
public UserCommand build() {
1733+
return new UserCommand(this);
1734+
}
1735+
1736+
}
1737+
16071738
}
16081739
/**
16091740
*

pai-dsw-20220101/src/main/java/com/aliyun/sdk/service/pai_dsw20220101/models/GetInstanceResponseBody.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,9 @@ public class GetInstanceResponseBody extends TeaModel {
146146
@com.aliyun.core.annotation.NameInMap("TerminalUrl")
147147
private String terminalUrl;
148148

149+
@com.aliyun.core.annotation.NameInMap("UserCommandId")
150+
private String userCommandId;
151+
149152
@com.aliyun.core.annotation.NameInMap("UserId")
150153
private String userId;
151154

@@ -211,6 +214,7 @@ private GetInstanceResponseBody(Builder builder) {
211214
this.success = builder.success;
212215
this.tags = builder.tags;
213216
this.terminalUrl = builder.terminalUrl;
217+
this.userCommandId = builder.userCommandId;
214218
this.userId = builder.userId;
215219
this.userName = builder.userName;
216220
this.userVpc = builder.userVpc;
@@ -533,6 +537,13 @@ public String getTerminalUrl() {
533537
return this.terminalUrl;
534538
}
535539

540+
/**
541+
* @return userCommandId
542+
*/
543+
public String getUserCommandId() {
544+
return this.userCommandId;
545+
}
546+
536547
/**
537548
* @return userId
538549
*/
@@ -626,6 +637,7 @@ public static final class Builder {
626637
private Boolean success;
627638
private java.util.List<Tags> tags;
628639
private String terminalUrl;
640+
private String userCommandId;
629641
private String userId;
630642
private String userName;
631643
private UserVpc userVpc;
@@ -681,6 +693,7 @@ private Builder(GetInstanceResponseBody model) {
681693
this.success = model.success;
682694
this.tags = model.tags;
683695
this.terminalUrl = model.terminalUrl;
696+
this.userCommandId = model.userCommandId;
684697
this.userId = model.userId;
685698
this.userName = model.userName;
686699
this.userVpc = model.userVpc;
@@ -1190,6 +1203,14 @@ public Builder terminalUrl(String terminalUrl) {
11901203
return this;
11911204
}
11921205

1206+
/**
1207+
* UserCommandId.
1208+
*/
1209+
public Builder userCommandId(String userCommandId) {
1210+
this.userCommandId = userCommandId;
1211+
return this;
1212+
}
1213+
11931214
/**
11941215
* <p>The user ID.</p>
11951216
*

0 commit comments

Comments
 (0)