com.jdcloud.sdk.service.waf.model.GetMainAntiInfoNewRequest 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.
*
* Data-Chart
* Data-Chart API
*
* OpenAPI spec version: v1
* 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;
import com.jdcloud.sdk.service.waf.model.GetChartReq;
import com.jdcloud.sdk.service.JdcloudRequest;
/**
* 获取网站在一定时间内主要的防护信息,新接口,无url响应时间分布。
*/
public class GetMainAntiInfoNewRequest extends JdcloudRequest implements java.io.Serializable {
private static final long serialVersionUID = 1L;
/**
* 请求
* Required:true
*/
@Required
private GetChartReq req;
/**
* 实例所属的地域ID
* Required:true
*/
@Required
private String regionId;
/**
* get 请求
*
* @return
*/
public GetChartReq getReq() {
return req;
}
/**
* set 请求
*
* @param req
*/
public void setReq(GetChartReq req) {
this.req = req;
}
/**
* get 实例所属的地域ID
*
* @return
*/
public String getRegionId() {
return regionId;
}
/**
* set 实例所属的地域ID
*
* @param regionId
*/
public void setRegionId(String regionId) {
this.regionId = regionId;
}
/**
* set 请求
*
* @param req
*/
public GetMainAntiInfoNewRequest req(GetChartReq req) {
this.req = req;
return this;
}
/**
* set 实例所属的地域ID
*
* @param regionId
*/
public GetMainAntiInfoNewRequest regionId(String regionId) {
this.regionId = regionId;
return this;
}
}