Skip to content

Commit ef3faa9

Browse files
committed
Generated java-async 2025-09-10 for AgentRun.
1 parent 99d81ea commit ef3faa9

File tree

68 files changed

+9487
-454
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+9487
-454
lines changed

agentrun-20250910/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-11-19 Version: 3.0.0
2+
- Generated java-async 2025-09-10 for AgentRun.
3+
14
2025-10-29 Version: 2.0.1
25
- Generated java-async 2025-09-10 for AgentRun.
36

agentrun-20250910/pom.xml

Lines changed: 2 additions & 3 deletions
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-agentrun20250910</artifactId>
6-
<version>2.0.1</version>
6+
<version>3.0.0</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-agentrun20250910</name>
99
<description>Alibaba Cloud AgentRun (20250910) Async SDK for Java
@@ -104,12 +104,11 @@
104104
<plugin>
105105
<groupId>org.sonatype.central</groupId>
106106
<artifactId>central-publishing-maven-plugin</artifactId>
107-
<version>0.8.0</version>
107+
<version>0.9.0</version>
108108
<extensions>true</extensions>
109109
<configuration>
110110
<publishingServerId>central</publishingServerId>
111111
<autoPublish>true</autoPublish>
112-
<waitUntil>published</waitUntil>
113112
</configuration>
114113
</plugin>
115114
</plugins>
Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
package com.aliyun.sdk.service.agentrun20250910.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 ArmsConfiguration} extends {@link TeaModel}
16+
*
17+
* <p>ArmsConfiguration</p>
18+
*/
19+
public class ArmsConfiguration extends TeaModel {
20+
@com.aliyun.core.annotation.NameInMap("armsLicenseKey")
21+
private String armsLicenseKey;
22+
23+
@com.aliyun.core.annotation.NameInMap("enableArms")
24+
private Boolean enableArms;
25+
26+
private ArmsConfiguration(Builder builder) {
27+
this.armsLicenseKey = builder.armsLicenseKey;
28+
this.enableArms = builder.enableArms;
29+
}
30+
31+
public static Builder builder() {
32+
return new Builder();
33+
}
34+
35+
public static ArmsConfiguration create() {
36+
return builder().build();
37+
}
38+
39+
public Builder toBuilder() {
40+
return new Builder(this);
41+
}
42+
43+
/**
44+
* @return armsLicenseKey
45+
*/
46+
public String getArmsLicenseKey() {
47+
return this.armsLicenseKey;
48+
}
49+
50+
/**
51+
* @return enableArms
52+
*/
53+
public Boolean getEnableArms() {
54+
return this.enableArms;
55+
}
56+
57+
public static final class Builder {
58+
private String armsLicenseKey;
59+
private Boolean enableArms;
60+
61+
private Builder() {
62+
}
63+
64+
private Builder(ArmsConfiguration model) {
65+
this.armsLicenseKey = model.armsLicenseKey;
66+
this.enableArms = model.enableArms;
67+
}
68+
69+
/**
70+
* <p>应用实时监控服务(ARMS)的许可证密钥</p>
71+
*
72+
* <strong>example:</strong>
73+
* <p>arms-license-key-123456</p>
74+
*/
75+
public Builder armsLicenseKey(String armsLicenseKey) {
76+
this.armsLicenseKey = armsLicenseKey;
77+
return this;
78+
}
79+
80+
/**
81+
* <p>是否启用应用实时监控服务(ARMS)</p>
82+
*
83+
* <strong>example:</strong>
84+
* <p>true</p>
85+
*/
86+
public Builder enableArms(Boolean enableArms) {
87+
this.enableArms = enableArms;
88+
return this;
89+
}
90+
91+
public ArmsConfiguration build() {
92+
return new ArmsConfiguration(this);
93+
}
94+
95+
}
96+
97+
}
Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
package com.aliyun.sdk.service.agentrun20250910.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 BrowserConfiguration} extends {@link TeaModel}
16+
*
17+
* <p>BrowserConfiguration</p>
18+
*/
19+
public class BrowserConfiguration extends TeaModel {
20+
@com.aliyun.core.annotation.NameInMap("browserType")
21+
private String browserType;
22+
23+
@com.aliyun.core.annotation.NameInMap("enableExtension")
24+
private java.util.List<String> enableExtension;
25+
26+
@com.aliyun.core.annotation.NameInMap("headless")
27+
private Boolean headless;
28+
29+
@com.aliyun.core.annotation.NameInMap("userAgent")
30+
private String userAgent;
31+
32+
@com.aliyun.core.annotation.NameInMap("viewPort")
33+
private ViewPortConfiguration viewPort;
34+
35+
private BrowserConfiguration(Builder builder) {
36+
this.browserType = builder.browserType;
37+
this.enableExtension = builder.enableExtension;
38+
this.headless = builder.headless;
39+
this.userAgent = builder.userAgent;
40+
this.viewPort = builder.viewPort;
41+
}
42+
43+
public static Builder builder() {
44+
return new Builder();
45+
}
46+
47+
public static BrowserConfiguration create() {
48+
return builder().build();
49+
}
50+
51+
public Builder toBuilder() {
52+
return new Builder(this);
53+
}
54+
55+
/**
56+
* @return browserType
57+
*/
58+
public String getBrowserType() {
59+
return this.browserType;
60+
}
61+
62+
/**
63+
* @return enableExtension
64+
*/
65+
public java.util.List<String> getEnableExtension() {
66+
return this.enableExtension;
67+
}
68+
69+
/**
70+
* @return headless
71+
*/
72+
public Boolean getHeadless() {
73+
return this.headless;
74+
}
75+
76+
/**
77+
* @return userAgent
78+
*/
79+
public String getUserAgent() {
80+
return this.userAgent;
81+
}
82+
83+
/**
84+
* @return viewPort
85+
*/
86+
public ViewPortConfiguration getViewPort() {
87+
return this.viewPort;
88+
}
89+
90+
public static final class Builder {
91+
private String browserType;
92+
private java.util.List<String> enableExtension;
93+
private Boolean headless;
94+
private String userAgent;
95+
private ViewPortConfiguration viewPort;
96+
97+
private Builder() {
98+
}
99+
100+
private Builder(BrowserConfiguration model) {
101+
this.browserType = model.browserType;
102+
this.enableExtension = model.enableExtension;
103+
this.headless = model.headless;
104+
this.userAgent = model.userAgent;
105+
this.viewPort = model.viewPort;
106+
}
107+
108+
/**
109+
* browserType.
110+
*/
111+
public Builder browserType(String browserType) {
112+
this.browserType = browserType;
113+
return this;
114+
}
115+
116+
/**
117+
* <p>要启用的浏览器扩展列表</p>
118+
*/
119+
public Builder enableExtension(java.util.List<String> enableExtension) {
120+
this.enableExtension = enableExtension;
121+
return this;
122+
}
123+
124+
/**
125+
* <p>是否以无头模式运行浏览器</p>
126+
*/
127+
public Builder headless(Boolean headless) {
128+
this.headless = headless;
129+
return this;
130+
}
131+
132+
/**
133+
* <p>浏览器用户代理字符串</p>
134+
*/
135+
public Builder userAgent(String userAgent) {
136+
this.userAgent = userAgent;
137+
return this;
138+
}
139+
140+
/**
141+
* viewPort.
142+
*/
143+
public Builder viewPort(ViewPortConfiguration viewPort) {
144+
this.viewPort = viewPort;
145+
return this;
146+
}
147+
148+
public BrowserConfiguration build() {
149+
return new BrowserConfiguration(this);
150+
}
151+
152+
}
153+
154+
}

agentrun-20250910/src/main/java/com/aliyun/sdk/service/agentrun20250910/models/CreateAgentRuntimeInput.java

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,12 @@ public class CreateAgentRuntimeInput extends TeaModel {
3636
private Float cpu;
3737

3838
@com.aliyun.core.annotation.NameInMap("credentialId")
39+
@Deprecated
3940
private String credentialId;
4041

42+
@com.aliyun.core.annotation.NameInMap("credentialName")
43+
private String credentialName;
44+
4145
@com.aliyun.core.annotation.NameInMap("description")
4246
private String description;
4347

@@ -82,6 +86,7 @@ private CreateAgentRuntimeInput(Builder builder) {
8286
this.containerConfiguration = builder.containerConfiguration;
8387
this.cpu = builder.cpu;
8488
this.credentialId = builder.credentialId;
89+
this.credentialName = builder.credentialName;
8590
this.description = builder.description;
8691
this.environmentVariables = builder.environmentVariables;
8792
this.executionRoleArn = builder.executionRoleArn;
@@ -149,6 +154,13 @@ public String getCredentialId() {
149154
return this.credentialId;
150155
}
151156

157+
/**
158+
* @return credentialName
159+
*/
160+
public String getCredentialName() {
161+
return this.credentialName;
162+
}
163+
152164
/**
153165
* @return description
154166
*/
@@ -233,6 +245,7 @@ public static final class Builder {
233245
private ContainerConfiguration containerConfiguration;
234246
private Float cpu;
235247
private String credentialId;
248+
private String credentialName;
236249
private String description;
237250
private java.util.Map<String, String> environmentVariables;
238251
private String executionRoleArn;
@@ -255,6 +268,7 @@ private Builder(CreateAgentRuntimeInput model) {
255268
this.containerConfiguration = model.containerConfiguration;
256269
this.cpu = model.cpu;
257270
this.credentialId = model.credentialId;
271+
this.credentialName = model.credentialName;
258272
this.description = model.description;
259273
this.environmentVariables = model.environmentVariables;
260274
this.executionRoleArn = model.executionRoleArn;
@@ -337,6 +351,17 @@ public Builder credentialId(String credentialId) {
337351
return this;
338352
}
339353

354+
/**
355+
* <p>用于访问智能体的凭证名称,访问智能体运行时将使用此凭证进行身份验证</p>
356+
*
357+
* <strong>example:</strong>
358+
* <p>my-credential</p>
359+
*/
360+
public Builder credentialName(String credentialName) {
361+
this.credentialName = credentialName;
362+
return this;
363+
}
364+
340365
/**
341366
* <p>智能体运行时的描述信息,用于说明该运行时的用途和功能</p>
342367
*

0 commit comments

Comments
 (0)