diff --git a/aliyun-java-sdk-rds/ChangeLog.txt b/aliyun-java-sdk-rds/ChangeLog.txt index 504be2407a..9c52579657 100644 --- a/aliyun-java-sdk-rds/ChangeLog.txt +++ b/aliyun-java-sdk-rds/ChangeLog.txt @@ -1,3 +1,6 @@ +2024-07-03 Version: 2.7.52 +- Generated 2014-08-15 for `Rds`. + 2024-06-27 Version: 2.7.51 - Generated 2014-08-15 for `Rds`. diff --git a/aliyun-java-sdk-rds/pom.xml b/aliyun-java-sdk-rds/pom.xml index 6a21443e4b..b3ea00b67f 100644 --- a/aliyun-java-sdk-rds/pom.xml +++ b/aliyun-java-sdk-rds/pom.xml @@ -4,7 +4,7 @@ com.aliyun aliyun-java-sdk-rds jar - 2.7.51 + 2.7.52 aliyun-java-sdk-rds http://www.aliyun.com Aliyun Open API SDK for Java diff --git a/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/CreateDBInstanceSecurityGroupRuleRequest.java b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/CreateDBInstanceSecurityGroupRuleRequest.java new file mode 100644 index 0000000000..4dfbc3bfb6 --- /dev/null +++ b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/CreateDBInstanceSecurityGroupRuleRequest.java @@ -0,0 +1,158 @@ +/* + * 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.rds.model.v20140815; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.rds.Endpoint; + +/** + * @author auto create + * @version + */ +public class CreateDBInstanceSecurityGroupRuleRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String description; + + private String dBInstanceId; + + private String portRange; + + private String ipProtocol; + + private String resourceOwnerAccount; + + private String sourceCidrIp; + + private String ownerAccount; + + private String ownerId; + public CreateDBInstanceSecurityGroupRuleRequest() { + super("Rds", "2014-08-15", "CreateDBInstanceSecurityGroupRule", "rds"); + 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 getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + if(description != null){ + putQueryParameter("Description", description); + } + } + + public String getDBInstanceId() { + return this.dBInstanceId; + } + + public void setDBInstanceId(String dBInstanceId) { + this.dBInstanceId = dBInstanceId; + if(dBInstanceId != null){ + putQueryParameter("DBInstanceId", dBInstanceId); + } + } + + public String getPortRange() { + return this.portRange; + } + + public void setPortRange(String portRange) { + this.portRange = portRange; + if(portRange != null){ + putQueryParameter("PortRange", portRange); + } + } + + public String getIpProtocol() { + return this.ipProtocol; + } + + public void setIpProtocol(String ipProtocol) { + this.ipProtocol = ipProtocol; + if(ipProtocol != null){ + putQueryParameter("IpProtocol", ipProtocol); + } + } + + public String getResourceOwnerAccount() { + return this.resourceOwnerAccount; + } + + public void setResourceOwnerAccount(String resourceOwnerAccount) { + this.resourceOwnerAccount = resourceOwnerAccount; + if(resourceOwnerAccount != null){ + putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); + } + } + + public String getSourceCidrIp() { + return this.sourceCidrIp; + } + + public void setSourceCidrIp(String sourceCidrIp) { + this.sourceCidrIp = sourceCidrIp; + if(sourceCidrIp != null){ + putQueryParameter("SourceCidrIp", sourceCidrIp); + } + } + + public String getOwnerAccount() { + return this.ownerAccount; + } + + public void setOwnerAccount(String ownerAccount) { + this.ownerAccount = ownerAccount; + if(ownerAccount != null){ + putQueryParameter("OwnerAccount", ownerAccount); + } + } + + public String getOwnerId() { + return this.ownerId; + } + + public void setOwnerId(String ownerId) { + this.ownerId = ownerId; + if(ownerId != null){ + putQueryParameter("OwnerId", ownerId); + } + } + + @Override + public Class getResponseClass() { + return CreateDBInstanceSecurityGroupRuleResponse.class; + } + +} diff --git a/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/CreateDBInstanceSecurityGroupRuleResponse.java b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/CreateDBInstanceSecurityGroupRuleResponse.java new file mode 100644 index 0000000000..ddc35f4f4c --- /dev/null +++ b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/CreateDBInstanceSecurityGroupRuleResponse.java @@ -0,0 +1,66 @@ +/* + * 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.rds.model.v20140815; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.rds.transform.v20140815.CreateDBInstanceSecurityGroupRuleResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateDBInstanceSecurityGroupRuleResponse extends AcsResponse { + + private String requestId; + + private String message; + + private String code; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + @Override + public CreateDBInstanceSecurityGroupRuleResponse getInstance(UnmarshallerContext context) { + return CreateDBInstanceSecurityGroupRuleResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/DeleteDBInstanceSecurityGroupRuleRequest.java b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/DeleteDBInstanceSecurityGroupRuleRequest.java new file mode 100644 index 0000000000..6afa38577a --- /dev/null +++ b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/DeleteDBInstanceSecurityGroupRuleRequest.java @@ -0,0 +1,145 @@ +/* + * 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.rds.model.v20140815; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.rds.Endpoint; + +/** + * @author auto create + * @version + */ +public class DeleteDBInstanceSecurityGroupRuleRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String clientToken; + + private String securityGroupRuleIds; + + private String resourceGroupId; + + private String dBInstanceId; + + private String resourceOwnerAccount; + + private String ownerAccount; + + private String ownerId; + public DeleteDBInstanceSecurityGroupRuleRequest() { + super("Rds", "2014-08-15", "DeleteDBInstanceSecurityGroupRule", "rds"); + 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 getClientToken() { + return this.clientToken; + } + + public void setClientToken(String clientToken) { + this.clientToken = clientToken; + if(clientToken != null){ + putQueryParameter("ClientToken", clientToken); + } + } + + public String getSecurityGroupRuleIds() { + return this.securityGroupRuleIds; + } + + public void setSecurityGroupRuleIds(String securityGroupRuleIds) { + this.securityGroupRuleIds = securityGroupRuleIds; + if(securityGroupRuleIds != null){ + putQueryParameter("SecurityGroupRuleIds", securityGroupRuleIds); + } + } + + public String getResourceGroupId() { + return this.resourceGroupId; + } + + public void setResourceGroupId(String resourceGroupId) { + this.resourceGroupId = resourceGroupId; + if(resourceGroupId != null){ + putQueryParameter("ResourceGroupId", resourceGroupId); + } + } + + public String getDBInstanceId() { + return this.dBInstanceId; + } + + public void setDBInstanceId(String dBInstanceId) { + this.dBInstanceId = dBInstanceId; + if(dBInstanceId != null){ + putQueryParameter("DBInstanceId", dBInstanceId); + } + } + + public String getResourceOwnerAccount() { + return this.resourceOwnerAccount; + } + + public void setResourceOwnerAccount(String resourceOwnerAccount) { + this.resourceOwnerAccount = resourceOwnerAccount; + if(resourceOwnerAccount != null){ + putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); + } + } + + public String getOwnerAccount() { + return this.ownerAccount; + } + + public void setOwnerAccount(String ownerAccount) { + this.ownerAccount = ownerAccount; + if(ownerAccount != null){ + putQueryParameter("OwnerAccount", ownerAccount); + } + } + + public String getOwnerId() { + return this.ownerId; + } + + public void setOwnerId(String ownerId) { + this.ownerId = ownerId; + if(ownerId != null){ + putQueryParameter("OwnerId", ownerId); + } + } + + @Override + public Class getResponseClass() { + return DeleteDBInstanceSecurityGroupRuleResponse.class; + } + +} diff --git a/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/DeleteDBInstanceSecurityGroupRuleResponse.java b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/DeleteDBInstanceSecurityGroupRuleResponse.java new file mode 100644 index 0000000000..1270938bc8 --- /dev/null +++ b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/DeleteDBInstanceSecurityGroupRuleResponse.java @@ -0,0 +1,66 @@ +/* + * 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.rds.model.v20140815; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.rds.transform.v20140815.DeleteDBInstanceSecurityGroupRuleResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteDBInstanceSecurityGroupRuleResponse extends AcsResponse { + + private String requestId; + + private String message; + + private String code; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + @Override + public DeleteDBInstanceSecurityGroupRuleResponse getInstance(UnmarshallerContext context) { + return DeleteDBInstanceSecurityGroupRuleResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/DescribeBackupsResponse.java b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/DescribeBackupsResponse.java index 1f9a82f9f2..dc9b9aef5b 100644 --- a/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/DescribeBackupsResponse.java +++ b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/DescribeBackupsResponse.java @@ -153,6 +153,10 @@ public static class Backup { private String resourceGroupId; + private String engine; + + private String engineVersion; + private List backupDownloadLinkByDB; public String getStorageClass() { @@ -379,6 +383,22 @@ public void setResourceGroupId(String resourceGroupId) { this.resourceGroupId = resourceGroupId; } + public String getEngine() { + return this.engine; + } + + public void setEngine(String engine) { + this.engine = engine; + } + + public String getEngineVersion() { + return this.engineVersion; + } + + public void setEngineVersion(String engineVersion) { + this.engineVersion = engineVersion; + } + public List getBackupDownloadLinkByDB() { return this.backupDownloadLinkByDB; } diff --git a/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/DescribeDBInstanceAttributeResponse.java b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/DescribeDBInstanceAttributeResponse.java index 199c890267..9c9786cb57 100644 --- a/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/DescribeDBInstanceAttributeResponse.java +++ b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/DescribeDBInstanceAttributeResponse.java @@ -1094,6 +1094,8 @@ public static class Extra { private String replicaGroupID; + private String recoveryModel; + private List dBInstanceIds; public String getReplicaGroupStatus() { @@ -1120,6 +1122,14 @@ public void setReplicaGroupID(String replicaGroupID) { this.replicaGroupID = replicaGroupID; } + public String getRecoveryModel() { + return this.recoveryModel; + } + + public void setRecoveryModel(String recoveryModel) { + this.recoveryModel = recoveryModel; + } + public List getDBInstanceIds() { return this.dBInstanceIds; } diff --git a/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/DescribeDBInstanceSecurityGroupRuleRequest.java b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/DescribeDBInstanceSecurityGroupRuleRequest.java new file mode 100644 index 0000000000..0d1a53bb99 --- /dev/null +++ b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/DescribeDBInstanceSecurityGroupRuleRequest.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.rds.model.v20140815; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.rds.Endpoint; + +/** + * @author auto create + * @version + */ +public class DescribeDBInstanceSecurityGroupRuleRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String dBInstanceId; + + private String resourceOwnerAccount; + + private String ownerAccount; + + private String ownerId; + public DescribeDBInstanceSecurityGroupRuleRequest() { + super("Rds", "2014-08-15", "DescribeDBInstanceSecurityGroupRule", "rds"); + 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 getDBInstanceId() { + return this.dBInstanceId; + } + + public void setDBInstanceId(String dBInstanceId) { + this.dBInstanceId = dBInstanceId; + if(dBInstanceId != null){ + putQueryParameter("DBInstanceId", dBInstanceId); + } + } + + public String getResourceOwnerAccount() { + return this.resourceOwnerAccount; + } + + public void setResourceOwnerAccount(String resourceOwnerAccount) { + this.resourceOwnerAccount = resourceOwnerAccount; + if(resourceOwnerAccount != null){ + putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); + } + } + + public String getOwnerAccount() { + return this.ownerAccount; + } + + public void setOwnerAccount(String ownerAccount) { + this.ownerAccount = ownerAccount; + if(ownerAccount != null){ + putQueryParameter("OwnerAccount", ownerAccount); + } + } + + public String getOwnerId() { + return this.ownerId; + } + + public void setOwnerId(String ownerId) { + this.ownerId = ownerId; + if(ownerId != null){ + putQueryParameter("OwnerId", ownerId); + } + } + + @Override + public Class getResponseClass() { + return DescribeDBInstanceSecurityGroupRuleResponse.class; + } + +} diff --git a/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/DescribeDBInstanceSecurityGroupRuleResponse.java b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/DescribeDBInstanceSecurityGroupRuleResponse.java new file mode 100644 index 0000000000..38d25b6265 --- /dev/null +++ b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/DescribeDBInstanceSecurityGroupRuleResponse.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.rds.model.v20140815; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.rds.transform.v20140815.DescribeDBInstanceSecurityGroupRuleResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeDBInstanceSecurityGroupRuleResponse extends AcsResponse { + + private String requestId; + + private String message; + + private String code; + + private String data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getData() { + return this.data; + } + + public void setData(String data) { + this.data = data; + } + + @Override + public DescribeDBInstanceSecurityGroupRuleResponse getInstance(UnmarshallerContext context) { + return DescribeDBInstanceSecurityGroupRuleResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/DescribeParametersResponse.java b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/DescribeParametersResponse.java index 4c70eedddd..8bc093a0b0 100644 --- a/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/DescribeParametersResponse.java +++ b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/DescribeParametersResponse.java @@ -33,7 +33,7 @@ public class DescribeParametersResponse extends AcsResponse { private List configParameters; - private List runningParameters; + private List runningParameters; private ParamGroupInfo paramGroupInfo; @@ -69,11 +69,11 @@ public void setConfigParameters(List configParameters) { this.configParameters = configParameters; } - public List getRunningParameters() { + public List getRunningParameters() { return this.runningParameters; } - public void setRunningParameters(List runningParameters) { + public void setRunningParameters(List runningParameters) { this.runningParameters = runningParameters; } @@ -118,6 +118,59 @@ public void setParameterValue(String parameterValue) { } } + public static class DBInstanceParameter1 { + + private String parameterDescription; + + private String parameterName; + + private String parameterValue; + + private String parameterValueRange; + + private String parameterDefaultValue; + + public String getParameterDescription() { + return this.parameterDescription; + } + + public void setParameterDescription(String parameterDescription) { + this.parameterDescription = parameterDescription; + } + + public String getParameterName() { + return this.parameterName; + } + + public void setParameterName(String parameterName) { + this.parameterName = parameterName; + } + + public String getParameterValue() { + return this.parameterValue; + } + + public void setParameterValue(String parameterValue) { + this.parameterValue = parameterValue; + } + + public String getParameterValueRange() { + return this.parameterValueRange; + } + + public void setParameterValueRange(String parameterValueRange) { + this.parameterValueRange = parameterValueRange; + } + + public String getParameterDefaultValue() { + return this.parameterDefaultValue; + } + + public void setParameterDefaultValue(String parameterDefaultValue) { + this.parameterDefaultValue = parameterDefaultValue; + } + } + public static class ParamGroupInfo { private String parameterGroupName; diff --git a/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/ModifyDBInstanceSecurityGroupRuleRequest.java b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/ModifyDBInstanceSecurityGroupRuleRequest.java new file mode 100644 index 0000000000..6693214867 --- /dev/null +++ b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/ModifyDBInstanceSecurityGroupRuleRequest.java @@ -0,0 +1,171 @@ +/* + * 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.rds.model.v20140815; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.rds.Endpoint; + +/** + * @author auto create + * @version + */ +public class ModifyDBInstanceSecurityGroupRuleRequest extends RpcAcsRequest { + + + private Long resourceOwnerId; + + private String description; + + private String dBInstanceId; + + private String portRange; + + private String ipProtocol; + + private String resourceOwnerAccount; + + private String sourceCidrIp; + + private String ownerAccount; + + private String ownerId; + + private String securityGroupRuleId; + public ModifyDBInstanceSecurityGroupRuleRequest() { + super("Rds", "2014-08-15", "ModifyDBInstanceSecurityGroupRule", "rds"); + 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 getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + if(description != null){ + putQueryParameter("Description", description); + } + } + + public String getDBInstanceId() { + return this.dBInstanceId; + } + + public void setDBInstanceId(String dBInstanceId) { + this.dBInstanceId = dBInstanceId; + if(dBInstanceId != null){ + putQueryParameter("DBInstanceId", dBInstanceId); + } + } + + public String getPortRange() { + return this.portRange; + } + + public void setPortRange(String portRange) { + this.portRange = portRange; + if(portRange != null){ + putQueryParameter("PortRange", portRange); + } + } + + public String getIpProtocol() { + return this.ipProtocol; + } + + public void setIpProtocol(String ipProtocol) { + this.ipProtocol = ipProtocol; + if(ipProtocol != null){ + putQueryParameter("IpProtocol", ipProtocol); + } + } + + public String getResourceOwnerAccount() { + return this.resourceOwnerAccount; + } + + public void setResourceOwnerAccount(String resourceOwnerAccount) { + this.resourceOwnerAccount = resourceOwnerAccount; + if(resourceOwnerAccount != null){ + putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); + } + } + + public String getSourceCidrIp() { + return this.sourceCidrIp; + } + + public void setSourceCidrIp(String sourceCidrIp) { + this.sourceCidrIp = sourceCidrIp; + if(sourceCidrIp != null){ + putQueryParameter("SourceCidrIp", sourceCidrIp); + } + } + + public String getOwnerAccount() { + return this.ownerAccount; + } + + public void setOwnerAccount(String ownerAccount) { + this.ownerAccount = ownerAccount; + if(ownerAccount != null){ + putQueryParameter("OwnerAccount", ownerAccount); + } + } + + public String getOwnerId() { + return this.ownerId; + } + + public void setOwnerId(String ownerId) { + this.ownerId = ownerId; + if(ownerId != null){ + putQueryParameter("OwnerId", ownerId); + } + } + + public String getSecurityGroupRuleId() { + return this.securityGroupRuleId; + } + + public void setSecurityGroupRuleId(String securityGroupRuleId) { + this.securityGroupRuleId = securityGroupRuleId; + if(securityGroupRuleId != null){ + putQueryParameter("SecurityGroupRuleId", securityGroupRuleId); + } + } + + @Override + public Class getResponseClass() { + return ModifyDBInstanceSecurityGroupRuleResponse.class; + } + +} diff --git a/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/ModifyDBInstanceSecurityGroupRuleResponse.java b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/ModifyDBInstanceSecurityGroupRuleResponse.java new file mode 100644 index 0000000000..c10037a500 --- /dev/null +++ b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/model/v20140815/ModifyDBInstanceSecurityGroupRuleResponse.java @@ -0,0 +1,66 @@ +/* + * 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.rds.model.v20140815; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.rds.transform.v20140815.ModifyDBInstanceSecurityGroupRuleResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ModifyDBInstanceSecurityGroupRuleResponse extends AcsResponse { + + private String requestId; + + private String message; + + private String code; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + @Override + public ModifyDBInstanceSecurityGroupRuleResponse getInstance(UnmarshallerContext context) { + return ModifyDBInstanceSecurityGroupRuleResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/transform/v20140815/CreateDBInstanceSecurityGroupRuleResponseUnmarshaller.java b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/transform/v20140815/CreateDBInstanceSecurityGroupRuleResponseUnmarshaller.java new file mode 100644 index 0000000000..2366892c4a --- /dev/null +++ b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/transform/v20140815/CreateDBInstanceSecurityGroupRuleResponseUnmarshaller.java @@ -0,0 +1,31 @@ +/* + * 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.rds.transform.v20140815; + +import com.aliyuncs.rds.model.v20140815.CreateDBInstanceSecurityGroupRuleResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateDBInstanceSecurityGroupRuleResponseUnmarshaller { + + public static CreateDBInstanceSecurityGroupRuleResponse unmarshall(CreateDBInstanceSecurityGroupRuleResponse createDBInstanceSecurityGroupRuleResponse, UnmarshallerContext _ctx) { + + createDBInstanceSecurityGroupRuleResponse.setRequestId(_ctx.stringValue("CreateDBInstanceSecurityGroupRuleResponse.RequestId")); + createDBInstanceSecurityGroupRuleResponse.setMessage(_ctx.stringValue("CreateDBInstanceSecurityGroupRuleResponse.Message")); + createDBInstanceSecurityGroupRuleResponse.setCode(_ctx.stringValue("CreateDBInstanceSecurityGroupRuleResponse.Code")); + + return createDBInstanceSecurityGroupRuleResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/transform/v20140815/DeleteDBInstanceSecurityGroupRuleResponseUnmarshaller.java b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/transform/v20140815/DeleteDBInstanceSecurityGroupRuleResponseUnmarshaller.java new file mode 100644 index 0000000000..715a40a08c --- /dev/null +++ b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/transform/v20140815/DeleteDBInstanceSecurityGroupRuleResponseUnmarshaller.java @@ -0,0 +1,31 @@ +/* + * 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.rds.transform.v20140815; + +import com.aliyuncs.rds.model.v20140815.DeleteDBInstanceSecurityGroupRuleResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteDBInstanceSecurityGroupRuleResponseUnmarshaller { + + public static DeleteDBInstanceSecurityGroupRuleResponse unmarshall(DeleteDBInstanceSecurityGroupRuleResponse deleteDBInstanceSecurityGroupRuleResponse, UnmarshallerContext _ctx) { + + deleteDBInstanceSecurityGroupRuleResponse.setRequestId(_ctx.stringValue("DeleteDBInstanceSecurityGroupRuleResponse.RequestId")); + deleteDBInstanceSecurityGroupRuleResponse.setMessage(_ctx.stringValue("DeleteDBInstanceSecurityGroupRuleResponse.Message")); + deleteDBInstanceSecurityGroupRuleResponse.setCode(_ctx.stringValue("DeleteDBInstanceSecurityGroupRuleResponse.Code")); + + return deleteDBInstanceSecurityGroupRuleResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/transform/v20140815/DescribeBackupsResponseUnmarshaller.java b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/transform/v20140815/DescribeBackupsResponseUnmarshaller.java index e5d8c493df..a9e8befac4 100644 --- a/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/transform/v20140815/DescribeBackupsResponseUnmarshaller.java +++ b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/transform/v20140815/DescribeBackupsResponseUnmarshaller.java @@ -65,6 +65,8 @@ public static DescribeBackupsResponse unmarshall(DescribeBackupsResponse describ backup.setBackupExtractionStatus(_ctx.stringValue("DescribeBackupsResponse.Items["+ i +"].BackupExtractionStatus")); backup.setChecksum(_ctx.stringValue("DescribeBackupsResponse.Items["+ i +"].Checksum")); backup.setResourceGroupId(_ctx.stringValue("DescribeBackupsResponse.Items["+ i +"].ResourceGroupId")); + backup.setEngine(_ctx.stringValue("DescribeBackupsResponse.Items["+ i +"].Engine")); + backup.setEngineVersion(_ctx.stringValue("DescribeBackupsResponse.Items["+ i +"].EngineVersion")); List backupDownloadLinkByDB = new ArrayList(); for (int j = 0; j < _ctx.lengthValue("DescribeBackupsResponse.Items["+ i +"].BackupDownloadLinkByDB.Length"); j++) { diff --git a/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/transform/v20140815/DescribeDBInstanceAttributeResponseUnmarshaller.java b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/transform/v20140815/DescribeDBInstanceAttributeResponseUnmarshaller.java index a91967f2a7..1bf6ff1b1f 100644 --- a/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/transform/v20140815/DescribeDBInstanceAttributeResponseUnmarshaller.java +++ b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/transform/v20140815/DescribeDBInstanceAttributeResponseUnmarshaller.java @@ -128,6 +128,7 @@ public static DescribeDBInstanceAttributeResponse unmarshall(DescribeDBInstanceA extra.setReplicaGroupStatus(_ctx.stringValue("DescribeDBInstanceAttributeResponse.Items["+ i +"].Extra.ReplicaGroupStatus")); extra.setActiveReplicaDBInstanceID(_ctx.stringValue("DescribeDBInstanceAttributeResponse.Items["+ i +"].Extra.ActiveReplicaDBInstanceID")); extra.setReplicaGroupID(_ctx.stringValue("DescribeDBInstanceAttributeResponse.Items["+ i +"].Extra.ReplicaGroupID")); + extra.setRecoveryModel(_ctx.stringValue("DescribeDBInstanceAttributeResponse.Items["+ i +"].Extra.RecoveryModel")); List dBInstanceIds = new ArrayList(); for (int j = 0; j < _ctx.lengthValue("DescribeDBInstanceAttributeResponse.Items["+ i +"].Extra.DBInstanceIds.Length"); j++) { diff --git a/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/transform/v20140815/DescribeDBInstanceSecurityGroupRuleResponseUnmarshaller.java b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/transform/v20140815/DescribeDBInstanceSecurityGroupRuleResponseUnmarshaller.java new file mode 100644 index 0000000000..77c6cbc902 --- /dev/null +++ b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/transform/v20140815/DescribeDBInstanceSecurityGroupRuleResponseUnmarshaller.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.rds.transform.v20140815; + +import com.aliyuncs.rds.model.v20140815.DescribeDBInstanceSecurityGroupRuleResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeDBInstanceSecurityGroupRuleResponseUnmarshaller { + + public static DescribeDBInstanceSecurityGroupRuleResponse unmarshall(DescribeDBInstanceSecurityGroupRuleResponse describeDBInstanceSecurityGroupRuleResponse, UnmarshallerContext _ctx) { + + describeDBInstanceSecurityGroupRuleResponse.setRequestId(_ctx.stringValue("DescribeDBInstanceSecurityGroupRuleResponse.RequestId")); + describeDBInstanceSecurityGroupRuleResponse.setMessage(_ctx.stringValue("DescribeDBInstanceSecurityGroupRuleResponse.Message")); + describeDBInstanceSecurityGroupRuleResponse.setCode(_ctx.stringValue("DescribeDBInstanceSecurityGroupRuleResponse.Code")); + describeDBInstanceSecurityGroupRuleResponse.setData(_ctx.stringValue("DescribeDBInstanceSecurityGroupRuleResponse.Data")); + + return describeDBInstanceSecurityGroupRuleResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/transform/v20140815/DescribeParametersResponseUnmarshaller.java b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/transform/v20140815/DescribeParametersResponseUnmarshaller.java index 63e2044e2f..400b708f0c 100644 --- a/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/transform/v20140815/DescribeParametersResponseUnmarshaller.java +++ b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/transform/v20140815/DescribeParametersResponseUnmarshaller.java @@ -19,6 +19,7 @@ import com.aliyuncs.rds.model.v20140815.DescribeParametersResponse; import com.aliyuncs.rds.model.v20140815.DescribeParametersResponse.DBInstanceParameter; +import com.aliyuncs.rds.model.v20140815.DescribeParametersResponse.DBInstanceParameter1; import com.aliyuncs.rds.model.v20140815.DescribeParametersResponse.ParamGroupInfo; import com.aliyuncs.transform.UnmarshallerContext; @@ -49,12 +50,14 @@ public static DescribeParametersResponse unmarshall(DescribeParametersResponse d } describeParametersResponse.setConfigParameters(configParameters); - List runningParameters = new ArrayList(); + List runningParameters = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("DescribeParametersResponse.RunningParameters.Length"); i++) { - DBInstanceParameter dBInstanceParameter1 = new DBInstanceParameter(); + DBInstanceParameter1 dBInstanceParameter1 = new DBInstanceParameter1(); dBInstanceParameter1.setParameterDescription(_ctx.stringValue("DescribeParametersResponse.RunningParameters["+ i +"].ParameterDescription")); dBInstanceParameter1.setParameterName(_ctx.stringValue("DescribeParametersResponse.RunningParameters["+ i +"].ParameterName")); dBInstanceParameter1.setParameterValue(_ctx.stringValue("DescribeParametersResponse.RunningParameters["+ i +"].ParameterValue")); + dBInstanceParameter1.setParameterValueRange(_ctx.stringValue("DescribeParametersResponse.RunningParameters["+ i +"].ParameterValueRange")); + dBInstanceParameter1.setParameterDefaultValue(_ctx.stringValue("DescribeParametersResponse.RunningParameters["+ i +"].ParameterDefaultValue")); runningParameters.add(dBInstanceParameter1); } diff --git a/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/transform/v20140815/ModifyDBInstanceSecurityGroupRuleResponseUnmarshaller.java b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/transform/v20140815/ModifyDBInstanceSecurityGroupRuleResponseUnmarshaller.java new file mode 100644 index 0000000000..785002692b --- /dev/null +++ b/aliyun-java-sdk-rds/src/main/java/com/aliyuncs/rds/transform/v20140815/ModifyDBInstanceSecurityGroupRuleResponseUnmarshaller.java @@ -0,0 +1,31 @@ +/* + * 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.rds.transform.v20140815; + +import com.aliyuncs.rds.model.v20140815.ModifyDBInstanceSecurityGroupRuleResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ModifyDBInstanceSecurityGroupRuleResponseUnmarshaller { + + public static ModifyDBInstanceSecurityGroupRuleResponse unmarshall(ModifyDBInstanceSecurityGroupRuleResponse modifyDBInstanceSecurityGroupRuleResponse, UnmarshallerContext _ctx) { + + modifyDBInstanceSecurityGroupRuleResponse.setRequestId(_ctx.stringValue("ModifyDBInstanceSecurityGroupRuleResponse.RequestId")); + modifyDBInstanceSecurityGroupRuleResponse.setMessage(_ctx.stringValue("ModifyDBInstanceSecurityGroupRuleResponse.Message")); + modifyDBInstanceSecurityGroupRuleResponse.setCode(_ctx.stringValue("ModifyDBInstanceSecurityGroupRuleResponse.Code")); + + return modifyDBInstanceSecurityGroupRuleResponse; + } +} \ No newline at end of file