com.jdcloud.sdk.service.bgw.model.ModifyAdminStatusRequest Maven / Gradle / Ivy
/*
* Copyright 2018 JDCLOUD.COM
*
* 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.
*
* VpnTunnel
* VPN隧道相关接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
package com.jdcloud.sdk.service.bgw.model;
import com.jdcloud.sdk.annotation.Required;
import com.jdcloud.sdk.service.JdcloudRequest;
/**
* 修改VPN隧道管理状态
*/
public class ModifyAdminStatusRequest extends JdcloudRequest implements java.io.Serializable {
private static final long serialVersionUID = 1L;
/**
* 隧道管理状态, UP, DOWN
* Required:true
*/
@Required
private String adminStatus;
/**
* Region ID
* Required:true
*/
@Required
private String regionId;
/**
* VPN Tunnel ID
* Required:true
*/
@Required
private String vpnTunnelId;
/**
* get 隧道管理状态, UP, DOWN
*
* @return
*/
public String getAdminStatus() {
return adminStatus;
}
/**
* set 隧道管理状态, UP, DOWN
*
* @param adminStatus
*/
public void setAdminStatus(String adminStatus) {
this.adminStatus = adminStatus;
}
/**
* get Region ID
*
* @return
*/
public String getRegionId() {
return regionId;
}
/**
* set Region ID
*
* @param regionId
*/
public void setRegionId(String regionId) {
this.regionId = regionId;
}
/**
* get VPN Tunnel ID
*
* @return
*/
public String getVpnTunnelId() {
return vpnTunnelId;
}
/**
* set VPN Tunnel ID
*
* @param vpnTunnelId
*/
public void setVpnTunnelId(String vpnTunnelId) {
this.vpnTunnelId = vpnTunnelId;
}
/**
* set 隧道管理状态, UP, DOWN
*
* @param adminStatus
*/
public ModifyAdminStatusRequest adminStatus(String adminStatus) {
this.adminStatus = adminStatus;
return this;
}
/**
* set Region ID
*
* @param regionId
*/
public ModifyAdminStatusRequest regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* set VPN Tunnel ID
*
* @param vpnTunnelId
*/
public ModifyAdminStatusRequest vpnTunnelId(String vpnTunnelId) {
this.vpnTunnelId = vpnTunnelId;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy