Skip to content

Commit d6ff7f5

Browse files
committed
Supported param and error code.
1 parent 5a2531a commit d6ff7f5

File tree

56 files changed

+3527
-65
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+3527
-65
lines changed

aliyun-java-sdk-rds/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-07-04 Version: 2.7.56
2+
- Supported param and error code.
3+
14
2025-05-22 Version: 2.7.55
25
- Generated 2014-08-15 for `Rds`.
36

aliyun-java-sdk-rds/pom.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.aliyun</groupId>
55
<artifactId>aliyun-java-sdk-rds</artifactId>
66
<packaging>jar</packaging>
7-
<version>2.7.55</version>
7+
<version>2.7.56</version>
88
<name>aliyun-java-sdk-rds</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java
@@ -103,14 +103,14 @@ http://www.aliyun.com</description>
103103
</executions>
104104
</plugin>
105105
<plugin>
106-
<groupId>org.sonatype.plugins</groupId>
107-
<artifactId>nexus-staging-maven-plugin</artifactId>
108-
<version>1.6.3</version>
106+
<groupId>org.sonatype.central</groupId>
107+
<artifactId>central-publishing-maven-plugin</artifactId>
108+
<version>0.8.0</version>
109109
<extensions>true</extensions>
110110
<configuration>
111-
<serverId>sonatype-nexus-staging</serverId>
112-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
113-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
111+
<publishingServerId>central</publishingServerId>
112+
<autoPublish>true</autoPublish>
113+
<waitUntil>published</waitUntil>
114114
</configuration>
115115
</plugin>
116116
</plugins>

aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/AcceptRCInquiredSystemEventResponse.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ public class AcceptRCInquiredSystemEventResponse extends AcsResponse {
2626

2727
private String requestId;
2828

29-
private String orderId;
30-
3129
public String getRequestId() {
3230
return this.requestId;
3331
}
@@ -36,14 +34,6 @@ public void setRequestId(String requestId) {
3634
this.requestId = requestId;
3735
}
3836

39-
public String getOrderId() {
40-
return this.orderId;
41-
}
42-
43-
public void setOrderId(String orderId) {
44-
this.orderId = orderId;
45-
}
46-
4737
@Override
4838
public AcceptRCInquiredSystemEventResponse getInstance(UnmarshallerContext context) {
4939
return AcceptRCInquiredSystemEventResponseUnmarshaller.unmarshall(this, context);

aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/CreateBackupRequest.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ public class CreateBackupRequest extends RpcAcsRequest<CreateBackupResponse> {
3535

3636
private String backupMethod;
3737

38+
private Long backupRetentionPeriod;
39+
3840
private String dBName;
3941
public CreateBackupRequest() {
4042
super("Rds", "2014-08-15", "CreateBackup", "rds");
@@ -100,6 +102,17 @@ public void setBackupMethod(String backupMethod) {
100102
}
101103
}
102104

105+
public Long getBackupRetentionPeriod() {
106+
return this.backupRetentionPeriod;
107+
}
108+
109+
public void setBackupRetentionPeriod(Long backupRetentionPeriod) {
110+
this.backupRetentionPeriod = backupRetentionPeriod;
111+
if(backupRetentionPeriod != null){
112+
putQueryParameter("BackupRetentionPeriod", backupRetentionPeriod.toString());
113+
}
114+
}
115+
103116
public String getDBName() {
104117
return this.dBName;
105118
}

aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/CreateDBInstanceRequest.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ public class CreateDBInstanceRequest extends RpcAcsRequest<CreateDBInstanceRespo
9696

9797
private String targetDedicatedHostIdForSlave;
9898

99+
private Boolean externalReplication;
100+
99101
private String zoneIdSlave1;
100102

101103
private String zoneIdSlave2;
@@ -532,6 +534,17 @@ public void setTargetDedicatedHostIdForSlave(String targetDedicatedHostIdForSlav
532534
}
533535
}
534536

537+
public Boolean getExternalReplication() {
538+
return this.externalReplication;
539+
}
540+
541+
public void setExternalReplication(Boolean externalReplication) {
542+
this.externalReplication = externalReplication;
543+
if(externalReplication != null){
544+
putQueryParameter("ExternalReplication", externalReplication.toString());
545+
}
546+
}
547+
535548
public String getZoneIdSlave1() {
536549
return this.zoneIdSlave1;
537550
}

aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/CreateRCSnapshotRequest.java

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
package com.aliyuncs.rds.model.v20140815;
1616

1717
import com.aliyuncs.RpcAcsRequest;
18+
import java.util.List;
1819
import com.aliyuncs.http.MethodType;
1920
import com.aliyuncs.rds.Endpoint;
2021

@@ -29,10 +30,14 @@ public class CreateRCSnapshotRequest extends RpcAcsRequest<CreateRCSnapshotRespo
2930

3031
private String description;
3132

33+
private String resourceGroupId;
34+
3235
private Integer instantAccessRetentionDays;
3336

3437
private String diskId;
3538

39+
private List<Tag> tags;
40+
3641
private String zoneId;
3742

3843
private Integer retentionDays;
@@ -67,6 +72,17 @@ public void setDescription(String description) {
6772
}
6873
}
6974

75+
public String getResourceGroupId() {
76+
return this.resourceGroupId;
77+
}
78+
79+
public void setResourceGroupId(String resourceGroupId) {
80+
this.resourceGroupId = resourceGroupId;
81+
if(resourceGroupId != null){
82+
putQueryParameter("ResourceGroupId", resourceGroupId);
83+
}
84+
}
85+
7086
public Integer getInstantAccessRetentionDays() {
7187
return this.instantAccessRetentionDays;
7288
}
@@ -89,6 +105,20 @@ public void setDiskId(String diskId) {
89105
}
90106
}
91107

108+
public List<Tag> getTags() {
109+
return this.tags;
110+
}
111+
112+
public void setTags(List<Tag> tags) {
113+
this.tags = tags;
114+
if (tags != null) {
115+
for (int depth1 = 0; depth1 < tags.size(); depth1++) {
116+
putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tags.get(depth1).getValue());
117+
putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tags.get(depth1).getKey());
118+
}
119+
}
120+
}
121+
92122
public String getZoneId() {
93123
return this.zoneId;
94124
}
@@ -109,6 +139,29 @@ public void setRetentionDays(Integer retentionDays) {
109139
if(retentionDays != null){
110140
putQueryParameter("RetentionDays", retentionDays.toString());
111141
}
142+
}
143+
144+
public static class Tag {
145+
146+
private String value;
147+
148+
private String key;
149+
150+
public String getValue() {
151+
return this.value;
152+
}
153+
154+
public void setValue(String value) {
155+
this.value = value;
156+
}
157+
158+
public String getKey() {
159+
return this.key;
160+
}
161+
162+
public void setKey(String key) {
163+
this.key = key;
164+
}
112165
}
113166

114167
@Override

aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/DescribeBackupsResponse.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ public static class Backup {
157157

158158
private Long totalBackupSize;
159159

160+
private String expectExpireTime;
161+
160162
private List<BackupDownloadLinkByDBItem> backupDownloadLinkByDB;
161163

162164
public String getBackupDBNames() {
@@ -399,6 +401,14 @@ public void setTotalBackupSize(Long totalBackupSize) {
399401
this.totalBackupSize = totalBackupSize;
400402
}
401403

404+
public String getExpectExpireTime() {
405+
return this.expectExpireTime;
406+
}
407+
408+
public void setExpectExpireTime(String expectExpireTime) {
409+
this.expectExpireTime = expectExpireTime;
410+
}
411+
402412
public List<BackupDownloadLinkByDBItem> getBackupDownloadLinkByDB() {
403413
return this.backupDownloadLinkByDB;
404414
}
Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
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.rds.model.v20140815;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import com.aliyuncs.http.MethodType;
19+
import com.aliyuncs.rds.Endpoint;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class DescribeComputeBurstConfigRequest extends RpcAcsRequest<DescribeComputeBurstConfigResponse> {
26+
27+
28+
private String resourceOwnerAccount;
29+
30+
private String clientToken;
31+
32+
private String ownerAccount;
33+
34+
private Long ownerId;
35+
36+
private String resourceGroupId;
37+
38+
private String dBInstanceId;
39+
public DescribeComputeBurstConfigRequest() {
40+
super("Rds", "2014-08-15", "DescribeComputeBurstConfig", "rds");
41+
setMethod(MethodType.POST);
42+
try {
43+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
44+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
45+
} catch (Exception e) {}
46+
}
47+
48+
public String getResourceOwnerAccount() {
49+
return this.resourceOwnerAccount;
50+
}
51+
52+
public void setResourceOwnerAccount(String resourceOwnerAccount) {
53+
this.resourceOwnerAccount = resourceOwnerAccount;
54+
if(resourceOwnerAccount != null){
55+
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
56+
}
57+
}
58+
59+
public String getClientToken() {
60+
return this.clientToken;
61+
}
62+
63+
public void setClientToken(String clientToken) {
64+
this.clientToken = clientToken;
65+
if(clientToken != null){
66+
putQueryParameter("ClientToken", clientToken);
67+
}
68+
}
69+
70+
public String getOwnerAccount() {
71+
return this.ownerAccount;
72+
}
73+
74+
public void setOwnerAccount(String ownerAccount) {
75+
this.ownerAccount = ownerAccount;
76+
if(ownerAccount != null){
77+
putQueryParameter("OwnerAccount", ownerAccount);
78+
}
79+
}
80+
81+
public Long getOwnerId() {
82+
return this.ownerId;
83+
}
84+
85+
public void setOwnerId(Long ownerId) {
86+
this.ownerId = ownerId;
87+
if(ownerId != null){
88+
putQueryParameter("OwnerId", ownerId.toString());
89+
}
90+
}
91+
92+
public String getResourceGroupId() {
93+
return this.resourceGroupId;
94+
}
95+
96+
public void setResourceGroupId(String resourceGroupId) {
97+
this.resourceGroupId = resourceGroupId;
98+
if(resourceGroupId != null){
99+
putQueryParameter("ResourceGroupId", resourceGroupId);
100+
}
101+
}
102+
103+
public String getDBInstanceId() {
104+
return this.dBInstanceId;
105+
}
106+
107+
public void setDBInstanceId(String dBInstanceId) {
108+
this.dBInstanceId = dBInstanceId;
109+
if(dBInstanceId != null){
110+
putQueryParameter("DBInstanceId", dBInstanceId);
111+
}
112+
}
113+
114+
@Override
115+
public Class<DescribeComputeBurstConfigResponse> getResponseClass() {
116+
return DescribeComputeBurstConfigResponse.class;
117+
}
118+
119+
}

0 commit comments

Comments
 (0)