Skip to content

Commit

Permalink
Generated 2014-08-15 for Rds.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Jul 3, 2024
1 parent 53424b7 commit 7662929
Show file tree
Hide file tree
Showing 20 changed files with 1,077 additions and 6 deletions.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-rds/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-rds/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-rds</artifactId>
<packaging>jar</packaging>
<version>2.7.51</version>
<version>2.7.52</version>
<name>aliyun-java-sdk-rds</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down
Original file line number Diff line number Diff line change
@@ -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<CreateDBInstanceSecurityGroupRuleResponse> {


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<CreateDBInstanceSecurityGroupRuleResponse> getResponseClass() {
return CreateDBInstanceSecurityGroupRuleResponse.class;
}

}
Original file line number Diff line number Diff line change
@@ -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;
}
}
Original file line number Diff line number Diff line change
@@ -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<DeleteDBInstanceSecurityGroupRuleResponse> {


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<DeleteDBInstanceSecurityGroupRuleResponse> getResponseClass() {
return DeleteDBInstanceSecurityGroupRuleResponse.class;
}

}
Loading

0 comments on commit 7662929

Please sign in to comment.