diff --git a/aliyun-java-sdk-polardb/ChangeLog.txt b/aliyun-java-sdk-polardb/ChangeLog.txt index ad7cf12d49..f93631f9f3 100644 --- a/aliyun-java-sdk-polardb/ChangeLog.txt +++ b/aliyun-java-sdk-polardb/ChangeLog.txt @@ -1,3 +1,6 @@ +2023-05-25 Version: 1.8.29 +- CreateDBCluster support xengine and binlog feature. + 2023-05-12 Version: 1.8.28 - Update some parameters. diff --git a/aliyun-java-sdk-polardb/pom.xml b/aliyun-java-sdk-polardb/pom.xml index 14c2f5deaa..4ba27ee420 100644 --- a/aliyun-java-sdk-polardb/pom.xml +++ b/aliyun-java-sdk-polardb/pom.xml @@ -4,7 +4,7 @@ com.aliyun aliyun-java-sdk-polardb jar - 1.8.28 + 1.8.29 aliyun-java-sdk-polardb http://www.aliyun.com Aliyun Open API SDK for Java diff --git a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/CheckKMSAuthorizedRequest.java b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/CheckKMSAuthorizedRequest.java new file mode 100644 index 0000000000..2de8d4b844 --- /dev/null +++ b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/CheckKMSAuthorizedRequest.java @@ -0,0 +1,119 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.polardb.model.v20170801; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.polardb.Endpoint; + +/** + * @author auto create + * @version + */ +public class CheckKMSAuthorizedRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String resourceOwnerAccount; + + private String dBClusterId; + + private String ownerAccount; + + private Long ownerId; + + private String tDERegion; + public CheckKMSAuthorizedRequest() { + super("polardb", "2017-08-01", "CheckKMSAuthorized", "polardb"); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getResourceOwnerAccount() { + return this.resourceOwnerAccount; + } + + public void setResourceOwnerAccount(String resourceOwnerAccount) { + this.resourceOwnerAccount = resourceOwnerAccount; + if(resourceOwnerAccount != null){ + putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); + } + } + + public String getDBClusterId() { + return this.dBClusterId; + } + + public void setDBClusterId(String dBClusterId) { + this.dBClusterId = dBClusterId; + if(dBClusterId != null){ + putQueryParameter("DBClusterId", dBClusterId); + } + } + + public String getOwnerAccount() { + return this.ownerAccount; + } + + public void setOwnerAccount(String ownerAccount) { + this.ownerAccount = ownerAccount; + if(ownerAccount != null){ + putQueryParameter("OwnerAccount", ownerAccount); + } + } + + public Long getOwnerId() { + return this.ownerId; + } + + public void setOwnerId(Long ownerId) { + this.ownerId = ownerId; + if(ownerId != null){ + putQueryParameter("OwnerId", ownerId.toString()); + } + } + + public String getTDERegion() { + return this.tDERegion; + } + + public void setTDERegion(String tDERegion) { + this.tDERegion = tDERegion; + if(tDERegion != null){ + putQueryParameter("TDERegion", tDERegion); + } + } + + @Override + public Class getResponseClass() { + return CheckKMSAuthorizedResponse.class; + } + +} diff --git a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/CheckKMSAuthorizedResponse.java b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/CheckKMSAuthorizedResponse.java new file mode 100644 index 0000000000..5a9c57f61e --- /dev/null +++ b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/CheckKMSAuthorizedResponse.java @@ -0,0 +1,76 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.polardb.model.v20170801; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.polardb.transform.v20170801.CheckKMSAuthorizedResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CheckKMSAuthorizedResponse extends AcsResponse { + + private Integer authorizationState; + + private String requestId; + + private String roleArn; + + private String dBClusterId; + + public Integer getAuthorizationState() { + return this.authorizationState; + } + + public void setAuthorizationState(Integer authorizationState) { + this.authorizationState = authorizationState; + } + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getRoleArn() { + return this.roleArn; + } + + public void setRoleArn(String roleArn) { + this.roleArn = roleArn; + } + + public String getDBClusterId() { + return this.dBClusterId; + } + + public void setDBClusterId(String dBClusterId) { + this.dBClusterId = dBClusterId; + } + + @Override + public CheckKMSAuthorizedResponse getInstance(UnmarshallerContext context) { + return CheckKMSAuthorizedResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/CreateDBClusterRequest.java b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/CreateDBClusterRequest.java index 8fc3d89d5e..4615267cc2 100644 --- a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/CreateDBClusterRequest.java +++ b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/CreateDBClusterRequest.java @@ -90,10 +90,16 @@ public class CreateDBClusterRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String resourceGroupId; + + private String securityToken; + + private String sourceIpAddress; + + private String resourceOwnerAccount; + + private String dBClusterId; + + private String ownerAccount; + + private Long ownerId; + public DescribeDBClusterConnectivityRequest() { + super("polardb", "2017-08-01", "DescribeDBClusterConnectivity", "polardb"); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getResourceGroupId() { + return this.resourceGroupId; + } + + public void setResourceGroupId(String resourceGroupId) { + this.resourceGroupId = resourceGroupId; + if(resourceGroupId != null){ + putQueryParameter("ResourceGroupId", resourceGroupId); + } + } + + public String getSecurityToken() { + return this.securityToken; + } + + public void setSecurityToken(String securityToken) { + this.securityToken = securityToken; + if(securityToken != null){ + putQueryParameter("SecurityToken", securityToken); + } + } + + public String getSourceIpAddress() { + return this.sourceIpAddress; + } + + public void setSourceIpAddress(String sourceIpAddress) { + this.sourceIpAddress = sourceIpAddress; + if(sourceIpAddress != null){ + putQueryParameter("SourceIpAddress", sourceIpAddress); + } + } + + public String getResourceOwnerAccount() { + return this.resourceOwnerAccount; + } + + public void setResourceOwnerAccount(String resourceOwnerAccount) { + this.resourceOwnerAccount = resourceOwnerAccount; + if(resourceOwnerAccount != null){ + putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); + } + } + + public String getDBClusterId() { + return this.dBClusterId; + } + + public void setDBClusterId(String dBClusterId) { + this.dBClusterId = dBClusterId; + if(dBClusterId != null){ + putQueryParameter("DBClusterId", dBClusterId); + } + } + + public String getOwnerAccount() { + return this.ownerAccount; + } + + public void setOwnerAccount(String ownerAccount) { + this.ownerAccount = ownerAccount; + if(ownerAccount != null){ + putQueryParameter("OwnerAccount", ownerAccount); + } + } + + public Long getOwnerId() { + return this.ownerId; + } + + public void setOwnerId(Long ownerId) { + this.ownerId = ownerId; + if(ownerId != null){ + putQueryParameter("OwnerId", ownerId.toString()); + } + } + + @Override + public Class getResponseClass() { + return DescribeDBClusterConnectivityResponse.class; + } + +} diff --git a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/DescribeDBClusterConnectivityResponse.java b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/DescribeDBClusterConnectivityResponse.java new file mode 100644 index 0000000000..12dc2c2ebc --- /dev/null +++ b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/DescribeDBClusterConnectivityResponse.java @@ -0,0 +1,86 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.polardb.model.v20170801; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.polardb.transform.v20170801.DescribeDBClusterConnectivityResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeDBClusterConnectivityResponse extends AcsResponse { + + private String requestId; + + private String dBClusterId; + + private String connCheckResult; + + private String connCheckErrorCode; + + private String connCheckErrorMessage; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getDBClusterId() { + return this.dBClusterId; + } + + public void setDBClusterId(String dBClusterId) { + this.dBClusterId = dBClusterId; + } + + public String getConnCheckResult() { + return this.connCheckResult; + } + + public void setConnCheckResult(String connCheckResult) { + this.connCheckResult = connCheckResult; + } + + public String getConnCheckErrorCode() { + return this.connCheckErrorCode; + } + + public void setConnCheckErrorCode(String connCheckErrorCode) { + this.connCheckErrorCode = connCheckErrorCode; + } + + public String getConnCheckErrorMessage() { + return this.connCheckErrorMessage; + } + + public void setConnCheckErrorMessage(String connCheckErrorMessage) { + this.connCheckErrorMessage = connCheckErrorMessage; + } + + @Override + public DescribeDBClusterConnectivityResponse getInstance(UnmarshallerContext context) { + return DescribeDBClusterConnectivityResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/DescribeUserEncryptionKeyListRequest.java b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/DescribeUserEncryptionKeyListRequest.java new file mode 100644 index 0000000000..68f90460af --- /dev/null +++ b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/DescribeUserEncryptionKeyListRequest.java @@ -0,0 +1,119 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.polardb.model.v20170801; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.polardb.Endpoint; + +/** + * @author auto create + * @version + */ +public class DescribeUserEncryptionKeyListRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String resourceOwnerAccount; + + private String dBClusterId; + + private String ownerAccount; + + private Long ownerId; + + private String tDERegion; + public DescribeUserEncryptionKeyListRequest() { + super("polardb", "2017-08-01", "DescribeUserEncryptionKeyList", "polardb"); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getResourceOwnerAccount() { + return this.resourceOwnerAccount; + } + + public void setResourceOwnerAccount(String resourceOwnerAccount) { + this.resourceOwnerAccount = resourceOwnerAccount; + if(resourceOwnerAccount != null){ + putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); + } + } + + public String getDBClusterId() { + return this.dBClusterId; + } + + public void setDBClusterId(String dBClusterId) { + this.dBClusterId = dBClusterId; + if(dBClusterId != null){ + putQueryParameter("DBClusterId", dBClusterId); + } + } + + public String getOwnerAccount() { + return this.ownerAccount; + } + + public void setOwnerAccount(String ownerAccount) { + this.ownerAccount = ownerAccount; + if(ownerAccount != null){ + putQueryParameter("OwnerAccount", ownerAccount); + } + } + + public Long getOwnerId() { + return this.ownerId; + } + + public void setOwnerId(Long ownerId) { + this.ownerId = ownerId; + if(ownerId != null){ + putQueryParameter("OwnerId", ownerId.toString()); + } + } + + public String getTDERegion() { + return this.tDERegion; + } + + public void setTDERegion(String tDERegion) { + this.tDERegion = tDERegion; + if(tDERegion != null){ + putQueryParameter("TDERegion", tDERegion); + } + } + + @Override + public Class getResponseClass() { + return DescribeUserEncryptionKeyListResponse.class; + } + +} diff --git a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/DescribeUserEncryptionKeyListResponse.java b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/DescribeUserEncryptionKeyListResponse.java new file mode 100644 index 0000000000..c2bd3a7c9b --- /dev/null +++ b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/DescribeUserEncryptionKeyListResponse.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.polardb.model.v20170801; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.polardb.transform.v20170801.DescribeUserEncryptionKeyListResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeUserEncryptionKeyListResponse extends AcsResponse { + + private String requestId; + + private String dBClusterId; + + private List keyList; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getDBClusterId() { + return this.dBClusterId; + } + + public void setDBClusterId(String dBClusterId) { + this.dBClusterId = dBClusterId; + } + + public List getKeyList() { + return this.keyList; + } + + public void setKeyList(List keyList) { + this.keyList = keyList; + } + + @Override + public DescribeUserEncryptionKeyListResponse getInstance(UnmarshallerContext context) { + return DescribeUserEncryptionKeyListResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/ManuallyStartDBClusterRequest.java b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/ManuallyStartDBClusterRequest.java new file mode 100644 index 0000000000..0e3209b875 --- /dev/null +++ b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/ManuallyStartDBClusterRequest.java @@ -0,0 +1,106 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.polardb.model.v20170801; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.polardb.Endpoint; + +/** + * @author auto create + * @version + */ +public class ManuallyStartDBClusterRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String resourceOwnerAccount; + + private String dBClusterId; + + private String ownerAccount; + + private Long ownerId; + public ManuallyStartDBClusterRequest() { + super("polardb", "2017-08-01", "ManuallyStartDBCluster", "polardb"); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public Long getResourceOwnerId() { + return this.resourceOwnerId; + } + + public void setResourceOwnerId(Long resourceOwnerId) { + this.resourceOwnerId = resourceOwnerId; + if(resourceOwnerId != null){ + putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); + } + } + + public String getResourceOwnerAccount() { + return this.resourceOwnerAccount; + } + + public void setResourceOwnerAccount(String resourceOwnerAccount) { + this.resourceOwnerAccount = resourceOwnerAccount; + if(resourceOwnerAccount != null){ + putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); + } + } + + public String getDBClusterId() { + return this.dBClusterId; + } + + public void setDBClusterId(String dBClusterId) { + this.dBClusterId = dBClusterId; + if(dBClusterId != null){ + putQueryParameter("DBClusterId", dBClusterId); + } + } + + public String getOwnerAccount() { + return this.ownerAccount; + } + + public void setOwnerAccount(String ownerAccount) { + this.ownerAccount = ownerAccount; + if(ownerAccount != null){ + putQueryParameter("OwnerAccount", ownerAccount); + } + } + + public Long getOwnerId() { + return this.ownerId; + } + + public void setOwnerId(Long ownerId) { + this.ownerId = ownerId; + if(ownerId != null){ + putQueryParameter("OwnerId", ownerId.toString()); + } + } + + @Override + public Class getResponseClass() { + return ManuallyStartDBClusterResponse.class; + } + +} diff --git a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/ManuallyStartDBClusterResponse.java b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/ManuallyStartDBClusterResponse.java new file mode 100644 index 0000000000..bf133b81dd --- /dev/null +++ b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/ManuallyStartDBClusterResponse.java @@ -0,0 +1,46 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.polardb.model.v20170801; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.polardb.transform.v20170801.ManuallyStartDBClusterResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ManuallyStartDBClusterResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public ManuallyStartDBClusterResponse getInstance(UnmarshallerContext context) { + return ManuallyStartDBClusterResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/transform/v20170801/CheckKMSAuthorizedResponseUnmarshaller.java b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/transform/v20170801/CheckKMSAuthorizedResponseUnmarshaller.java new file mode 100644 index 0000000000..c5f190837a --- /dev/null +++ b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/transform/v20170801/CheckKMSAuthorizedResponseUnmarshaller.java @@ -0,0 +1,32 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.polardb.transform.v20170801; + +import com.aliyuncs.polardb.model.v20170801.CheckKMSAuthorizedResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CheckKMSAuthorizedResponseUnmarshaller { + + public static CheckKMSAuthorizedResponse unmarshall(CheckKMSAuthorizedResponse checkKMSAuthorizedResponse, UnmarshallerContext _ctx) { + + checkKMSAuthorizedResponse.setRequestId(_ctx.stringValue("CheckKMSAuthorizedResponse.RequestId")); + checkKMSAuthorizedResponse.setAuthorizationState(_ctx.integerValue("CheckKMSAuthorizedResponse.AuthorizationState")); + checkKMSAuthorizedResponse.setRoleArn(_ctx.stringValue("CheckKMSAuthorizedResponse.RoleArn")); + checkKMSAuthorizedResponse.setDBClusterId(_ctx.stringValue("CheckKMSAuthorizedResponse.DBClusterId")); + + return checkKMSAuthorizedResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/transform/v20170801/DescribeDBClusterConnectivityResponseUnmarshaller.java b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/transform/v20170801/DescribeDBClusterConnectivityResponseUnmarshaller.java new file mode 100644 index 0000000000..a42e42fdce --- /dev/null +++ b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/transform/v20170801/DescribeDBClusterConnectivityResponseUnmarshaller.java @@ -0,0 +1,33 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.polardb.transform.v20170801; + +import com.aliyuncs.polardb.model.v20170801.DescribeDBClusterConnectivityResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeDBClusterConnectivityResponseUnmarshaller { + + public static DescribeDBClusterConnectivityResponse unmarshall(DescribeDBClusterConnectivityResponse describeDBClusterConnectivityResponse, UnmarshallerContext _ctx) { + + describeDBClusterConnectivityResponse.setRequestId(_ctx.stringValue("DescribeDBClusterConnectivityResponse.RequestId")); + describeDBClusterConnectivityResponse.setDBClusterId(_ctx.stringValue("DescribeDBClusterConnectivityResponse.DBClusterId")); + describeDBClusterConnectivityResponse.setConnCheckResult(_ctx.stringValue("DescribeDBClusterConnectivityResponse.ConnCheckResult")); + describeDBClusterConnectivityResponse.setConnCheckErrorCode(_ctx.stringValue("DescribeDBClusterConnectivityResponse.ConnCheckErrorCode")); + describeDBClusterConnectivityResponse.setConnCheckErrorMessage(_ctx.stringValue("DescribeDBClusterConnectivityResponse.ConnCheckErrorMessage")); + + return describeDBClusterConnectivityResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/transform/v20170801/DescribeUserEncryptionKeyListResponseUnmarshaller.java b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/transform/v20170801/DescribeUserEncryptionKeyListResponseUnmarshaller.java new file mode 100644 index 0000000000..9e857d8407 --- /dev/null +++ b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/transform/v20170801/DescribeUserEncryptionKeyListResponseUnmarshaller.java @@ -0,0 +1,39 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.polardb.transform.v20170801; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.polardb.model.v20170801.DescribeUserEncryptionKeyListResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeUserEncryptionKeyListResponseUnmarshaller { + + public static DescribeUserEncryptionKeyListResponse unmarshall(DescribeUserEncryptionKeyListResponse describeUserEncryptionKeyListResponse, UnmarshallerContext _ctx) { + + describeUserEncryptionKeyListResponse.setRequestId(_ctx.stringValue("DescribeUserEncryptionKeyListResponse.RequestId")); + describeUserEncryptionKeyListResponse.setDBClusterId(_ctx.stringValue("DescribeUserEncryptionKeyListResponse.DBClusterId")); + + List keyList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeUserEncryptionKeyListResponse.KeyList.Length"); i++) { + keyList.add(_ctx.stringValue("DescribeUserEncryptionKeyListResponse.KeyList["+ i +"]")); + } + describeUserEncryptionKeyListResponse.setKeyList(keyList); + + return describeUserEncryptionKeyListResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/transform/v20170801/ManuallyStartDBClusterResponseUnmarshaller.java b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/transform/v20170801/ManuallyStartDBClusterResponseUnmarshaller.java new file mode 100644 index 0000000000..9d461750e7 --- /dev/null +++ b/aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/transform/v20170801/ManuallyStartDBClusterResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.polardb.transform.v20170801; + +import com.aliyuncs.polardb.model.v20170801.ManuallyStartDBClusterResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ManuallyStartDBClusterResponseUnmarshaller { + + public static ManuallyStartDBClusterResponse unmarshall(ManuallyStartDBClusterResponse manuallyStartDBClusterResponse, UnmarshallerContext _ctx) { + + manuallyStartDBClusterResponse.setRequestId(_ctx.stringValue("ManuallyStartDBClusterResponse.RequestId")); + + return manuallyStartDBClusterResponse; + } +} \ No newline at end of file