Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3b89e00

Browse files
committed
ECS SDK Auto Released By hongchen,Version:4.16.4
发布日志: 1, Add multiple language support in DescribeZones 2, Add gray parameter in CreateDisk
1 parent f1c7181 commit 3b89e00

File tree

5 files changed

+44
-14
lines changed

5 files changed

+44
-14
lines changed

aliyun-java-sdk-ecs/ChangeLog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2019-03-28 Version: 4.16.4
2+
1, Add multiple language support in DescribeZones
3+
2, Add gray parameter in CreateDisk
4+
15
2019-03-13 Version: 4.16.3
26
1, add DescribeDemands interface
37

aliyun-java-sdk-ecs/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<groupId>com.aliyun</groupId>
44
<artifactId>aliyun-java-sdk-ecs</artifactId>
55
<packaging>jar</packaging>
6-
<version>4.16.3</version>
6+
<version>4.16.4</version>
77
<name>aliyun-java-sdk-ecs</name>
88
<url>http://www.aliyun.com</url>
99
<description>Aliyun Open API SDK for Java

aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/CreateDiskRequest.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ public CreateDiskRequest() {
5757

5858
private String kMSKeyId;
5959

60+
private String advancedFeatures;
61+
6062
public Long getResourceOwnerId() {
6163
return this.resourceOwnerId;
6264
}
@@ -225,6 +227,17 @@ public void setKMSKeyId(String kMSKeyId) {
225227
}
226228
}
227229

230+
public String getAdvancedFeatures() {
231+
return this.advancedFeatures;
232+
}
233+
234+
public void setAdvancedFeatures(String advancedFeatures) {
235+
this.advancedFeatures = advancedFeatures;
236+
if(advancedFeatures != null){
237+
putQueryParameter("AdvancedFeatures", advancedFeatures);
238+
}
239+
}
240+
228241
public static class Tag {
229242

230243
private String value;

aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/DescribeZonesRequest.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ public DescribeZonesRequest() {
3434

3535
private String ownerAccount;
3636

37+
private String acceptLanguage;
38+
3739
private Long ownerId;
3840

3941
private String instanceChargeType;
@@ -84,6 +86,17 @@ public void setOwnerAccount(String ownerAccount) {
8486
}
8587
}
8688

89+
public String getAcceptLanguage() {
90+
return this.acceptLanguage;
91+
}
92+
93+
public void setAcceptLanguage(String acceptLanguage) {
94+
this.acceptLanguage = acceptLanguage;
95+
if(acceptLanguage != null){
96+
putQueryParameter("AcceptLanguage", acceptLanguage);
97+
}
98+
}
99+
87100
public Long getOwnerId() {
88101
return this.ownerId;
89102
}

aliyun-java-sdk-ecs/src/main/java/com/aliyuncs/ecs/model/v20140526/ImportImageRequest.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ public ImportImageRequest() {
3333

3434
private String resourceOwnerAccount;
3535

36-
private String imageName;
37-
3836
private String roleName;
3937

4038
private String description;
@@ -45,6 +43,8 @@ public ImportImageRequest() {
4543

4644
private String platform;
4745

46+
private String imageName;
47+
4848
private String architecture;
4949

5050
public List<DiskDeviceMapping> getDiskDeviceMappings() {
@@ -87,17 +87,6 @@ public void setResourceOwnerAccount(String resourceOwnerAccount) {
8787
}
8888
}
8989

90-
public String getImageName() {
91-
return this.imageName;
92-
}
93-
94-
public void setImageName(String imageName) {
95-
this.imageName = imageName;
96-
if(imageName != null){
97-
putQueryParameter("ImageName", imageName);
98-
}
99-
}
100-
10190
public String getRoleName() {
10291
return this.roleName;
10392
}
@@ -153,6 +142,17 @@ public void setPlatform(String platform) {
153142
}
154143
}
155144

145+
public String getImageName() {
146+
return this.imageName;
147+
}
148+
149+
public void setImageName(String imageName) {
150+
this.imageName = imageName;
151+
if(imageName != null){
152+
putQueryParameter("ImageName", imageName);
153+
}
154+
}
155+
156156
public String getArchitecture() {
157157
return this.architecture;
158158
}

0 commit comments

Comments
 (0)