Skip to content

Commit 1314ae2

Browse files
committed
GPDB SDK Auto Released By shenshi,Version:1.0.1
发布日志: 1, Update Dependency
1 parent 6a05d70 commit 1314ae2

24 files changed

+1798
-25
lines changed

aliyun-java-sdk-gpdb/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2019-03-14 Version: 1.0.1
2+
1, Update Dependency
3+
14
2018-07-23 Version: 1.0.0
25
1, first publish
36

aliyun-java-sdk-gpdb/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<groupId>com.aliyun</groupId>
44
<artifactId>aliyun-java-sdk-gpdb</artifactId>
55
<packaging>jar</packaging>
6-
<version>1.0.0</version>
6+
<version>1.0.1</version>
77
<name>aliyun-java-sdk-gpdb</name>
88
<url>http://www.aliyun.com</url>
99
<description>Aliyun Open API SDK for Java
@@ -31,7 +31,7 @@ http://www.aliyun.com</description>
3131
<groupId>com.aliyun</groupId>
3232
<artifactId>aliyun-java-sdk-core</artifactId>
3333
<optional>true</optional>
34-
<version>3.7.1</version>
34+
<version>[4.3.2,5.0.0)</version>
3535
</dependency>
3636
</dependencies>
3737
<licenses>

aliyun-java-sdk-gpdb/src/main/java/com/aliyuncs/gpdb/model/v20160503/DescribeDBInstanceAttributeResponse.java

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ public static class DBInstanceAttribute {
111111

112112
private String connectionMode;
113113

114+
private List<Tag> tags;
115+
114116
public String getDBInstanceId() {
115117
return this.dBInstanceId;
116118
}
@@ -135,10 +137,26 @@ public void setDBInstanceClassType(String dBInstanceClassType) {
135137
this.dBInstanceClassType = dBInstanceClassType;
136138
}
137139

140+
public String getBizRegionId() {
141+
return this.regionId;
142+
}
143+
144+
public void setBizRegionId(String regionId) {
145+
this.regionId = regionId;
146+
}
147+
148+
/**
149+
* @deprecated use getBizRegionId instead of this.
150+
*/
151+
@Deprecated
138152
public String getRegionId() {
139153
return this.regionId;
140154
}
141155

156+
/**
157+
* @deprecated use setBizRegionId instead of this.
158+
*/
159+
@Deprecated
142160
public void setRegionId(String regionId) {
143161
this.regionId = regionId;
144162
}
@@ -366,6 +384,37 @@ public String getConnectionMode() {
366384
public void setConnectionMode(String connectionMode) {
367385
this.connectionMode = connectionMode;
368386
}
387+
388+
public List<Tag> getTags() {
389+
return this.tags;
390+
}
391+
392+
public void setTags(List<Tag> tags) {
393+
this.tags = tags;
394+
}
395+
396+
public static class Tag {
397+
398+
private String key;
399+
400+
private String value;
401+
402+
public String getKey() {
403+
return this.key;
404+
}
405+
406+
public void setKey(String key) {
407+
this.key = key;
408+
}
409+
410+
public String getValue() {
411+
return this.value;
412+
}
413+
414+
public void setValue(String value) {
415+
this.value = value;
416+
}
417+
}
369418
}
370419

371420
@Override

aliyun-java-sdk-gpdb/src/main/java/com/aliyuncs/gpdb/model/v20160503/DescribeDBInstancesRequest.java

Lines changed: 48 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414

1515
package com.aliyuncs.gpdb.model.v20160503;
1616

17-
import com.aliyuncs.RpcAcsRequest;
17+
import com.aliyuncs.RpcAcsRequest;
18+
import java.util.List;
1819

1920
/**
2021
* @author auto create
@@ -26,26 +27,28 @@ public DescribeDBInstancesRequest() {
2627
super("gpdb", "2016-05-03", "DescribeDBInstances", "gpdb");
2728
}
2829

29-
private String connectionMode;
30+
private String dBInstanceIds;
3031

3132
private Integer pageSize;
3233

3334
private String dBInstanceDescription;
3435

36+
private List<Tag> tags;
37+
3538
private Long ownerId;
3639

3740
private String instanceNetworkType;
3841

3942
private Integer pageNumber;
4043

41-
public String getConnectionMode() {
42-
return this.connectionMode;
44+
public String getDBInstanceIds() {
45+
return this.dBInstanceIds;
4346
}
4447

45-
public void setConnectionMode(String connectionMode) {
46-
this.connectionMode = connectionMode;
47-
if(connectionMode != null){
48-
putQueryParameter("ConnectionMode", connectionMode);
48+
public void setDBInstanceIds(String dBInstanceIds) {
49+
this.dBInstanceIds = dBInstanceIds;
50+
if(dBInstanceIds != null){
51+
putQueryParameter("DBInstanceIds", dBInstanceIds);
4952
}
5053
}
5154

@@ -71,6 +74,20 @@ public void setDBInstanceDescription(String dBInstanceDescription) {
7174
}
7275
}
7376

77+
public List<Tag> getTags() {
78+
return this.tags;
79+
}
80+
81+
public void setTags(List<Tag> tags) {
82+
this.tags = tags;
83+
if (tags != null) {
84+
for (int depth1 = 0; depth1 < tags.size(); depth1++) {
85+
putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tags.get(depth1).getValue());
86+
putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tags.get(depth1).getKey());
87+
}
88+
}
89+
}
90+
7491
public Long getOwnerId() {
7592
return this.ownerId;
7693
}
@@ -102,6 +119,29 @@ public void setPageNumber(Integer pageNumber) {
102119
if(pageNumber != null){
103120
putQueryParameter("PageNumber", pageNumber.toString());
104121
}
122+
}
123+
124+
public static class Tag {
125+
126+
private String value;
127+
128+
private String key;
129+
130+
public String getValue() {
131+
return this.value;
132+
}
133+
134+
public void setValue(String value) {
135+
this.value = value;
136+
}
137+
138+
public String getKey() {
139+
return this.key;
140+
}
141+
142+
public void setKey(String key) {
143+
this.key = key;
144+
}
105145
}
106146

107147
@Override

aliyun-java-sdk-gpdb/src/main/java/com/aliyuncs/gpdb/model/v20160503/DescribeDBInstancesResponse.java

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ public static class DBInstance {
111111

112112
private String vSwitchId;
113113

114+
private List<Tag> tags;
115+
114116
public String getDBInstanceId() {
115117
return this.dBInstanceId;
116118
}
@@ -151,10 +153,26 @@ public void setConnectionMode(String connectionMode) {
151153
this.connectionMode = connectionMode;
152154
}
153155

156+
public String getBizRegionId() {
157+
return this.regionId;
158+
}
159+
160+
public void setBizRegionId(String regionId) {
161+
this.regionId = regionId;
162+
}
163+
164+
/**
165+
* @deprecated use getBizRegionId instead of this.
166+
*/
167+
@Deprecated
154168
public String getRegionId() {
155169
return this.regionId;
156170
}
157171

172+
/**
173+
* @deprecated use setBizRegionId instead of this.
174+
*/
175+
@Deprecated
158176
public void setRegionId(String regionId) {
159177
this.regionId = regionId;
160178
}
@@ -246,6 +264,37 @@ public String getVSwitchId() {
246264
public void setVSwitchId(String vSwitchId) {
247265
this.vSwitchId = vSwitchId;
248266
}
267+
268+
public List<Tag> getTags() {
269+
return this.tags;
270+
}
271+
272+
public void setTags(List<Tag> tags) {
273+
this.tags = tags;
274+
}
275+
276+
public static class Tag {
277+
278+
private String key;
279+
280+
private String value;
281+
282+
public String getKey() {
283+
return this.key;
284+
}
285+
286+
public void setKey(String key) {
287+
this.key = key;
288+
}
289+
290+
public String getValue() {
291+
return this.value;
292+
}
293+
294+
public void setValue(String value) {
295+
this.value = value;
296+
}
297+
}
249298
}
250299

251300
@Override

0 commit comments

Comments
 (0)