Skip to content

Commit 694105d

Browse files
committed
Add LtsSpec and LtsNum parameter in CreateLindormInstance API.
1 parent 41188bf commit 694105d

14 files changed

+708
-1
lines changed

aliyun-java-sdk-hitsdb/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2024-05-15 Version: 3.1.16
2+
- Add LtsSpec and LtsNum parameter in CreateLindormInstance API.
3+
14
2024-01-16 Version: 3.1.15
25
- Update Tea.
36

aliyun-java-sdk-hitsdb/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.aliyun</groupId>
55
<artifactId>aliyun-java-sdk-hitsdb</artifactId>
66
<packaging>jar</packaging>
7-
<version>3.1.15</version>
7+
<version>3.1.16</version>
88
<name>aliyun-java-sdk-hitsdb</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java

aliyun-java-sdk-hitsdb/src/main/java/com/aliyuncs/hitsdb/model/v20200615/CreateLindormInstanceRequest.java

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ public class CreateLindormInstanceRequest extends RpcAcsRequest<CreateLindormIns
6161

6262
private String arbiterZoneId;
6363

64+
private String ltsSpec;
65+
6466
private String pricingCycle;
6567

6668
private String multiZoneCombination;
@@ -77,6 +79,8 @@ public class CreateLindormInstanceRequest extends RpcAcsRequest<CreateLindormIns
7779

7880
private String lindormSpec;
7981

82+
private String ltsNum;
83+
8084
private Integer coldStorage;
8185

8286
private Integer logNum;
@@ -315,6 +319,17 @@ public void setArbiterZoneId(String arbiterZoneId) {
315319
}
316320
}
317321

322+
public String getLtsSpec() {
323+
return this.ltsSpec;
324+
}
325+
326+
public void setLtsSpec(String ltsSpec) {
327+
this.ltsSpec = ltsSpec;
328+
if(ltsSpec != null){
329+
putQueryParameter("LtsSpec", ltsSpec);
330+
}
331+
}
332+
318333
public String getPricingCycle() {
319334
return this.pricingCycle;
320335
}
@@ -403,6 +418,17 @@ public void setLindormSpec(String lindormSpec) {
403418
}
404419
}
405420

421+
public String getLtsNum() {
422+
return this.ltsNum;
423+
}
424+
425+
public void setLtsNum(String ltsNum) {
426+
this.ltsNum = ltsNum;
427+
if(ltsNum != null){
428+
putQueryParameter("LtsNum", ltsNum);
429+
}
430+
}
431+
406432
public Integer getColdStorage() {
407433
return this.coldStorage;
408434
}
Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.hitsdb.model.v20200615;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import com.aliyuncs.http.MethodType;
19+
import com.aliyuncs.hitsdb.Endpoint;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class GetClientSourceIpRequest extends RpcAcsRequest<GetClientSourceIpResponse> {
26+
27+
28+
private Long resourceOwnerId;
29+
30+
private String securityToken;
31+
32+
private String resourceOwnerAccount;
33+
34+
private String ownerAccount;
35+
36+
private Long ownerId;
37+
38+
private String instanceId;
39+
public GetClientSourceIpRequest() {
40+
super("hitsdb", "2020-06-15", "GetClientSourceIp", "hitsdb");
41+
setMethod(MethodType.POST);
42+
try {
43+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
44+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
45+
} catch (Exception e) {}
46+
}
47+
48+
public Long getResourceOwnerId() {
49+
return this.resourceOwnerId;
50+
}
51+
52+
public void setResourceOwnerId(Long resourceOwnerId) {
53+
this.resourceOwnerId = resourceOwnerId;
54+
if(resourceOwnerId != null){
55+
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
56+
}
57+
}
58+
59+
public String getSecurityToken() {
60+
return this.securityToken;
61+
}
62+
63+
public void setSecurityToken(String securityToken) {
64+
this.securityToken = securityToken;
65+
if(securityToken != null){
66+
putQueryParameter("SecurityToken", securityToken);
67+
}
68+
}
69+
70+
public String getResourceOwnerAccount() {
71+
return this.resourceOwnerAccount;
72+
}
73+
74+
public void setResourceOwnerAccount(String resourceOwnerAccount) {
75+
this.resourceOwnerAccount = resourceOwnerAccount;
76+
if(resourceOwnerAccount != null){
77+
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
78+
}
79+
}
80+
81+
public String getOwnerAccount() {
82+
return this.ownerAccount;
83+
}
84+
85+
public void setOwnerAccount(String ownerAccount) {
86+
this.ownerAccount = ownerAccount;
87+
if(ownerAccount != null){
88+
putQueryParameter("OwnerAccount", ownerAccount);
89+
}
90+
}
91+
92+
public Long getOwnerId() {
93+
return this.ownerId;
94+
}
95+
96+
public void setOwnerId(Long ownerId) {
97+
this.ownerId = ownerId;
98+
if(ownerId != null){
99+
putQueryParameter("OwnerId", ownerId.toString());
100+
}
101+
}
102+
103+
public String getInstanceId() {
104+
return this.instanceId;
105+
}
106+
107+
public void setInstanceId(String instanceId) {
108+
this.instanceId = instanceId;
109+
if(instanceId != null){
110+
putQueryParameter("InstanceId", instanceId);
111+
}
112+
}
113+
114+
@Override
115+
public Class<GetClientSourceIpResponse> getResponseClass() {
116+
return GetClientSourceIpResponse.class;
117+
}
118+
119+
}
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.hitsdb.model.v20200615;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.hitsdb.transform.v20200615.GetClientSourceIpResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class GetClientSourceIpResponse extends AcsResponse {
26+
27+
private String requestId;
28+
29+
private String clientIp;
30+
31+
public String getRequestId() {
32+
return this.requestId;
33+
}
34+
35+
public void setRequestId(String requestId) {
36+
this.requestId = requestId;
37+
}
38+
39+
public String getClientIp() {
40+
return this.clientIp;
41+
}
42+
43+
public void setClientIp(String clientIp) {
44+
this.clientIp = clientIp;
45+
}
46+
47+
@Override
48+
public GetClientSourceIpResponse getInstance(UnmarshallerContext context) {
49+
return GetClientSourceIpResponseUnmarshaller.unmarshall(this, context);
50+
}
51+
52+
@Override
53+
public boolean checkShowJsonItemName() {
54+
return false;
55+
}
56+
}

aliyun-java-sdk-hitsdb/src/main/java/com/aliyuncs/hitsdb/model/v20200615/GetLindormInstanceListResponse.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,12 @@ public static class LindormInstanceSummary {
115115

116116
private String resourceGroupId;
117117

118+
private Boolean enableMessage;
119+
120+
private Boolean enableVector;
121+
122+
private Boolean enableLts;
123+
118124
private List<Tag> tags;
119125

120126
public String getVpcId() {
@@ -269,6 +275,30 @@ public void setResourceGroupId(String resourceGroupId) {
269275
this.resourceGroupId = resourceGroupId;
270276
}
271277

278+
public Boolean getEnableMessage() {
279+
return this.enableMessage;
280+
}
281+
282+
public void setEnableMessage(Boolean enableMessage) {
283+
this.enableMessage = enableMessage;
284+
}
285+
286+
public Boolean getEnableVector() {
287+
return this.enableVector;
288+
}
289+
290+
public void setEnableVector(Boolean enableVector) {
291+
this.enableVector = enableVector;
292+
}
293+
294+
public Boolean getEnableLts() {
295+
return this.enableLts;
296+
}
297+
298+
public void setEnableLts(Boolean enableLts) {
299+
this.enableLts = enableLts;
300+
}
301+
272302
public List<Tag> getTags() {
273303
return this.tags;
274304
}

0 commit comments

Comments
 (0)