com.jdcloud.sdk.service.waf.model.ThreatIpBotRules Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of waf Show documentation
Show all versions of waf Show documentation
JDCLOUD Open API SDK for Java
The newest version!
/*
* 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;
/**
* threatIpBotRules
*/
public class ThreatIpBotRules implements java.io.Serializable {
private static final long serialVersionUID = 1L;
/**
* 威胁情报库类型en
*/
private String botType;
/**
* 威胁情报库类型zh
*/
private String botTypeZh;
/**
* 1-使用中,0-禁用
*/
private Integer enable;
/**
* 动作配置
*/
private DenyActionCfg action;
/**
* get 威胁情报库类型en
*
* @return
*/
public String getBotType() {
return botType;
}
/**
* set 威胁情报库类型en
*
* @param botType
*/
public void setBotType(String botType) {
this.botType = botType;
}
/**
* get 威胁情报库类型zh
*
* @return
*/
public String getBotTypeZh() {
return botTypeZh;
}
/**
* set 威胁情报库类型zh
*
* @param botTypeZh
*/
public void setBotTypeZh(String botTypeZh) {
this.botTypeZh = botTypeZh;
}
/**
* get 1-使用中,0-禁用
*
* @return
*/
public Integer getEnable() {
return enable;
}
/**
* set 1-使用中,0-禁用
*
* @param enable
*/
public void setEnable(Integer enable) {
this.enable = enable;
}
/**
* get 动作配置
*
* @return
*/
public DenyActionCfg getAction() {
return action;
}
/**
* set 动作配置
*
* @param action
*/
public void setAction(DenyActionCfg action) {
this.action = action;
}
/**
* set 威胁情报库类型en
*
* @param botType
*/
public ThreatIpBotRules botType(String botType) {
this.botType = botType;
return this;
}
/**
* set 威胁情报库类型zh
*
* @param botTypeZh
*/
public ThreatIpBotRules botTypeZh(String botTypeZh) {
this.botTypeZh = botTypeZh;
return this;
}
/**
* set 1-使用中,0-禁用
*
* @param enable
*/
public ThreatIpBotRules enable(Integer enable) {
this.enable = enable;
return this;
}
/**
* set 动作配置
*
* @param action
*/
public ThreatIpBotRules action(DenyActionCfg action) {
this.action = action;
return this;
}
}