2021-08-18 19:15:49 +08:00
|
|
|
package com.zdjizhi.common;
|
|
|
|
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
import java.util.ArrayList;
|
2022-09-23 18:37:33 +08:00
|
|
|
import java.util.Arrays;
|
2021-10-22 18:38:29 +08:00
|
|
|
import java.util.Objects;
|
2021-08-18 19:15:49 +08:00
|
|
|
|
2021-10-22 18:38:29 +08:00
|
|
|
/**
|
|
|
|
|
* @author wlh
|
|
|
|
|
*/
|
2021-08-18 19:15:49 +08:00
|
|
|
public class DosDetectionThreshold implements Serializable {
|
2023-04-03 17:35:36 +08:00
|
|
|
private long profileId;
|
2021-08-18 19:15:49 +08:00
|
|
|
private String attackType;
|
|
|
|
|
private ArrayList<String> serverIpList;
|
|
|
|
|
private String serverIpAddr;
|
|
|
|
|
private long packetsPerSec;
|
|
|
|
|
private long bitsPerSec;
|
|
|
|
|
private long sessionsPerSec;
|
|
|
|
|
private int isValid;
|
2022-09-23 18:37:33 +08:00
|
|
|
private int vsysId;
|
|
|
|
|
private Integer[] superiorIds;
|
2021-10-22 18:38:29 +08:00
|
|
|
|
2023-04-03 17:35:36 +08:00
|
|
|
public long getProfileId() {
|
2021-08-18 19:15:49 +08:00
|
|
|
return profileId;
|
|
|
|
|
}
|
|
|
|
|
|
2023-04-03 17:35:36 +08:00
|
|
|
public void setProfileId(long profileId) {
|
2021-08-18 19:15:49 +08:00
|
|
|
this.profileId = profileId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getAttackType() {
|
|
|
|
|
return attackType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setAttackType(String attackType) {
|
|
|
|
|
this.attackType = attackType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ArrayList<String> getServerIpList() {
|
|
|
|
|
return serverIpList;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setServerIpList(ArrayList<String> serverIpList) {
|
|
|
|
|
this.serverIpList = serverIpList;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getServerIpAddr() {
|
|
|
|
|
return serverIpAddr;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setServerIpAddr(String serverIpAddr) {
|
|
|
|
|
this.serverIpAddr = serverIpAddr;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public long getPacketsPerSec() {
|
|
|
|
|
return packetsPerSec;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setPacketsPerSec(long packetsPerSec) {
|
|
|
|
|
this.packetsPerSec = packetsPerSec;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public long getBitsPerSec() {
|
|
|
|
|
return bitsPerSec;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setBitsPerSec(long bitsPerSec) {
|
|
|
|
|
this.bitsPerSec = bitsPerSec;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public long getSessionsPerSec() {
|
|
|
|
|
return sessionsPerSec;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setSessionsPerSec(long sessionsPerSec) {
|
|
|
|
|
this.sessionsPerSec = sessionsPerSec;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public int getIsValid() {
|
|
|
|
|
return isValid;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setIsValid(int isValid) {
|
|
|
|
|
this.isValid = isValid;
|
|
|
|
|
}
|
2022-09-23 18:37:33 +08:00
|
|
|
|
|
|
|
|
public int getVsysId() {
|
|
|
|
|
return vsysId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setVsysId(int vsysId) {
|
|
|
|
|
this.vsysId = vsysId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Integer[] getSuperiorIds() {
|
|
|
|
|
return superiorIds;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setSuperiorIds(Integer[] superiorIds) {
|
|
|
|
|
this.superiorIds = superiorIds;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public String toString() {
|
|
|
|
|
return "DosDetectionThreshold{" +
|
|
|
|
|
"profileId='" + profileId + '\'' +
|
|
|
|
|
", attackType='" + attackType + '\'' +
|
|
|
|
|
", serverIpList=" + serverIpList +
|
|
|
|
|
", serverIpAddr='" + serverIpAddr + '\'' +
|
|
|
|
|
", packetsPerSec=" + packetsPerSec +
|
|
|
|
|
", bitsPerSec=" + bitsPerSec +
|
|
|
|
|
", sessionsPerSec=" + sessionsPerSec +
|
|
|
|
|
", isValid=" + isValid +
|
|
|
|
|
", vsysId=" + vsysId +
|
|
|
|
|
", superiorIds=" + Arrays.toString(superiorIds) +
|
|
|
|
|
'}';
|
|
|
|
|
}
|
2021-08-18 19:15:49 +08:00
|
|
|
}
|