com.tencentcloudapi.tcss.v20201101.models.VulDefenceEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud API SDK for Java
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
package com.tencentcloudapi.tcss.v20201101.models;
import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class VulDefenceEvent extends AbstractModel {
/**
* Vulnerability CVE ID
*/
@SerializedName("CVEID")
@Expose
private String CVEID;
/**
* Vulnerability name
*/
@SerializedName("VulName")
@Expose
private String VulName;
/**
* POC ID
*/
@SerializedName("PocID")
@Expose
private String PocID;
/**
* Intrusion status
*/
@SerializedName("EventType")
@Expose
private String EventType;
/**
* Attacker IP
*/
@SerializedName("SourceIP")
@Expose
private String SourceIP;
/**
* Region of the attacker IP
*/
@SerializedName("City")
@Expose
private String City;
/**
* Number of events
*/
@SerializedName("EventCount")
@Expose
private Long EventCount;
/**
* Container ID
*/
@SerializedName("ContainerID")
@Expose
private String ContainerID;
/**
* Container name
*/
@SerializedName("ContainerName")
@Expose
private String ContainerName;
/**
* Image ID
*/
@SerializedName("ImageID")
@Expose
private String ImageID;
/**
* Image name
*/
@SerializedName("ImageName")
@Expose
private String ImageName;
/**
* Processing status
*/
@SerializedName("Status")
@Expose
private String Status;
/**
* Event ID
*/
@SerializedName("EventID")
@Expose
private Long EventID;
/**
* First discovery time
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("CreateTime")
@Expose
private String CreateTime;
/**
* Isolation status
`NORMAL`: Not isolated.
`ISOLATED`: Isolated.
`ISOLATING`: Isolating.
`ISOLATE_FAILED`: Isolation failed.
`RESTORING`: Recovering.
`RESTORE_FAILED`: Recovery failed.
*/
@SerializedName("ContainerNetStatus")
@Expose
private String ContainerNetStatus;
/**
* Last discovery time
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("MergeTime")
@Expose
private String MergeTime;
/**
* Container status
`RUNNING`: Running.
`PAUSED`: Paused.
`STOPPED`: Stopped.
`CREATED`: Created.
`DESTROYED`: Terminated.
`RESTARTING`: Restarting.
`REMOVING`: Removing.
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("ContainerStatus")
@Expose
private String ContainerStatus;
/**
* Sub-status of the container
"AGENT_OFFLINE" // The agent is offline.
"NODE_DESTROYED" // The node is terminated.
"CONTAINER_EXITED" // The container exited.
"CONTAINER_DESTROYED" // The container was terminated.
"SHARED_HOST" // The container shares the network with the server.
"RESOURCE_LIMIT" // The number of resources to be isolated exceeds the limit.
"UNKNOW" // The reason is unknown.
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("ContainerNetSubStatus")
@Expose
private String ContainerNetSubStatus;
/**
* Container isolation operation source
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("ContainerIsolateOperationSrc")
@Expose
private String ContainerIsolateOperationSrc;
/**
* Node QUuid/Super node ID
Note: This field may return·`null`, indicating that no valid values can be obtained.
*/
@SerializedName("QUUID")
@Expose
private String QUUID;
/**
* Server private IP
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("HostIP")
@Expose
private String HostIP;
/**
* General node/Super node name
Note: This field may return·`null`, indicating that no valid values can be obtained.
*/
@SerializedName("HostName")
@Expose
private String HostName;
/**
* Node type. Values: `NORMAL` (general node), `SUPER` (super node).
*/
@SerializedName("NodeType")
@Expose
private String NodeType;
/**
* Public IP
*/
@SerializedName("PublicIP")
@Expose
private String PublicIP;
/**
* UID of a super node
*/
@SerializedName("NodeUniqueID")
@Expose
private String NodeUniqueID;
/**
* ID of a super node
*/
@SerializedName("NodeID")
@Expose
private String NodeID;
/**
* Cluster ID
*/
@SerializedName("ClusterID")
@Expose
private String ClusterID;
/**
* Cluster name
*/
@SerializedName("ClusterName")
@Expose
private String ClusterName;
/**
* Get Vulnerability CVE ID
* @return CVEID Vulnerability CVE ID
*/
public String getCVEID() {
return this.CVEID;
}
/**
* Set Vulnerability CVE ID
* @param CVEID Vulnerability CVE ID
*/
public void setCVEID(String CVEID) {
this.CVEID = CVEID;
}
/**
* Get Vulnerability name
* @return VulName Vulnerability name
*/
public String getVulName() {
return this.VulName;
}
/**
* Set Vulnerability name
* @param VulName Vulnerability name
*/
public void setVulName(String VulName) {
this.VulName = VulName;
}
/**
* Get POC ID
* @return PocID POC ID
*/
public String getPocID() {
return this.PocID;
}
/**
* Set POC ID
* @param PocID POC ID
*/
public void setPocID(String PocID) {
this.PocID = PocID;
}
/**
* Get Intrusion status
* @return EventType Intrusion status
*/
public String getEventType() {
return this.EventType;
}
/**
* Set Intrusion status
* @param EventType Intrusion status
*/
public void setEventType(String EventType) {
this.EventType = EventType;
}
/**
* Get Attacker IP
* @return SourceIP Attacker IP
*/
public String getSourceIP() {
return this.SourceIP;
}
/**
* Set Attacker IP
* @param SourceIP Attacker IP
*/
public void setSourceIP(String SourceIP) {
this.SourceIP = SourceIP;
}
/**
* Get Region of the attacker IP
* @return City Region of the attacker IP
*/
public String getCity() {
return this.City;
}
/**
* Set Region of the attacker IP
* @param City Region of the attacker IP
*/
public void setCity(String City) {
this.City = City;
}
/**
* Get Number of events
* @return EventCount Number of events
*/
public Long getEventCount() {
return this.EventCount;
}
/**
* Set Number of events
* @param EventCount Number of events
*/
public void setEventCount(Long EventCount) {
this.EventCount = EventCount;
}
/**
* Get Container ID
* @return ContainerID Container ID
*/
public String getContainerID() {
return this.ContainerID;
}
/**
* Set Container ID
* @param ContainerID Container ID
*/
public void setContainerID(String ContainerID) {
this.ContainerID = ContainerID;
}
/**
* Get Container name
* @return ContainerName Container name
*/
public String getContainerName() {
return this.ContainerName;
}
/**
* Set Container name
* @param ContainerName Container name
*/
public void setContainerName(String ContainerName) {
this.ContainerName = ContainerName;
}
/**
* Get Image ID
* @return ImageID Image ID
*/
public String getImageID() {
return this.ImageID;
}
/**
* Set Image ID
* @param ImageID Image ID
*/
public void setImageID(String ImageID) {
this.ImageID = ImageID;
}
/**
* Get Image name
* @return ImageName Image name
*/
public String getImageName() {
return this.ImageName;
}
/**
* Set Image name
* @param ImageName Image name
*/
public void setImageName(String ImageName) {
this.ImageName = ImageName;
}
/**
* Get Processing status
* @return Status Processing status
*/
public String getStatus() {
return this.Status;
}
/**
* Set Processing status
* @param Status Processing status
*/
public void setStatus(String Status) {
this.Status = Status;
}
/**
* Get Event ID
* @return EventID Event ID
*/
public Long getEventID() {
return this.EventID;
}
/**
* Set Event ID
* @param EventID Event ID
*/
public void setEventID(Long EventID) {
this.EventID = EventID;
}
/**
* Get First discovery time
Note: This field may return null, indicating that no valid values can be obtained.
* @return CreateTime First discovery time
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getCreateTime() {
return this.CreateTime;
}
/**
* Set First discovery time
Note: This field may return null, indicating that no valid values can be obtained.
* @param CreateTime First discovery time
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setCreateTime(String CreateTime) {
this.CreateTime = CreateTime;
}
/**
* Get Isolation status
`NORMAL`: Not isolated.
`ISOLATED`: Isolated.
`ISOLATING`: Isolating.
`ISOLATE_FAILED`: Isolation failed.
`RESTORING`: Recovering.
`RESTORE_FAILED`: Recovery failed.
* @return ContainerNetStatus Isolation status
`NORMAL`: Not isolated.
`ISOLATED`: Isolated.
`ISOLATING`: Isolating.
`ISOLATE_FAILED`: Isolation failed.
`RESTORING`: Recovering.
`RESTORE_FAILED`: Recovery failed.
*/
public String getContainerNetStatus() {
return this.ContainerNetStatus;
}
/**
* Set Isolation status
`NORMAL`: Not isolated.
`ISOLATED`: Isolated.
`ISOLATING`: Isolating.
`ISOLATE_FAILED`: Isolation failed.
`RESTORING`: Recovering.
`RESTORE_FAILED`: Recovery failed.
* @param ContainerNetStatus Isolation status
`NORMAL`: Not isolated.
`ISOLATED`: Isolated.
`ISOLATING`: Isolating.
`ISOLATE_FAILED`: Isolation failed.
`RESTORING`: Recovering.
`RESTORE_FAILED`: Recovery failed.
*/
public void setContainerNetStatus(String ContainerNetStatus) {
this.ContainerNetStatus = ContainerNetStatus;
}
/**
* Get Last discovery time
Note: This field may return null, indicating that no valid values can be obtained.
* @return MergeTime Last discovery time
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getMergeTime() {
return this.MergeTime;
}
/**
* Set Last discovery time
Note: This field may return null, indicating that no valid values can be obtained.
* @param MergeTime Last discovery time
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setMergeTime(String MergeTime) {
this.MergeTime = MergeTime;
}
/**
* Get Container status
`RUNNING`: Running.
`PAUSED`: Paused.
`STOPPED`: Stopped.
`CREATED`: Created.
`DESTROYED`: Terminated.
`RESTARTING`: Restarting.
`REMOVING`: Removing.
Note: This field may return null, indicating that no valid values can be obtained.
* @return ContainerStatus Container status
`RUNNING`: Running.
`PAUSED`: Paused.
`STOPPED`: Stopped.
`CREATED`: Created.
`DESTROYED`: Terminated.
`RESTARTING`: Restarting.
`REMOVING`: Removing.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getContainerStatus() {
return this.ContainerStatus;
}
/**
* Set Container status
`RUNNING`: Running.
`PAUSED`: Paused.
`STOPPED`: Stopped.
`CREATED`: Created.
`DESTROYED`: Terminated.
`RESTARTING`: Restarting.
`REMOVING`: Removing.
Note: This field may return null, indicating that no valid values can be obtained.
* @param ContainerStatus Container status
`RUNNING`: Running.
`PAUSED`: Paused.
`STOPPED`: Stopped.
`CREATED`: Created.
`DESTROYED`: Terminated.
`RESTARTING`: Restarting.
`REMOVING`: Removing.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setContainerStatus(String ContainerStatus) {
this.ContainerStatus = ContainerStatus;
}
/**
* Get Sub-status of the container
"AGENT_OFFLINE" // The agent is offline.
"NODE_DESTROYED" // The node is terminated.
"CONTAINER_EXITED" // The container exited.
"CONTAINER_DESTROYED" // The container was terminated.
"SHARED_HOST" // The container shares the network with the server.
"RESOURCE_LIMIT" // The number of resources to be isolated exceeds the limit.
"UNKNOW" // The reason is unknown.
Note: This field may return null, indicating that no valid values can be obtained.
* @return ContainerNetSubStatus Sub-status of the container
"AGENT_OFFLINE" // The agent is offline.
"NODE_DESTROYED" // The node is terminated.
"CONTAINER_EXITED" // The container exited.
"CONTAINER_DESTROYED" // The container was terminated.
"SHARED_HOST" // The container shares the network with the server.
"RESOURCE_LIMIT" // The number of resources to be isolated exceeds the limit.
"UNKNOW" // The reason is unknown.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getContainerNetSubStatus() {
return this.ContainerNetSubStatus;
}
/**
* Set Sub-status of the container
"AGENT_OFFLINE" // The agent is offline.
"NODE_DESTROYED" // The node is terminated.
"CONTAINER_EXITED" // The container exited.
"CONTAINER_DESTROYED" // The container was terminated.
"SHARED_HOST" // The container shares the network with the server.
"RESOURCE_LIMIT" // The number of resources to be isolated exceeds the limit.
"UNKNOW" // The reason is unknown.
Note: This field may return null, indicating that no valid values can be obtained.
* @param ContainerNetSubStatus Sub-status of the container
"AGENT_OFFLINE" // The agent is offline.
"NODE_DESTROYED" // The node is terminated.
"CONTAINER_EXITED" // The container exited.
"CONTAINER_DESTROYED" // The container was terminated.
"SHARED_HOST" // The container shares the network with the server.
"RESOURCE_LIMIT" // The number of resources to be isolated exceeds the limit.
"UNKNOW" // The reason is unknown.
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setContainerNetSubStatus(String ContainerNetSubStatus) {
this.ContainerNetSubStatus = ContainerNetSubStatus;
}
/**
* Get Container isolation operation source
Note: This field may return null, indicating that no valid values can be obtained.
* @return ContainerIsolateOperationSrc Container isolation operation source
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getContainerIsolateOperationSrc() {
return this.ContainerIsolateOperationSrc;
}
/**
* Set Container isolation operation source
Note: This field may return null, indicating that no valid values can be obtained.
* @param ContainerIsolateOperationSrc Container isolation operation source
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setContainerIsolateOperationSrc(String ContainerIsolateOperationSrc) {
this.ContainerIsolateOperationSrc = ContainerIsolateOperationSrc;
}
/**
* Get Node QUuid/Super node ID
Note: This field may return·`null`, indicating that no valid values can be obtained.
* @return QUUID Node QUuid/Super node ID
Note: This field may return·`null`, indicating that no valid values can be obtained.
*/
public String getQUUID() {
return this.QUUID;
}
/**
* Set Node QUuid/Super node ID
Note: This field may return·`null`, indicating that no valid values can be obtained.
* @param QUUID Node QUuid/Super node ID
Note: This field may return·`null`, indicating that no valid values can be obtained.
*/
public void setQUUID(String QUUID) {
this.QUUID = QUUID;
}
/**
* Get Server private IP
Note: This field may return null, indicating that no valid values can be obtained.
* @return HostIP Server private IP
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getHostIP() {
return this.HostIP;
}
/**
* Set Server private IP
Note: This field may return null, indicating that no valid values can be obtained.
* @param HostIP Server private IP
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setHostIP(String HostIP) {
this.HostIP = HostIP;
}
/**
* Get General node/Super node name
Note: This field may return·`null`, indicating that no valid values can be obtained.
* @return HostName General node/Super node name
Note: This field may return·`null`, indicating that no valid values can be obtained.
*/
public String getHostName() {
return this.HostName;
}
/**
* Set General node/Super node name
Note: This field may return·`null`, indicating that no valid values can be obtained.
* @param HostName General node/Super node name
Note: This field may return·`null`, indicating that no valid values can be obtained.
*/
public void setHostName(String HostName) {
this.HostName = HostName;
}
/**
* Get Node type. Values: `NORMAL` (general node), `SUPER` (super node).
* @return NodeType Node type. Values: `NORMAL` (general node), `SUPER` (super node).
*/
public String getNodeType() {
return this.NodeType;
}
/**
* Set Node type. Values: `NORMAL` (general node), `SUPER` (super node).
* @param NodeType Node type. Values: `NORMAL` (general node), `SUPER` (super node).
*/
public void setNodeType(String NodeType) {
this.NodeType = NodeType;
}
/**
* Get Public IP
* @return PublicIP Public IP
*/
public String getPublicIP() {
return this.PublicIP;
}
/**
* Set Public IP
* @param PublicIP Public IP
*/
public void setPublicIP(String PublicIP) {
this.PublicIP = PublicIP;
}
/**
* Get UID of a super node
* @return NodeUniqueID UID of a super node
*/
public String getNodeUniqueID() {
return this.NodeUniqueID;
}
/**
* Set UID of a super node
* @param NodeUniqueID UID of a super node
*/
public void setNodeUniqueID(String NodeUniqueID) {
this.NodeUniqueID = NodeUniqueID;
}
/**
* Get ID of a super node
* @return NodeID ID of a super node
*/
public String getNodeID() {
return this.NodeID;
}
/**
* Set ID of a super node
* @param NodeID ID of a super node
*/
public void setNodeID(String NodeID) {
this.NodeID = NodeID;
}
/**
* Get Cluster ID
* @return ClusterID Cluster ID
*/
public String getClusterID() {
return this.ClusterID;
}
/**
* Set Cluster ID
* @param ClusterID Cluster ID
*/
public void setClusterID(String ClusterID) {
this.ClusterID = ClusterID;
}
/**
* Get Cluster name
* @return ClusterName Cluster name
*/
public String getClusterName() {
return this.ClusterName;
}
/**
* Set Cluster name
* @param ClusterName Cluster name
*/
public void setClusterName(String ClusterName) {
this.ClusterName = ClusterName;
}
public VulDefenceEvent() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public VulDefenceEvent(VulDefenceEvent source) {
if (source.CVEID != null) {
this.CVEID = new String(source.CVEID);
}
if (source.VulName != null) {
this.VulName = new String(source.VulName);
}
if (source.PocID != null) {
this.PocID = new String(source.PocID);
}
if (source.EventType != null) {
this.EventType = new String(source.EventType);
}
if (source.SourceIP != null) {
this.SourceIP = new String(source.SourceIP);
}
if (source.City != null) {
this.City = new String(source.City);
}
if (source.EventCount != null) {
this.EventCount = new Long(source.EventCount);
}
if (source.ContainerID != null) {
this.ContainerID = new String(source.ContainerID);
}
if (source.ContainerName != null) {
this.ContainerName = new String(source.ContainerName);
}
if (source.ImageID != null) {
this.ImageID = new String(source.ImageID);
}
if (source.ImageName != null) {
this.ImageName = new String(source.ImageName);
}
if (source.Status != null) {
this.Status = new String(source.Status);
}
if (source.EventID != null) {
this.EventID = new Long(source.EventID);
}
if (source.CreateTime != null) {
this.CreateTime = new String(source.CreateTime);
}
if (source.ContainerNetStatus != null) {
this.ContainerNetStatus = new String(source.ContainerNetStatus);
}
if (source.MergeTime != null) {
this.MergeTime = new String(source.MergeTime);
}
if (source.ContainerStatus != null) {
this.ContainerStatus = new String(source.ContainerStatus);
}
if (source.ContainerNetSubStatus != null) {
this.ContainerNetSubStatus = new String(source.ContainerNetSubStatus);
}
if (source.ContainerIsolateOperationSrc != null) {
this.ContainerIsolateOperationSrc = new String(source.ContainerIsolateOperationSrc);
}
if (source.QUUID != null) {
this.QUUID = new String(source.QUUID);
}
if (source.HostIP != null) {
this.HostIP = new String(source.HostIP);
}
if (source.HostName != null) {
this.HostName = new String(source.HostName);
}
if (source.NodeType != null) {
this.NodeType = new String(source.NodeType);
}
if (source.PublicIP != null) {
this.PublicIP = new String(source.PublicIP);
}
if (source.NodeUniqueID != null) {
this.NodeUniqueID = new String(source.NodeUniqueID);
}
if (source.NodeID != null) {
this.NodeID = new String(source.NodeID);
}
if (source.ClusterID != null) {
this.ClusterID = new String(source.ClusterID);
}
if (source.ClusterName != null) {
this.ClusterName = new String(source.ClusterName);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "CVEID", this.CVEID);
this.setParamSimple(map, prefix + "VulName", this.VulName);
this.setParamSimple(map, prefix + "PocID", this.PocID);
this.setParamSimple(map, prefix + "EventType", this.EventType);
this.setParamSimple(map, prefix + "SourceIP", this.SourceIP);
this.setParamSimple(map, prefix + "City", this.City);
this.setParamSimple(map, prefix + "EventCount", this.EventCount);
this.setParamSimple(map, prefix + "ContainerID", this.ContainerID);
this.setParamSimple(map, prefix + "ContainerName", this.ContainerName);
this.setParamSimple(map, prefix + "ImageID", this.ImageID);
this.setParamSimple(map, prefix + "ImageName", this.ImageName);
this.setParamSimple(map, prefix + "Status", this.Status);
this.setParamSimple(map, prefix + "EventID", this.EventID);
this.setParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.setParamSimple(map, prefix + "ContainerNetStatus", this.ContainerNetStatus);
this.setParamSimple(map, prefix + "MergeTime", this.MergeTime);
this.setParamSimple(map, prefix + "ContainerStatus", this.ContainerStatus);
this.setParamSimple(map, prefix + "ContainerNetSubStatus", this.ContainerNetSubStatus);
this.setParamSimple(map, prefix + "ContainerIsolateOperationSrc", this.ContainerIsolateOperationSrc);
this.setParamSimple(map, prefix + "QUUID", this.QUUID);
this.setParamSimple(map, prefix + "HostIP", this.HostIP);
this.setParamSimple(map, prefix + "HostName", this.HostName);
this.setParamSimple(map, prefix + "NodeType", this.NodeType);
this.setParamSimple(map, prefix + "PublicIP", this.PublicIP);
this.setParamSimple(map, prefix + "NodeUniqueID", this.NodeUniqueID);
this.setParamSimple(map, prefix + "NodeID", this.NodeID);
this.setParamSimple(map, prefix + "ClusterID", this.ClusterID);
this.setParamSimple(map, prefix + "ClusterName", this.ClusterName);
}
}