com.tencentcloudapi.cwp.v20180228.models.SecurityDynamic 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.cwp.v20180228.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 SecurityDynamic extends AbstractModel {
/**
* CWPP client UUID
*/
@SerializedName("Uuid")
@Expose
private String Uuid;
/**
* Security event occurrence time
*/
@SerializedName("EventTime")
@Expose
private String EventTime;
/**
* Security event type
MALWARE: Trojan event
NON_LOCAL_LOGIN: cross-region log-in
BRUTEATTACK_SUCCESS: successful password cracking
VUL: vulnerability
BASELINE: security baseline
*/
@SerializedName("EventType")
@Expose
private String EventType;
/**
* Security event message
*/
@SerializedName("Message")
@Expose
private String Message;
/**
* Security event level
RISK: critical
HIGH: high-risk
NORMAL: medium-risk
LOW: low-risk
UNKNOWNED: suspicious
*/
@SerializedName("SecurityLevel")
@Expose
private String SecurityLevel;
/**
* Get CWPP client UUID
* @return Uuid CWPP client UUID
*/
public String getUuid() {
return this.Uuid;
}
/**
* Set CWPP client UUID
* @param Uuid CWPP client UUID
*/
public void setUuid(String Uuid) {
this.Uuid = Uuid;
}
/**
* Get Security event occurrence time
* @return EventTime Security event occurrence time
*/
public String getEventTime() {
return this.EventTime;
}
/**
* Set Security event occurrence time
* @param EventTime Security event occurrence time
*/
public void setEventTime(String EventTime) {
this.EventTime = EventTime;
}
/**
* Get Security event type
MALWARE: Trojan event
NON_LOCAL_LOGIN: cross-region log-in
BRUTEATTACK_SUCCESS: successful password cracking
VUL: vulnerability
BASELINE: security baseline
* @return EventType Security event type
MALWARE: Trojan event
NON_LOCAL_LOGIN: cross-region log-in
BRUTEATTACK_SUCCESS: successful password cracking
VUL: vulnerability
BASELINE: security baseline
*/
public String getEventType() {
return this.EventType;
}
/**
* Set Security event type
MALWARE: Trojan event
NON_LOCAL_LOGIN: cross-region log-in
BRUTEATTACK_SUCCESS: successful password cracking
VUL: vulnerability
BASELINE: security baseline
* @param EventType Security event type
MALWARE: Trojan event
NON_LOCAL_LOGIN: cross-region log-in
BRUTEATTACK_SUCCESS: successful password cracking
VUL: vulnerability
BASELINE: security baseline
*/
public void setEventType(String EventType) {
this.EventType = EventType;
}
/**
* Get Security event message
* @return Message Security event message
*/
public String getMessage() {
return this.Message;
}
/**
* Set Security event message
* @param Message Security event message
*/
public void setMessage(String Message) {
this.Message = Message;
}
/**
* Get Security event level
RISK: critical
HIGH: high-risk
NORMAL: medium-risk
LOW: low-risk
UNKNOWNED: suspicious
* @return SecurityLevel Security event level
RISK: critical
HIGH: high-risk
NORMAL: medium-risk
LOW: low-risk
UNKNOWNED: suspicious
*/
public String getSecurityLevel() {
return this.SecurityLevel;
}
/**
* Set Security event level
RISK: critical
HIGH: high-risk
NORMAL: medium-risk
LOW: low-risk
UNKNOWNED: suspicious
* @param SecurityLevel Security event level
RISK: critical
HIGH: high-risk
NORMAL: medium-risk
LOW: low-risk
UNKNOWNED: suspicious
*/
public void setSecurityLevel(String SecurityLevel) {
this.SecurityLevel = SecurityLevel;
}
public SecurityDynamic() {
}
/**
* 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 SecurityDynamic(SecurityDynamic source) {
if (source.Uuid != null) {
this.Uuid = new String(source.Uuid);
}
if (source.EventTime != null) {
this.EventTime = new String(source.EventTime);
}
if (source.EventType != null) {
this.EventType = new String(source.EventType);
}
if (source.Message != null) {
this.Message = new String(source.Message);
}
if (source.SecurityLevel != null) {
this.SecurityLevel = new String(source.SecurityLevel);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Uuid", this.Uuid);
this.setParamSimple(map, prefix + "EventTime", this.EventTime);
this.setParamSimple(map, prefix + "EventType", this.EventType);
this.setParamSimple(map, prefix + "Message", this.Message);
this.setParamSimple(map, prefix + "SecurityLevel", this.SecurityLevel);
}
}