Skip to content

Commit e82a6a6

Browse files
committed
Generated java-async 2020-06-15 for hitsdb.
1 parent d370344 commit e82a6a6

File tree

7 files changed

+669
-1
lines changed

7 files changed

+669
-1
lines changed

hitsdb-20200615/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: 4.0.15
2+
- Generated java-async 2020-06-15 for hitsdb.
3+
14
2025-06-09 Version: 4.0.14
25
- Generated java-async 2020-06-15 for hitsdb.
36

hitsdb-20200615/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-hitsdb20200615</artifactId>
6-
<version>4.0.14</version>
6+
<version>4.0.15</version>
77
<packaging>jar</packaging>
88
<name>alibabacloud-hitsdb20200615</name>
99
<description>Alibaba Cloud hitsdb (20200615) Async SDK for Java

hitsdb-20200615/src/main/java/com/aliyun/sdk/service/hitsdb20200615/AsyncClient.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,12 @@ static AsyncClient create() {
199199
*/
200200
CompletableFuture<GetLindormV2StorageUsageResponse> getLindormV2StorageUsage(GetLindormV2StorageUsageRequest request);
201201

202+
/**
203+
* @param request the request parameters of GetLindormV2StreamEngineInfo GetLindormV2StreamEngineInfoRequest
204+
* @return GetLindormV2StreamEngineInfoResponse
205+
*/
206+
CompletableFuture<GetLindormV2StreamEngineInfoResponse> getLindormV2StreamEngineInfo(GetLindormV2StreamEngineInfoRequest request);
207+
202208
/**
203209
* @param request the request parameters of ListAutoScalingConfigs ListAutoScalingConfigsRequest
204210
* @return ListAutoScalingConfigsResponse

hitsdb-20200615/src/main/java/com/aliyun/sdk/service/hitsdb20200615/DefaultAsyncClient.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,24 @@ public CompletableFuture<GetLindormV2StorageUsageResponse> getLindormV2StorageUs
567567
}
568568
}
569569

570+
/**
571+
* @param request the request parameters of GetLindormV2StreamEngineInfo GetLindormV2StreamEngineInfoRequest
572+
* @return GetLindormV2StreamEngineInfoResponse
573+
*/
574+
@Override
575+
public CompletableFuture<GetLindormV2StreamEngineInfoResponse> getLindormV2StreamEngineInfo(GetLindormV2StreamEngineInfoRequest request) {
576+
try {
577+
this.handler.validateRequestModel(request);
578+
TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetLindormV2StreamEngineInfo").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request);
579+
ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetLindormV2StreamEngineInfoResponse.create());
580+
return this.handler.execute(params);
581+
} catch (Exception e) {
582+
CompletableFuture<GetLindormV2StreamEngineInfoResponse> future = new CompletableFuture<>();
583+
future.completeExceptionally(e);
584+
return future;
585+
}
586+
}
587+
570588
/**
571589
* @param request the request parameters of ListAutoScalingConfigs ListAutoScalingConfigsRequest
572590
* @return ListAutoScalingConfigsResponse
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,218 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
package com.aliyun.sdk.service.hitsdb20200615.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 GetLindormV2StreamEngineInfoRequest} extends {@link RequestModel}
16+
*
17+
* <p>GetLindormV2StreamEngineInfoRequest</p>
18+
*/
19+
public class GetLindormV2StreamEngineInfoRequest extends Request {
20+
@com.aliyun.core.annotation.Host
21+
@com.aliyun.core.annotation.NameInMap("RegionId")
22+
private String regionId;
23+
24+
@com.aliyun.core.annotation.Query
25+
@com.aliyun.core.annotation.NameInMap("InstanceId")
26+
@com.aliyun.core.annotation.Validation(required = true)
27+
private String instanceId;
28+
29+
@com.aliyun.core.annotation.Query
30+
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
31+
private String ownerAccount;
32+
33+
@com.aliyun.core.annotation.Query
34+
@com.aliyun.core.annotation.NameInMap("OwnerId")
35+
@com.aliyun.core.annotation.Validation(minimum = 1)
36+
private Long ownerId;
37+
38+
@com.aliyun.core.annotation.Query
39+
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
40+
private String resourceOwnerAccount;
41+
42+
@com.aliyun.core.annotation.Query
43+
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
44+
@com.aliyun.core.annotation.Validation(minimum = 1)
45+
private Long resourceOwnerId;
46+
47+
@com.aliyun.core.annotation.Query
48+
@com.aliyun.core.annotation.NameInMap("SecurityToken")
49+
private String securityToken;
50+
51+
private GetLindormV2StreamEngineInfoRequest(Builder builder) {
52+
super(builder);
53+
this.regionId = builder.regionId;
54+
this.instanceId = builder.instanceId;
55+
this.ownerAccount = builder.ownerAccount;
56+
this.ownerId = builder.ownerId;
57+
this.resourceOwnerAccount = builder.resourceOwnerAccount;
58+
this.resourceOwnerId = builder.resourceOwnerId;
59+
this.securityToken = builder.securityToken;
60+
}
61+
62+
public static Builder builder() {
63+
return new Builder();
64+
}
65+
66+
public static GetLindormV2StreamEngineInfoRequest create() {
67+
return builder().build();
68+
}
69+
70+
@Override
71+
public Builder toBuilder() {
72+
return new Builder(this);
73+
}
74+
75+
/**
76+
* @return regionId
77+
*/
78+
public String getRegionId() {
79+
return this.regionId;
80+
}
81+
82+
/**
83+
* @return instanceId
84+
*/
85+
public String getInstanceId() {
86+
return this.instanceId;
87+
}
88+
89+
/**
90+
* @return ownerAccount
91+
*/
92+
public String getOwnerAccount() {
93+
return this.ownerAccount;
94+
}
95+
96+
/**
97+
* @return ownerId
98+
*/
99+
public Long getOwnerId() {
100+
return this.ownerId;
101+
}
102+
103+
/**
104+
* @return resourceOwnerAccount
105+
*/
106+
public String getResourceOwnerAccount() {
107+
return this.resourceOwnerAccount;
108+
}
109+
110+
/**
111+
* @return resourceOwnerId
112+
*/
113+
public Long getResourceOwnerId() {
114+
return this.resourceOwnerId;
115+
}
116+
117+
/**
118+
* @return securityToken
119+
*/
120+
public String getSecurityToken() {
121+
return this.securityToken;
122+
}
123+
124+
public static final class Builder extends Request.Builder<GetLindormV2StreamEngineInfoRequest, Builder> {
125+
private String regionId;
126+
private String instanceId;
127+
private String ownerAccount;
128+
private Long ownerId;
129+
private String resourceOwnerAccount;
130+
private Long resourceOwnerId;
131+
private String securityToken;
132+
133+
private Builder() {
134+
super();
135+
}
136+
137+
private Builder(GetLindormV2StreamEngineInfoRequest request) {
138+
super(request);
139+
this.regionId = request.regionId;
140+
this.instanceId = request.instanceId;
141+
this.ownerAccount = request.ownerAccount;
142+
this.ownerId = request.ownerId;
143+
this.resourceOwnerAccount = request.resourceOwnerAccount;
144+
this.resourceOwnerId = request.resourceOwnerId;
145+
this.securityToken = request.securityToken;
146+
}
147+
148+
/**
149+
* RegionId.
150+
*/
151+
public Builder regionId(String regionId) {
152+
this.putHostParameter("RegionId", regionId);
153+
this.regionId = regionId;
154+
return this;
155+
}
156+
157+
/**
158+
* <p>This parameter is required.</p>
159+
*/
160+
public Builder instanceId(String instanceId) {
161+
this.putQueryParameter("InstanceId", instanceId);
162+
this.instanceId = instanceId;
163+
return this;
164+
}
165+
166+
/**
167+
* OwnerAccount.
168+
*/
169+
public Builder ownerAccount(String ownerAccount) {
170+
this.putQueryParameter("OwnerAccount", ownerAccount);
171+
this.ownerAccount = ownerAccount;
172+
return this;
173+
}
174+
175+
/**
176+
* OwnerId.
177+
*/
178+
public Builder ownerId(Long ownerId) {
179+
this.putQueryParameter("OwnerId", ownerId);
180+
this.ownerId = ownerId;
181+
return this;
182+
}
183+
184+
/**
185+
* ResourceOwnerAccount.
186+
*/
187+
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
188+
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
189+
this.resourceOwnerAccount = resourceOwnerAccount;
190+
return this;
191+
}
192+
193+
/**
194+
* ResourceOwnerId.
195+
*/
196+
public Builder resourceOwnerId(Long resourceOwnerId) {
197+
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
198+
this.resourceOwnerId = resourceOwnerId;
199+
return this;
200+
}
201+
202+
/**
203+
* SecurityToken.
204+
*/
205+
public Builder securityToken(String securityToken) {
206+
this.putQueryParameter("SecurityToken", securityToken);
207+
this.securityToken = securityToken;
208+
return this;
209+
}
210+
211+
@Override
212+
public GetLindormV2StreamEngineInfoRequest build() {
213+
return new GetLindormV2StreamEngineInfoRequest(this);
214+
}
215+
216+
}
217+
218+
}

0 commit comments

Comments
 (0)