Skip to content

Commit 505dcdf

Browse files
committed
Update endpoint info.
1 parent 2493475 commit 505dcdf

35 files changed

+2049
-15
lines changed

aliyun-java-sdk-polardb/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-11-28 Version: 1.8.57
2+
- Update endpoint info.
3+
14
2025-10-17 Version: 1.8.56
25
- Generated 2017-08-01 for `polardb`.
36

aliyun-java-sdk-polardb/pom.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.aliyun</groupId>
55
<artifactId>aliyun-java-sdk-polardb</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.8.56</version>
7+
<version>1.8.57</version>
88
<name>aliyun-java-sdk-polardb</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java
@@ -105,12 +105,11 @@ http://www.aliyun.com</description>
105105
<plugin>
106106
<groupId>org.sonatype.central</groupId>
107107
<artifactId>central-publishing-maven-plugin</artifactId>
108-
<version>0.8.0</version>
108+
<version>0.9.0</version>
109109
<extensions>true</extensions>
110110
<configuration>
111111
<publishingServerId>central</publishingServerId>
112112
<autoPublish>true</autoPublish>
113-
<waitUntil>published</waitUntil>
114113
</configuration>
115114
</plugin>
116115
</plugins>

aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/Endpoint.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,15 @@ public class Endpoint {
2828
put("cn-shenzhen-st4-d01", "polardb.aliyuncs.com");
2929
put("cn-haidian-cm12-c01", "polardb.aliyuncs.com");
3030
put("cn-hangzhou-internal-prod-1", "polardb.aliyuncs.com");
31-
put("cn-north-2-gov-1", "polardb.aliyuncs.com");
3231
put("cn-yushanfang", "polardb.aliyuncs.com");
3332
put("cn-qingdao", "polardb.aliyuncs.com");
3433
put("cn-hongkong-finance-pop", "polardb.aliyuncs.com");
3534
put("cn-qingdao-nebula", "polardb.aliyuncs.com");
3635
put("cn-shanghai", "polardb.aliyuncs.com");
37-
put("cn-shanghai-finance-1", "polardb.aliyuncs.com");
38-
put("cn-hongkong", "polardb.aliyuncs.com");
36+
put("cn-heyuan", "polardb.aliyuncs.com");
3937
put("cn-beijing-finance-pop", "polardb.aliyuncs.com");
4038
put("cn-wuhan", "polardb.aliyuncs.com");
4139
put("cn-zhangbei", "polardb.aliyuncs.com");
42-
put("cn-shenzhen", "polardb.aliyuncs.com");
4340
put("cn-zhengzhou-nebula-1", "polardb.aliyuncs.com");
4441
put("rus-west-1-pop", "polardb.aliyuncs.com");
4542
put("cn-shanghai-et15-b01", "polardb.aliyuncs.com");
@@ -49,12 +46,10 @@ public class Endpoint {
4946
put("cn-zhangbei-na61-b01", "polardb.aliyuncs.com");
5047
put("cn-beijing-finance-1", "polardb.aliyuncs.com");
5148
put("cn-hangzhou-internal-test-3", "polardb.aliyuncs.com");
52-
put("cn-shenzhen-finance-1", "polardb.aliyuncs.com");
5349
put("cn-hangzhou-internal-test-2", "polardb.aliyuncs.com");
5450
put("cn-hangzhou-test-306", "polardb.aliyuncs.com");
5551
put("cn-huhehaote-nebula-1", "polardb.aliyuncs.com");
5652
put("cn-shanghai-et2-b01", "polardb.aliyuncs.com");
57-
put("cn-guangzhou", "polardb.aliyuncs.com");
5853
put("cn-hangzhou-finance", "polardb.aliyuncs.com");
5954
put("cn-beijing-nu16-b01", "polardb.aliyuncs.com");
6055
put("cn-edge-1", "polardb.aliyuncs.com");
Lines changed: 197 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,197 @@
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.polardb.model.v20170801;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import java.util.List;
19+
import com.aliyuncs.http.ProtocolType;
20+
import com.aliyuncs.http.MethodType;
21+
import com.aliyuncs.polardb.Endpoint;
22+
23+
/**
24+
* @author auto create
25+
* @version
26+
*/
27+
public class AddPolarFsQuotaRequest extends RpcAcsRequest<AddPolarFsQuotaResponse> {
28+
29+
30+
private List<Quotas> quotass;
31+
32+
private String dBClusterId;
33+
34+
private String polarFsInstanceId;
35+
public AddPolarFsQuotaRequest() {
36+
super("polardb", "2017-08-01", "AddPolarFsQuota", "polardb");
37+
setProtocol(ProtocolType.HTTPS);
38+
setMethod(MethodType.POST);
39+
try {
40+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
41+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
42+
} catch (Exception e) {}
43+
}
44+
45+
public List<Quotas> getQuotass() {
46+
return this.quotass;
47+
}
48+
49+
public void setQuotass(List<Quotas> quotass) {
50+
this.quotass = quotass;
51+
if (quotass != null) {
52+
for (int depth1 = 0; depth1 < quotass.size(); depth1++) {
53+
putQueryParameter("Quotas." + (depth1 + 1) + ".Include" , quotass.get(depth1).getInclude());
54+
putQueryParameter("Quotas." + (depth1 + 1) + ".ChangeTTL" , quotass.get(depth1).getChangeTTL());
55+
putQueryParameter("Quotas." + (depth1 + 1) + ".SizeLimit" , quotass.get(depth1).getSizeLimit());
56+
putQueryParameter("Quotas." + (depth1 + 1) + ".AccessTTL" , quotass.get(depth1).getAccessTTL());
57+
putQueryParameter("Quotas." + (depth1 + 1) + ".Name" , quotass.get(depth1).getName());
58+
putQueryParameter("Quotas." + (depth1 + 1) + ".Description" , quotass.get(depth1).getDescription());
59+
putQueryParameter("Quotas." + (depth1 + 1) + ".Exclude" , quotass.get(depth1).getExclude());
60+
putQueryParameter("Quotas." + (depth1 + 1) + ".Priority" , quotass.get(depth1).getPriority());
61+
putQueryParameter("Quotas." + (depth1 + 1) + ".Enabled" , quotass.get(depth1).getEnabled());
62+
putQueryParameter("Quotas." + (depth1 + 1) + ".FileCountLimit" , quotass.get(depth1).getFileCountLimit());
63+
}
64+
}
65+
}
66+
67+
public String getDBClusterId() {
68+
return this.dBClusterId;
69+
}
70+
71+
public void setDBClusterId(String dBClusterId) {
72+
this.dBClusterId = dBClusterId;
73+
if(dBClusterId != null){
74+
putQueryParameter("DBClusterId", dBClusterId);
75+
}
76+
}
77+
78+
public String getPolarFsInstanceId() {
79+
return this.polarFsInstanceId;
80+
}
81+
82+
public void setPolarFsInstanceId(String polarFsInstanceId) {
83+
this.polarFsInstanceId = polarFsInstanceId;
84+
if(polarFsInstanceId != null){
85+
putQueryParameter("PolarFsInstanceId", polarFsInstanceId);
86+
}
87+
}
88+
89+
public static class Quotas {
90+
91+
private String include;
92+
93+
private Long changeTTL;
94+
95+
private Long sizeLimit;
96+
97+
private Long accessTTL;
98+
99+
private String name;
100+
101+
private String description;
102+
103+
private String exclude;
104+
105+
private Integer priority;
106+
107+
private Boolean enabled;
108+
109+
private Long fileCountLimit;
110+
111+
public String getInclude() {
112+
return this.include;
113+
}
114+
115+
public void setInclude(String include) {
116+
this.include = include;
117+
}
118+
119+
public Long getChangeTTL() {
120+
return this.changeTTL;
121+
}
122+
123+
public void setChangeTTL(Long changeTTL) {
124+
this.changeTTL = changeTTL;
125+
}
126+
127+
public Long getSizeLimit() {
128+
return this.sizeLimit;
129+
}
130+
131+
public void setSizeLimit(Long sizeLimit) {
132+
this.sizeLimit = sizeLimit;
133+
}
134+
135+
public Long getAccessTTL() {
136+
return this.accessTTL;
137+
}
138+
139+
public void setAccessTTL(Long accessTTL) {
140+
this.accessTTL = accessTTL;
141+
}
142+
143+
public String getName() {
144+
return this.name;
145+
}
146+
147+
public void setName(String name) {
148+
this.name = name;
149+
}
150+
151+
public String getDescription() {
152+
return this.description;
153+
}
154+
155+
public void setDescription(String description) {
156+
this.description = description;
157+
}
158+
159+
public String getExclude() {
160+
return this.exclude;
161+
}
162+
163+
public void setExclude(String exclude) {
164+
this.exclude = exclude;
165+
}
166+
167+
public Integer getPriority() {
168+
return this.priority;
169+
}
170+
171+
public void setPriority(Integer priority) {
172+
this.priority = priority;
173+
}
174+
175+
public Boolean getEnabled() {
176+
return this.enabled;
177+
}
178+
179+
public void setEnabled(Boolean enabled) {
180+
this.enabled = enabled;
181+
}
182+
183+
public Long getFileCountLimit() {
184+
return this.fileCountLimit;
185+
}
186+
187+
public void setFileCountLimit(Long fileCountLimit) {
188+
this.fileCountLimit = fileCountLimit;
189+
}
190+
}
191+
192+
@Override
193+
public Class<AddPolarFsQuotaResponse> getResponseClass() {
194+
return AddPolarFsQuotaResponse.class;
195+
}
196+
197+
}
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.polardb.model.v20170801;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.polardb.transform.v20170801.AddPolarFsQuotaResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class AddPolarFsQuotaResponse extends AcsResponse {
26+
27+
private String requestId;
28+
29+
private String polarFsInstanceId;
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 getPolarFsInstanceId() {
40+
return this.polarFsInstanceId;
41+
}
42+
43+
public void setPolarFsInstanceId(String polarFsInstanceId) {
44+
this.polarFsInstanceId = polarFsInstanceId;
45+
}
46+
47+
@Override
48+
public AddPolarFsQuotaResponse getInstance(UnmarshallerContext context) {
49+
return AddPolarFsQuotaResponseUnmarshaller.unmarshall(this, context);
50+
}
51+
52+
@Override
53+
public boolean checkShowJsonItemName() {
54+
return false;
55+
}
56+
}

0 commit comments

Comments
 (0)