All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyuncs.vpc.model.v20160428.CreateVpnGatewayRequest Maven / Gradle / Ivy

/*
 * 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.vpc.model.v20160428;

import com.aliyuncs.RpcAcsRequest;

/**
 * @author auto create
 * @version 
 */
public class CreateVpnGatewayRequest extends RpcAcsRequest {
	
	public CreateVpnGatewayRequest() {
		super("Vpc", "2016-04-28", "CreateVpnGateway", "vpc");
	}

	private Long resourceOwnerId;

	private Integer period;

	private Boolean autoPay;

	private String resourceOwnerAccount;

	private Integer bandwidth;

	private Boolean enableIpsec;

	private String ownerAccount;

	private Long ownerId;

	private Boolean enableSsl;

	private Integer sslConnections;

	private String vpcId;

	private String name;

	private String instanceChargeType;

	public Long getResourceOwnerId() {
		return this.resourceOwnerId;
	}

	public void setResourceOwnerId(Long resourceOwnerId) {
		this.resourceOwnerId = resourceOwnerId;
		if(resourceOwnerId != null){
			putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
		}
	}

	public Integer getPeriod() {
		return this.period;
	}

	public void setPeriod(Integer period) {
		this.period = period;
		if(period != null){
			putQueryParameter("Period", period.toString());
		}
	}

	public Boolean getAutoPay() {
		return this.autoPay;
	}

	public void setAutoPay(Boolean autoPay) {
		this.autoPay = autoPay;
		if(autoPay != null){
			putQueryParameter("AutoPay", autoPay.toString());
		}
	}

	public String getResourceOwnerAccount() {
		return this.resourceOwnerAccount;
	}

	public void setResourceOwnerAccount(String resourceOwnerAccount) {
		this.resourceOwnerAccount = resourceOwnerAccount;
		if(resourceOwnerAccount != null){
			putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
		}
	}

	public Integer getBandwidth() {
		return this.bandwidth;
	}

	public void setBandwidth(Integer bandwidth) {
		this.bandwidth = bandwidth;
		if(bandwidth != null){
			putQueryParameter("Bandwidth", bandwidth.toString());
		}
	}

	public Boolean getEnableIpsec() {
		return this.enableIpsec;
	}

	public void setEnableIpsec(Boolean enableIpsec) {
		this.enableIpsec = enableIpsec;
		if(enableIpsec != null){
			putQueryParameter("EnableIpsec", enableIpsec.toString());
		}
	}

	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 Boolean getEnableSsl() {
		return this.enableSsl;
	}

	public void setEnableSsl(Boolean enableSsl) {
		this.enableSsl = enableSsl;
		if(enableSsl != null){
			putQueryParameter("EnableSsl", enableSsl.toString());
		}
	}

	public Integer getSslConnections() {
		return this.sslConnections;
	}

	public void setSslConnections(Integer sslConnections) {
		this.sslConnections = sslConnections;
		if(sslConnections != null){
			putQueryParameter("SslConnections", sslConnections.toString());
		}
	}

	public String getVpcId() {
		return this.vpcId;
	}

	public void setVpcId(String vpcId) {
		this.vpcId = vpcId;
		if(vpcId != null){
			putQueryParameter("VpcId", vpcId);
		}
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
		if(name != null){
			putQueryParameter("Name", name);
		}
	}

	public String getInstanceChargeType() {
		return this.instanceChargeType;
	}

	public void setInstanceChargeType(String instanceChargeType) {
		this.instanceChargeType = instanceChargeType;
		if(instanceChargeType != null){
			putQueryParameter("InstanceChargeType", instanceChargeType);
		}
	}

	@Override
	public Class getResponseClass() {
		return CreateVpnGatewayResponse.class;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy