Skip to content

Commit 092681e

Browse files
committed
Generated java-async 2023-10-12 for milvus.
1 parent 6ad5ca1 commit 092681e

29 files changed

+1228
-181
lines changed

milvus-20231012/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-09-18 Version: 1.0.9
2+
- Generated java-async 2023-10-12 for milvus.
3+
14
2025-02-26 Version: 1.0.8
25
- Generated java-async 2023-10-12 for milvus.
36

milvus-20231012/pom.xml

Lines changed: 18 additions & 18 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-milvus20231012</artifactId>
6-
<version>1.0.8</version>
6+
<version>1.0.9</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-milvus20231012</name>
99
<description>Alibaba Cloud milvus (20231012) Async SDK for Java
@@ -25,17 +25,17 @@
2525
<distributionManagement>
2626
<snapshotRepository>
2727
<id>sonatype-nexus-snapshots</id>
28-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
28+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
2929
</snapshotRepository>
3030
<repository>
3131
<id>sonatype-nexus-staging</id>
32-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
32+
<url>https://central.sonatype.com</url>
3333
</repository>
3434
</distributionManagement>
3535
<scm>
36-
<connection/>
37-
<developerConnection/>
38-
<url/>
36+
<connection>scm:git:git://github.com/aliyun/alibabacloud-java-async-sdk.git</connection>
37+
<developerConnection>scm:git:[email protected]:aliyun/alibabacloud-java-async-sdk.git</developerConnection>
38+
<url>https://github.com/aliyun/alibabacloud-java-async-sdk</url>
3939
</scm>
4040
<properties>
4141
<java.version>1.8</java.version>
@@ -76,7 +76,7 @@
7676
<plugin>
7777
<groupId>org.apache.maven.plugins</groupId>
7878
<artifactId>maven-gpg-plugin</artifactId>
79-
<version>1.6</version>
79+
<version>3.1.0</version>
8080
<executions>
8181
<execution>
8282
<id>sign-artifacts</id>
@@ -87,17 +87,6 @@
8787
</execution>
8888
</executions>
8989
</plugin>
90-
<plugin>
91-
<groupId>org.sonatype.plugins</groupId>
92-
<artifactId>nexus-staging-maven-plugin</artifactId>
93-
<version>1.6.3</version>
94-
<extensions>true</extensions>
95-
<configuration>
96-
<serverId>sonatype-nexus-staging</serverId>
97-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
98-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
99-
</configuration>
100-
</plugin>
10190
<plugin>
10291
<groupId>org.apache.maven.plugins</groupId>
10392
<artifactId>maven-javadoc-plugin</artifactId>
@@ -112,6 +101,17 @@
112101
<artifactId>maven-surefire-plugin</artifactId>
113102
<version>2.22.1</version>
114103
</plugin>
104+
<plugin>
105+
<groupId>org.sonatype.central</groupId>
106+
<artifactId>central-publishing-maven-plugin</artifactId>
107+
<version>0.8.0</version>
108+
<extensions>true</extensions>
109+
<configuration>
110+
<publishingServerId>central</publishingServerId>
111+
<autoPublish>true</autoPublish>
112+
<waitUntil>published</waitUntil>
113+
</configuration>
114+
</plugin>
115115
</plugins>
116116
</build>
117117
</project>

milvus-20231012/src/main/java/com/aliyun/sdk/service/milvus20231012/models/CreateDefaultRoleRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public static CreateDefaultRoleRequest create() {
3434
return builder().build();
3535
}
3636

37-
@Override
37+
@Override
3838
public Builder toBuilder() {
3939
return new Builder(this);
4040
}

milvus-20231012/src/main/java/com/aliyun/sdk/service/milvus20231012/models/CreateDefaultRoleResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public static CreateDefaultRoleResponse create() {
3737
return new BuilderImpl().build();
3838
}
3939

40-
@Override
40+
@Override
4141
public Builder toBuilder() {
4242
return new BuilderImpl(this);
4343
}

milvus-20231012/src/main/java/com/aliyun/sdk/service/milvus20231012/models/CreateDefaultRoleResponseBody.java

Lines changed: 45 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ public static CreateDefaultRoleResponseBody create() {
5656
return builder().build();
5757
}
5858

59+
public Builder toBuilder() {
60+
return new Builder(this);
61+
}
62+
5963
/**
6064
* @return accessDeniedDetail
6165
*/
@@ -114,56 +118,90 @@ public static final class Builder {
114118
private String requestId;
115119
private Boolean success;
116120

121+
private Builder() {
122+
}
123+
124+
private Builder(CreateDefaultRoleResponseBody model) {
125+
this.accessDeniedDetail = model.accessDeniedDetail;
126+
this.data = model.data;
127+
this.errCode = model.errCode;
128+
this.errMessage = model.errMessage;
129+
this.httpStatusCode = model.httpStatusCode;
130+
this.requestId = model.requestId;
131+
this.success = model.success;
132+
}
133+
117134
/**
118-
* AccessDeniedDetail.
135+
* <p>The details about the failed permission verification.</p>
136+
*
137+
* <strong>example:</strong>
138+
* <p>{ &quot;PolicyType&quot;: &quot;AccountLevelIdentityBasedPolicy&quot;, &quot;AuthPrincipalOwnerId&quot;: &quot;xxxx&quot;, &quot;EncodedDiagnosticMessage&quot;: &quot;xxxx&quot;, &quot;AuthPrincipalType&quot;: &quot;SubUser&quot;, &quot;AuthPrincipalDisplayName&quot;: &quot;xxxx&quot;, &quot;NoPermissionType&quot;: &quot;ImplicitDeny&quot;, &quot;AuthAction&quot;: &quot;milvus:xxxx&quot; }</p>
119139
*/
120140
public Builder accessDeniedDetail(String accessDeniedDetail) {
121141
this.accessDeniedDetail = accessDeniedDetail;
122142
return this;
123143
}
124144

125145
/**
126-
* Data.
146+
* <p>The returned result.</p>
147+
*
148+
* <strong>example:</strong>
149+
* <p>true</p>
127150
*/
128151
public Builder data(Boolean data) {
129152
this.data = data;
130153
return this;
131154
}
132155

133156
/**
134-
* ErrCode.
157+
* <p>The error code</p>
158+
*
159+
* <strong>example:</strong>
160+
* <p>Instance.NotFound</p>
135161
*/
136162
public Builder errCode(String errCode) {
137163
this.errCode = errCode;
138164
return this;
139165
}
140166

141167
/**
142-
* ErrMessage.
168+
* <p>The error message returned.</p>
169+
*
170+
* <strong>example:</strong>
171+
* <p>Failed to find instance c-123xxx</p>
143172
*/
144173
public Builder errMessage(String errMessage) {
145174
this.errMessage = errMessage;
146175
return this;
147176
}
148177

149178
/**
150-
* HttpStatusCode.
179+
* <p>The HTTP status code.</p>
180+
*
181+
* <strong>example:</strong>
182+
* <p>200</p>
151183
*/
152184
public Builder httpStatusCode(Integer httpStatusCode) {
153185
this.httpStatusCode = httpStatusCode;
154186
return this;
155187
}
156188

157189
/**
158-
* RequestId.
190+
* <p>The ID of the request.</p>
191+
*
192+
* <strong>example:</strong>
193+
* <p>ABCD-1234-5678-EFGH</p>
159194
*/
160195
public Builder requestId(String requestId) {
161196
this.requestId = requestId;
162197
return this;
163198
}
164199

165200
/**
166-
* Success.
201+
* <p>Indicates whether the request was successful.</p>
202+
*
203+
* <strong>example:</strong>
204+
* <p>true</p>
167205
*/
168206
public Builder success(Boolean success) {
169207
this.success = success;

milvus-20231012/src/main/java/com/aliyun/sdk/service/milvus20231012/models/DescribeAccessControlListRequest.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public static DescribeAccessControlListRequest create() {
3939
return builder().build();
4040
}
4141

42-
@Override
42+
@Override
4343
public Builder toBuilder() {
4444
return new Builder(this);
4545
}
@@ -82,7 +82,10 @@ public Builder region(String region) {
8282
}
8383

8484
/**
85-
* InstanceId.
85+
* <p>The ID of the instance.</p>
86+
*
87+
* <strong>example:</strong>
88+
* <p>c-123xxx</p>
8689
*/
8790
public Builder instanceId(String instanceId) {
8891
this.putQueryParameter("InstanceId", instanceId);

milvus-20231012/src/main/java/com/aliyun/sdk/service/milvus20231012/models/DescribeAccessControlListResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public static DescribeAccessControlListResponse create() {
3737
return new BuilderImpl().build();
3838
}
3939

40-
@Override
40+
@Override
4141
public Builder toBuilder() {
4242
return new BuilderImpl(this);
4343
}

milvus-20231012/src/main/java/com/aliyun/sdk/service/milvus20231012/models/DescribeAccessControlListResponseBody.java

Lines changed: 55 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ public static DescribeAccessControlListResponseBody create() {
5656
return builder().build();
5757
}
5858

59+
public Builder toBuilder() {
60+
return new Builder(this);
61+
}
62+
5963
/**
6064
* @return accessDeniedDetail
6165
*/
@@ -114,56 +118,87 @@ public static final class Builder {
114118
private String requestId;
115119
private Boolean success;
116120

121+
private Builder() {
122+
}
123+
124+
private Builder(DescribeAccessControlListResponseBody model) {
125+
this.accessDeniedDetail = model.accessDeniedDetail;
126+
this.data = model.data;
127+
this.errMessage = model.errMessage;
128+
this.errorCode = model.errorCode;
129+
this.httpStatusCode = model.httpStatusCode;
130+
this.requestId = model.requestId;
131+
this.success = model.success;
132+
}
133+
117134
/**
118-
* AccessDeniedDetail.
135+
* <p>The detailed information about the failed permission verification.</p>
136+
*
137+
* <strong>example:</strong>
138+
* <p>{ &quot;PolicyType&quot;: &quot;AccountLevelIdentityBasedPolicy&quot;, &quot;AuthPrincipalOwnerId&quot;: &quot;xxxx&quot;, &quot;EncodedDiagnosticMessage&quot;: &quot;xxxx&quot;, &quot;AuthPrincipalType&quot;: &quot;SubUser&quot;, &quot;AuthPrincipalDisplayName&quot;: &quot;xxxx&quot;, &quot;NoPermissionType&quot;: &quot;ImplicitDeny&quot;, &quot;AuthAction&quot;: &quot;milvus:xxxx&quot; }</p>
119139
*/
120140
public Builder accessDeniedDetail(String accessDeniedDetail) {
121141
this.accessDeniedDetail = accessDeniedDetail;
122142
return this;
123143
}
124144

125145
/**
126-
* Data.
146+
* <p>The returned result.</p>
127147
*/
128148
public Builder data(Data data) {
129149
this.data = data;
130150
return this;
131151
}
132152

133153
/**
134-
* ErrMessage.
154+
* <p>The error message.</p>
155+
*
156+
* <strong>example:</strong>
157+
* <p>Failed to find instance c-123xxx</p>
135158
*/
136159
public Builder errMessage(String errMessage) {
137160
this.errMessage = errMessage;
138161
return this;
139162
}
140163

141164
/**
142-
* ErrorCode.
165+
* <p>The error code returned.</p>
166+
*
167+
* <strong>example:</strong>
168+
* <p>Instance.NotFound</p>
143169
*/
144170
public Builder errorCode(String errorCode) {
145171
this.errorCode = errorCode;
146172
return this;
147173
}
148174

149175
/**
150-
* HttpStatusCode.
176+
* <p>The HTTP status code.</p>
177+
*
178+
* <strong>example:</strong>
179+
* <p>200</p>
151180
*/
152181
public Builder httpStatusCode(Integer httpStatusCode) {
153182
this.httpStatusCode = httpStatusCode;
154183
return this;
155184
}
156185

157186
/**
158-
* RequestId.
187+
* <p>The ID of the request.</p>
188+
*
189+
* <strong>example:</strong>
190+
* <p>ABCD-1234-5678-EFGH</p>
159191
*/
160192
public Builder requestId(String requestId) {
161193
this.requestId = requestId;
162194
return this;
163195
}
164196

165197
/**
166-
* Success.
198+
* <p>Indicates whether the request was successful.</p>
199+
*
200+
* <strong>example:</strong>
201+
* <p>true</p>
167202
*/
168203
public Builder success(Boolean success) {
169204
this.success = success;
@@ -220,16 +255,27 @@ public static final class Builder {
220255
private String aclId;
221256
private java.util.List<String> cidr;
222257

258+
private Builder() {
259+
}
260+
261+
private Builder(Data model) {
262+
this.aclId = model.aclId;
263+
this.cidr = model.cidr;
264+
}
265+
223266
/**
224-
* AclId.
267+
* <p>AclId for public network access control.</p>
268+
*
269+
* <strong>example:</strong>
270+
* <p>acl-xxxx</p>
225271
*/
226272
public Builder aclId(String aclId) {
227273
this.aclId = aclId;
228274
return this;
229275
}
230276

231277
/**
232-
* Cidr.
278+
* <p>The CIDR blocks.</p>
233279
*/
234280
public Builder cidr(java.util.List<String> cidr) {
235281
this.cidr = cidr;

milvus-20231012/src/main/java/com/aliyun/sdk/service/milvus20231012/models/DescribeInstanceConfigsRequest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public static DescribeInstanceConfigsRequest create() {
4040
return builder().build();
4141
}
4242

43-
@Override
43+
@Override
4444
public Builder toBuilder() {
4545
return new Builder(this);
4646
}
@@ -83,6 +83,7 @@ public Builder regionId(String regionId) {
8383
}
8484

8585
/**
86+
* <p>The ID of the instance.</p>
8687
* <p>This parameter is required.</p>
8788
*
8889
* <strong>example:</strong>

0 commit comments

Comments
 (0)