Skip to content

Commit d0e782d

Browse files
committed
Support MigrateDBCluster.
1 parent 9b18214 commit d0e782d

File tree

191 files changed

+16331
-363
lines changed

Some content is hidden

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

191 files changed

+16331
-363
lines changed

aliyun-java-sdk-adb/ChangeLog.txt

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-04-28 Version: 1.0.27
2+
- Support MigrateDBCluster.
3+
14
2023-11-13 Version: 1.0.26
25
- Support DiskEncryption.
36

aliyun-java-sdk-adb/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.aliyun</groupId>
55
<artifactId>aliyun-java-sdk-adb</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.0.26</version>
7+
<version>1.0.27</version>
88
<name>aliyun-java-sdk-adb</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java
@@ -91,7 +91,7 @@ http://www.aliyun.com</description>
9191
<plugin>
9292
<groupId>org.apache.maven.plugins</groupId>
9393
<artifactId>maven-gpg-plugin</artifactId>
94-
<version>1.5</version>
94+
<version>3.1.0</version>
9595
<executions>
9696
<execution>
9797
<id>sign-artifacts</id>

aliyun-java-sdk-adb/src/main/java/com/aliyuncs/adb/model/v20190315/BindDBResourceGroupWithUserRequest.java

+13
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ public class BindDBResourceGroupWithUserRequest extends RpcAcsRequest<BindDBReso
2727

2828
private Long resourceOwnerId;
2929

30+
private String clientToken;
31+
3032
private String groupUser;
3133

3234
private String resourceOwnerAccount;
@@ -58,6 +60,17 @@ public void setResourceOwnerId(Long resourceOwnerId) {
5860
}
5961
}
6062

63+
public String getClientToken() {
64+
return this.clientToken;
65+
}
66+
67+
public void setClientToken(String clientToken) {
68+
this.clientToken = clientToken;
69+
if(clientToken != null){
70+
putQueryParameter("ClientToken", clientToken);
71+
}
72+
}
73+
6174
public String getGroupUser() {
6275
return this.groupUser;
6376
}

aliyun-java-sdk-adb/src/main/java/com/aliyuncs/adb/model/v20190315/BindDBResourcePoolWithUserRequest.java

+13
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ public class BindDBResourcePoolWithUserRequest extends RpcAcsRequest<BindDBResou
2929

3030
private Long resourceOwnerId;
3131

32+
private String clientToken;
33+
3234
private String poolUser;
3335

3436
private String resourceOwnerAccount;
@@ -69,6 +71,17 @@ public void setResourceOwnerId(Long resourceOwnerId) {
6971
}
7072
}
7173

74+
public String getClientToken() {
75+
return this.clientToken;
76+
}
77+
78+
public void setClientToken(String clientToken) {
79+
this.clientToken = clientToken;
80+
if(clientToken != null){
81+
putQueryParameter("ClientToken", clientToken);
82+
}
83+
}
84+
7285
public String getPoolUser() {
7386
return this.poolUser;
7487
}
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.adb.model.v20190315;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import com.aliyuncs.http.MethodType;
19+
import com.aliyuncs.adb.Endpoint;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class CancelActiveOperationTasksRequest extends RpcAcsRequest<CancelActiveOperationTasksResponse> {
26+
27+
28+
private Long resourceOwnerId;
29+
30+
private String securityToken;
31+
32+
private String resourceOwnerAccount;
33+
34+
private String ownerAccount;
35+
36+
private Long ownerId;
37+
38+
private String ids;
39+
public CancelActiveOperationTasksRequest() {
40+
super("adb", "2019-03-15", "CancelActiveOperationTasks", "ads");
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 Long getResourceOwnerId() {
49+
return this.resourceOwnerId;
50+
}
51+
52+
public void setResourceOwnerId(Long resourceOwnerId) {
53+
this.resourceOwnerId = resourceOwnerId;
54+
if(resourceOwnerId != null){
55+
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
56+
}
57+
}
58+
59+
public String getSecurityToken() {
60+
return this.securityToken;
61+
}
62+
63+
public void setSecurityToken(String securityToken) {
64+
this.securityToken = securityToken;
65+
if(securityToken != null){
66+
putQueryParameter("SecurityToken", securityToken);
67+
}
68+
}
69+
70+
public String getResourceOwnerAccount() {
71+
return this.resourceOwnerAccount;
72+
}
73+
74+
public void setResourceOwnerAccount(String resourceOwnerAccount) {
75+
this.resourceOwnerAccount = resourceOwnerAccount;
76+
if(resourceOwnerAccount != null){
77+
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
78+
}
79+
}
80+
81+
public String getOwnerAccount() {
82+
return this.ownerAccount;
83+
}
84+
85+
public void setOwnerAccount(String ownerAccount) {
86+
this.ownerAccount = ownerAccount;
87+
if(ownerAccount != null){
88+
putQueryParameter("OwnerAccount", ownerAccount);
89+
}
90+
}
91+
92+
public Long getOwnerId() {
93+
return this.ownerId;
94+
}
95+
96+
public void setOwnerId(Long ownerId) {
97+
this.ownerId = ownerId;
98+
if(ownerId != null){
99+
putQueryParameter("OwnerId", ownerId.toString());
100+
}
101+
}
102+
103+
public String getIds() {
104+
return this.ids;
105+
}
106+
107+
public void setIds(String ids) {
108+
this.ids = ids;
109+
if(ids != null){
110+
putQueryParameter("Ids", ids);
111+
}
112+
}
113+
114+
@Override
115+
public Class<CancelActiveOperationTasksResponse> getResponseClass() {
116+
return CancelActiveOperationTasksResponse.class;
117+
}
118+
119+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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.adb.model.v20190315;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.adb.transform.v20190315.CancelActiveOperationTasksResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class CancelActiveOperationTasksResponse extends AcsResponse {
26+
27+
private String requestId;
28+
29+
private String ids;
30+
31+
public String getRequestId() {
32+
return this.requestId;
33+
}
34+
35+
public void setRequestId(String requestId) {
36+
this.requestId = requestId;
37+
}
38+
39+
public String getIds() {
40+
return this.ids;
41+
}
42+
43+
public void setIds(String ids) {
44+
this.ids = ids;
45+
}
46+
47+
@Override
48+
public CancelActiveOperationTasksResponse getInstance(UnmarshallerContext context) {
49+
return CancelActiveOperationTasksResponseUnmarshaller.unmarshall(this, context);
50+
}
51+
52+
@Override
53+
public boolean checkShowJsonItemName() {
54+
return false;
55+
}
56+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
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.adb.model.v20190315;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import com.aliyuncs.http.MethodType;
19+
import com.aliyuncs.adb.Endpoint;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class CheckServiceLinkedRoleRequest extends RpcAcsRequest<CheckServiceLinkedRoleResponse> {
26+
27+
28+
private Long resourceOwnerId;
29+
30+
private String serviceName;
31+
32+
private String resourceOwnerAccount;
33+
34+
private String ownerAccount;
35+
36+
private Long ownerId;
37+
public CheckServiceLinkedRoleRequest() {
38+
super("adb", "2019-03-15", "CheckServiceLinkedRole", "ads");
39+
setMethod(MethodType.POST);
40+
try {
41+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
42+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
43+
} catch (Exception e) {}
44+
}
45+
46+
public Long getResourceOwnerId() {
47+
return this.resourceOwnerId;
48+
}
49+
50+
public void setResourceOwnerId(Long resourceOwnerId) {
51+
this.resourceOwnerId = resourceOwnerId;
52+
if(resourceOwnerId != null){
53+
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
54+
}
55+
}
56+
57+
public String getServiceName() {
58+
return this.serviceName;
59+
}
60+
61+
public void setServiceName(String serviceName) {
62+
this.serviceName = serviceName;
63+
if(serviceName != null){
64+
putQueryParameter("ServiceName", serviceName);
65+
}
66+
}
67+
68+
public String getResourceOwnerAccount() {
69+
return this.resourceOwnerAccount;
70+
}
71+
72+
public void setResourceOwnerAccount(String resourceOwnerAccount) {
73+
this.resourceOwnerAccount = resourceOwnerAccount;
74+
if(resourceOwnerAccount != null){
75+
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
76+
}
77+
}
78+
79+
public String getOwnerAccount() {
80+
return this.ownerAccount;
81+
}
82+
83+
public void setOwnerAccount(String ownerAccount) {
84+
this.ownerAccount = ownerAccount;
85+
if(ownerAccount != null){
86+
putQueryParameter("OwnerAccount", ownerAccount);
87+
}
88+
}
89+
90+
public Long getOwnerId() {
91+
return this.ownerId;
92+
}
93+
94+
public void setOwnerId(Long ownerId) {
95+
this.ownerId = ownerId;
96+
if(ownerId != null){
97+
putQueryParameter("OwnerId", ownerId.toString());
98+
}
99+
}
100+
101+
@Override
102+
public Class<CheckServiceLinkedRoleResponse> getResponseClass() {
103+
return CheckServiceLinkedRoleResponse.class;
104+
}
105+
106+
}

0 commit comments

Comments
 (0)