Skip to content

Commit 45320b3

Browse files
committed
Add BackupStorageType.
1 parent 2f00421 commit 45320b3

28 files changed

+45
-30
lines changed

aliyun-java-sdk-dbs/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2020-03-09 Version: 1.0.22
2+
- Add BackupStorageType.
3+
14
2020-02-25 Version: 1.0.21
25
- Update backupsetDownloadset fun.
36

aliyun-java-sdk-dbs/pom.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.aliyun</groupId>
55
<artifactId>aliyun-java-sdk-dbs</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.0.21</version>
7+
<version>1.0.22</version>
88
<name>aliyun-java-sdk-dbs</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java
@@ -27,7 +27,7 @@ http://www.aliyun.com</description>
2727
<groupId>com.aliyun</groupId>
2828
<artifactId>aliyun-java-sdk-core</artifactId>
2929
<optional>true</optional>
30-
<version>[4.4.9,5.0.0)</version>
30+
<version>[4.3.2,5.0.0)</version>
3131
</dependency>
3232
<dependency>
3333
<groupId>com.google.code.gson</groupId>
@@ -84,10 +84,9 @@ http://www.aliyun.com</description>
8484
<plugin>
8585
<groupId>org.apache.maven.plugins</groupId>
8686
<artifactId>maven-javadoc-plugin</artifactId>
87-
<version>3.1.0</version>
87+
<version>2.8</version>
8888
<configuration>
8989
<encoding>UTF-8</encoding>
90-
<doclint>none</doclint>
9190
</configuration>
9291
</plugin>
9392
<plugin>

aliyun-java-sdk-dbs/src/main/java/com/aliyuncs/dbs/model/v20190306/ConfigureBackupPlanRequest.java

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ public class ConfigureBackupPlanRequest extends RpcAcsRequest<ConfigureBackupPla
4747

4848
private Boolean enableBackupLog;
4949

50+
private String backupStorageType;
51+
5052
private Integer duplicationArchivePeriod;
5153

5254
private String sourceEndpointPassword;
@@ -69,7 +71,7 @@ public class ConfigureBackupPlanRequest extends RpcAcsRequest<ConfigureBackupPla
6971

7072
private String oSSBucketName;
7173
public ConfigureBackupPlanRequest() {
72-
super("Dbs", "2019-03-06", "ConfigureBackupPlan");
74+
super("Dbs", "2019-03-06", "ConfigureBackupPlan", "cbs");
7375
setMethod(MethodType.POST);
7476
try {
7577
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
@@ -198,6 +200,17 @@ public void setEnableBackupLog(Boolean enableBackupLog) {
198200
}
199201
}
200202

203+
public String getBackupStorageType() {
204+
return this.backupStorageType;
205+
}
206+
207+
public void setBackupStorageType(String backupStorageType) {
208+
this.backupStorageType = backupStorageType;
209+
if(backupStorageType != null){
210+
putQueryParameter("BackupStorageType", backupStorageType);
211+
}
212+
}
213+
201214
public Integer getDuplicationArchivePeriod() {
202215
return this.duplicationArchivePeriod;
203216
}

aliyun-java-sdk-dbs/src/main/java/com/aliyuncs/dbs/model/v20190306/CreateBackupPlanRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public class CreateBackupPlanRequest extends RpcAcsRequest<CreateBackupPlanRespo
5151

5252
private String payType;
5353
public CreateBackupPlanRequest() {
54-
super("Dbs", "2019-03-06", "CreateBackupPlan");
54+
super("Dbs", "2019-03-06", "CreateBackupPlan", "cbs");
5555
setMethod(MethodType.POST);
5656
try {
5757
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);

aliyun-java-sdk-dbs/src/main/java/com/aliyuncs/dbs/model/v20190306/CreateFullBackupSetDownloadRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class CreateFullBackupSetDownloadRequest extends RpcAcsRequest<CreateFull
3333

3434
private String backupSetDataFormat;
3535
public CreateFullBackupSetDownloadRequest() {
36-
super("Dbs", "2019-03-06", "CreateFullBackupSetDownload");
36+
super("Dbs", "2019-03-06", "CreateFullBackupSetDownload", "cbs");
3737
setMethod(MethodType.POST);
3838
try {
3939
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);

aliyun-java-sdk-dbs/src/main/java/com/aliyuncs/dbs/model/v20190306/CreateIncrementBackupSetDownloadRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class CreateIncrementBackupSetDownloadRequest extends RpcAcsRequest<Creat
3535

3636
private String backupSetDataFormat;
3737
public CreateIncrementBackupSetDownloadRequest() {
38-
super("Dbs", "2019-03-06", "CreateIncrementBackupSetDownload");
38+
super("Dbs", "2019-03-06", "CreateIncrementBackupSetDownload", "cbs");
3939
setMethod(MethodType.POST);
4040
try {
4141
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);

aliyun-java-sdk-dbs/src/main/java/com/aliyuncs/dbs/model/v20190306/CreateRestoreTaskRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public class CreateRestoreTaskRequest extends RpcAcsRequest<CreateRestoreTaskRes
6565

6666
private String destinationEndpointPassword;
6767
public CreateRestoreTaskRequest() {
68-
super("Dbs", "2019-03-06", "CreateRestoreTask");
68+
super("Dbs", "2019-03-06", "CreateRestoreTask", "cbs");
6969
setMethod(MethodType.POST);
7070
try {
7171
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);

aliyun-java-sdk-dbs/src/main/java/com/aliyuncs/dbs/model/v20190306/DescribeBackupGatewayListRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class DescribeBackupGatewayListRequest extends RpcAcsRequest<DescribeBack
3737

3838
private String region;
3939
public DescribeBackupGatewayListRequest() {
40-
super("Dbs", "2019-03-06", "DescribeBackupGatewayList");
40+
super("Dbs", "2019-03-06", "DescribeBackupGatewayList", "cbs");
4141
setMethod(MethodType.POST);
4242
try {
4343
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);

aliyun-java-sdk-dbs/src/main/java/com/aliyuncs/dbs/model/v20190306/DescribeBackupPlanListRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class DescribeBackupPlanListRequest extends RpcAcsRequest<DescribeBackupP
3737

3838
private String region;
3939
public DescribeBackupPlanListRequest() {
40-
super("Dbs", "2019-03-06", "DescribeBackupPlanList");
40+
super("Dbs", "2019-03-06", "DescribeBackupPlanList", "cbs");
4141
setMethod(MethodType.POST);
4242
try {
4343
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);

aliyun-java-sdk-dbs/src/main/java/com/aliyuncs/dbs/model/v20190306/DescribeBackupSetDownloadTaskListRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class DescribeBackupSetDownloadTaskListRequest extends RpcAcsRequest<Desc
3737

3838
private Integer pageSize;
3939
public DescribeBackupSetDownloadTaskListRequest() {
40-
super("Dbs", "2019-03-06", "DescribeBackupSetDownloadTaskList");
40+
super("Dbs", "2019-03-06", "DescribeBackupSetDownloadTaskList", "cbs");
4141
setMethod(MethodType.POST);
4242
try {
4343
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);

0 commit comments

Comments
 (0)