com.jdcloud.sdk.service.waf.model.ActiveFuncReq 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;
/**
* activeFuncReq
*/
public class ActiveFuncReq implements java.io.Serializable {
private static final long serialVersionUID = 1L;
/**
* 实例id,代表要设置的WAF实例
*/
private String wafInstanceId;
/**
* 域名
* Required:true
*/
@Required
private String domain;
/**
* 是否使能 0表示否
*/
private Integer enable;
/**
* get 实例id,代表要设置的WAF实例
*
* @return
*/
public String getWafInstanceId() {
return wafInstanceId;
}
/**
* set 实例id,代表要设置的WAF实例
*
* @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 是否使能 0表示否
*
* @return
*/
public Integer getEnable() {
return enable;
}
/**
* set 是否使能 0表示否
*
* @param enable
*/
public void setEnable(Integer enable) {
this.enable = enable;
}
/**
* set 实例id,代表要设置的WAF实例
*
* @param wafInstanceId
*/
public ActiveFuncReq wafInstanceId(String wafInstanceId) {
this.wafInstanceId = wafInstanceId;
return this;
}
/**
* set 域名
*
* @param domain
*/
public ActiveFuncReq domain(String domain) {
this.domain = domain;
return this;
}
/**
* set 是否使能 0表示否
*
* @param enable
*/
public ActiveFuncReq enable(Integer enable) {
this.enable = enable;
return this;
}
}