com.jdcloud.sdk.service.waf.model.ListRiskConfDefaultReq 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;
import com.jdcloud.sdk.annotation.Required;
/**
* listRiskConfDefaultReq
*/
public class ListRiskConfDefaultReq implements java.io.Serializable {
private static final long serialVersionUID = 1L;
/**
* WAF实例id
* Required:true
*/
@Required
private String wafInstanceId;
/**
* 域名
* Required:true
*/
@Required
private String domain;
/**
* 规则类型 internalVar \| generalVar
*/
private String ruleType;
/**
* 页码,[1-100],默认是1
*/
private Integer pageIndex;
/**
* 页大小,[1-100],默认是10
*/
private Integer pageSize;
/**
* 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 规则类型 internalVar \| generalVar
*
* @return
*/
public String getRuleType() {
return ruleType;
}
/**
* set 规则类型 internalVar \| generalVar
*
* @param ruleType
*/
public void setRuleType(String ruleType) {
this.ruleType = ruleType;
}
/**
* get 页码,[1-100],默认是1
*
* @return
*/
public Integer getPageIndex() {
return pageIndex;
}
/**
* set 页码,[1-100],默认是1
*
* @param pageIndex
*/
public void setPageIndex(Integer pageIndex) {
this.pageIndex = pageIndex;
}
/**
* get 页大小,[1-100],默认是10
*
* @return
*/
public Integer getPageSize() {
return pageSize;
}
/**
* set 页大小,[1-100],默认是10
*
* @param pageSize
*/
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
/**
* set WAF实例id
*
* @param wafInstanceId
*/
public ListRiskConfDefaultReq wafInstanceId(String wafInstanceId) {
this.wafInstanceId = wafInstanceId;
return this;
}
/**
* set 域名
*
* @param domain
*/
public ListRiskConfDefaultReq domain(String domain) {
this.domain = domain;
return this;
}
/**
* set 规则类型 internalVar \| generalVar
*
* @param ruleType
*/
public ListRiskConfDefaultReq ruleType(String ruleType) {
this.ruleType = ruleType;
return this;
}
/**
* set 页码,[1-100],默认是1
*
* @param pageIndex
*/
public ListRiskConfDefaultReq pageIndex(Integer pageIndex) {
this.pageIndex = pageIndex;
return this;
}
/**
* set 页大小,[1-100],默认是10
*
* @param pageSize
*/
public ListRiskConfDefaultReq pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
}