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

com.tencentcloudapi.cfw.v20190904.models.DescribeCfwEipsRequest Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
 *
 * 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.tencentcloudapi.cfw.v20190904.models;

import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class DescribeCfwEipsRequest extends AbstractModel {

    /**
    * 1:cfw接入模式,目前仅支持接入模式实例
    */
    @SerializedName("Mode")
    @Expose
    private Long Mode;

    /**
    * ALL:查询所有弹性公网ip; nat-xxxxx:接入模式场景指定网关的弹性公网ip
    */
    @SerializedName("NatGatewayId")
    @Expose
    private String NatGatewayId;

    /**
    * 防火墙实例id,当前仅支持接入模式的实例
    */
    @SerializedName("CfwInstance")
    @Expose
    private String CfwInstance;

    /**
     * Get 1:cfw接入模式,目前仅支持接入模式实例 
     * @return Mode 1:cfw接入模式,目前仅支持接入模式实例
     */
    public Long getMode() {
        return this.Mode;
    }

    /**
     * Set 1:cfw接入模式,目前仅支持接入模式实例
     * @param Mode 1:cfw接入模式,目前仅支持接入模式实例
     */
    public void setMode(Long Mode) {
        this.Mode = Mode;
    }

    /**
     * Get ALL:查询所有弹性公网ip; nat-xxxxx:接入模式场景指定网关的弹性公网ip 
     * @return NatGatewayId ALL:查询所有弹性公网ip; nat-xxxxx:接入模式场景指定网关的弹性公网ip
     */
    public String getNatGatewayId() {
        return this.NatGatewayId;
    }

    /**
     * Set ALL:查询所有弹性公网ip; nat-xxxxx:接入模式场景指定网关的弹性公网ip
     * @param NatGatewayId ALL:查询所有弹性公网ip; nat-xxxxx:接入模式场景指定网关的弹性公网ip
     */
    public void setNatGatewayId(String NatGatewayId) {
        this.NatGatewayId = NatGatewayId;
    }

    /**
     * Get 防火墙实例id,当前仅支持接入模式的实例 
     * @return CfwInstance 防火墙实例id,当前仅支持接入模式的实例
     */
    public String getCfwInstance() {
        return this.CfwInstance;
    }

    /**
     * Set 防火墙实例id,当前仅支持接入模式的实例
     * @param CfwInstance 防火墙实例id,当前仅支持接入模式的实例
     */
    public void setCfwInstance(String CfwInstance) {
        this.CfwInstance = CfwInstance;
    }

    public DescribeCfwEipsRequest() {
    }

    /**
     * NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
     *       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
     */
    public DescribeCfwEipsRequest(DescribeCfwEipsRequest source) {
        if (source.Mode != null) {
            this.Mode = new Long(source.Mode);
        }
        if (source.NatGatewayId != null) {
            this.NatGatewayId = new String(source.NatGatewayId);
        }
        if (source.CfwInstance != null) {
            this.CfwInstance = new String(source.CfwInstance);
        }
    }


    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamSimple(map, prefix + "Mode", this.Mode);
        this.setParamSimple(map, prefix + "NatGatewayId", this.NatGatewayId);
        this.setParamSimple(map, prefix + "CfwInstance", this.CfwInstance);

    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy