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