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

com.jdcloud.sdk.service.waf.model.RiskEventCfg 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.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */

package com.jdcloud.sdk.service.waf.model;


/**
 * riskEventCfg
 */
public class RiskEventCfg  implements java.io.Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 规则id
     */
    private Integer id;

    /**
     * WAF实例id
     */
    private String wafInstanceId;

    /**
     * 域名
     */
    private String domain;

    /**
     * 名称
     */
    private String name;

    /**
     * 请求uri
     */
    private String uri;

    /**
     * 编码信息
     */
    private String code;

    /**
     * 描述信息
     */
    private String desc;

    /**
     * 已配置策略数
     */
    private Integer policyCount;

    /**
     * 0-使用中 1-禁用
     */
    private Integer disable;

    /**
     * 更新时间,s
     */
    private Integer updateTime;



    /**
     * get 规则id
     *
     * @return
     */
    public Integer getId() {
        return id;
    }

    /**
     * set 规则id
     *
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }


    /**
     * get WAF实例id
     *
     * @return
     */
    public String getWafInstanceId() {
        return wafInstanceId;
    }

    /**
     * set WAF实例id
     *
     * @param wafInstanceId
     */
    public void setWafInstanceId(String wafInstanceId) {
        this.wafInstanceId = wafInstanceId;
    }


    /**
     * get 域名
     *
     * @return
     */
    public String getDomain() {
        return domain;
    }

    /**
     * set 域名
     *
     * @param domain
     */
    public void setDomain(String domain) {
        this.domain = domain;
    }


    /**
     * get 名称
     *
     * @return
     */
    public String getName() {
        return name;
    }

    /**
     * set 名称
     *
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }


    /**
     * get 请求uri
     *
     * @return
     */
    public String getUri() {
        return uri;
    }

    /**
     * set 请求uri
     *
     * @param uri
     */
    public void setUri(String uri) {
        this.uri = uri;
    }


    /**
     * get 编码信息
     *
     * @return
     */
    public String getCode() {
        return code;
    }

    /**
     * set 编码信息
     *
     * @param code
     */
    public void setCode(String code) {
        this.code = code;
    }


    /**
     * get 描述信息
     *
     * @return
     */
    public String getDesc() {
        return desc;
    }

    /**
     * set 描述信息
     *
     * @param desc
     */
    public void setDesc(String desc) {
        this.desc = desc;
    }


    /**
     * get 已配置策略数
     *
     * @return
     */
    public Integer getPolicyCount() {
        return policyCount;
    }

    /**
     * set 已配置策略数
     *
     * @param policyCount
     */
    public void setPolicyCount(Integer policyCount) {
        this.policyCount = policyCount;
    }


    /**
     * get 0-使用中 1-禁用
     *
     * @return
     */
    public Integer getDisable() {
        return disable;
    }

    /**
     * set 0-使用中 1-禁用
     *
     * @param disable
     */
    public void setDisable(Integer disable) {
        this.disable = disable;
    }


    /**
     * get 更新时间,s
     *
     * @return
     */
    public Integer getUpdateTime() {
        return updateTime;
    }

    /**
     * set 更新时间,s
     *
     * @param updateTime
     */
    public void setUpdateTime(Integer updateTime) {
        this.updateTime = updateTime;
    }



    /**
     * set 规则id
     *
     * @param id
     */
    public RiskEventCfg id(Integer id) {
        this.id = id;
        return this;
    }


    /**
     * set WAF实例id
     *
     * @param wafInstanceId
     */
    public RiskEventCfg wafInstanceId(String wafInstanceId) {
        this.wafInstanceId = wafInstanceId;
        return this;
    }


    /**
     * set 域名
     *
     * @param domain
     */
    public RiskEventCfg domain(String domain) {
        this.domain = domain;
        return this;
    }


    /**
     * set 名称
     *
     * @param name
     */
    public RiskEventCfg name(String name) {
        this.name = name;
        return this;
    }


    /**
     * set 请求uri
     *
     * @param uri
     */
    public RiskEventCfg uri(String uri) {
        this.uri = uri;
        return this;
    }


    /**
     * set 编码信息
     *
     * @param code
     */
    public RiskEventCfg code(String code) {
        this.code = code;
        return this;
    }


    /**
     * set 描述信息
     *
     * @param desc
     */
    public RiskEventCfg desc(String desc) {
        this.desc = desc;
        return this;
    }


    /**
     * set 已配置策略数
     *
     * @param policyCount
     */
    public RiskEventCfg policyCount(Integer policyCount) {
        this.policyCount = policyCount;
        return this;
    }


    /**
     * set 0-使用中 1-禁用
     *
     * @param disable
     */
    public RiskEventCfg disable(Integer disable) {
        this.disable = disable;
        return this;
    }


    /**
     * set 更新时间,s
     *
     * @param updateTime
     */
    public RiskEventCfg updateTime(Integer updateTime) {
        this.updateTime = updateTime;
        return this;
    }


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy