Skip to content

Commit

Permalink
Support DiskEncryption.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Nov 13, 2023
1 parent eda5f1e commit d08680c
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-adb/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2023-11-13 Version: 1.0.26
- Support DiskEncryption.

2023-11-03 Version: 1.0.25
- Generated 2019-03-15 for `adb`.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-adb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-adb</artifactId>
<packaging>jar</packaging>
<version>1.0.25</version>
<version>1.0.26</version>
<name>aliyun-java-sdk-adb</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ public class CreateDBClusterRequest extends RpcAcsRequest<CreateDBClusterRespons

private String computeResource;

private String kmsId;

private String elasticIOResource;

private String sourceDBInstanceName;
Expand Down Expand Up @@ -84,6 +86,8 @@ public class CreateDBClusterRequest extends RpcAcsRequest<CreateDBClusterRespons

private String vPCId;

private String diskEncryption;

private String payType;
public CreateDBClusterRequest() {
super("adb", "2019-03-15", "CreateDBCluster", "ads");
Expand Down Expand Up @@ -240,6 +244,17 @@ public void setComputeResource(String computeResource) {
}
}

public String getKmsId() {
return this.kmsId;
}

public void setKmsId(String kmsId) {
this.kmsId = kmsId;
if(kmsId != null){
putQueryParameter("KmsId", kmsId);
}
}

public String getElasticIOResource() {
return this.elasticIOResource;
}
Expand Down Expand Up @@ -416,6 +431,17 @@ public void setVPCId(String vPCId) {
}
}

public String getDiskEncryption() {
return this.diskEncryption;
}

public void setDiskEncryption(String diskEncryption) {
this.diskEncryption = diskEncryption;
if(diskEncryption != null){
putQueryParameter("DiskEncryption", diskEncryption);
}
}

public String getPayType() {
return this.payType;
}
Expand Down

0 comments on commit d08680c

Please sign in to comment.