com.tencentcloudapi.tcss.v20201101.models.AbnormalProcessChildRuleInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-tcss Show documentation
Show all versions of tencentcloud-sdk-java-tcss Show documentation
Tencent Cloud Open 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.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class AbnormalProcessChildRuleInfo extends AbstractModel{
/**
* 策略模式, RULE_MODE_RELEASE: 放行
RULE_MODE_ALERT: 告警
RULE_MODE_HOLDUP:拦截
*/
@SerializedName("RuleMode")
@Expose
private String RuleMode;
/**
* 进程路径
*/
@SerializedName("ProcessPath")
@Expose
private String ProcessPath;
/**
* 子策略id
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("RuleId")
@Expose
private String RuleId;
/**
* 威胁等级,HIGH:高,MIDDLE:中,LOW:低
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("RuleLevel")
@Expose
private String RuleLevel;
/**
* Get 策略模式, RULE_MODE_RELEASE: 放行
RULE_MODE_ALERT: 告警
RULE_MODE_HOLDUP:拦截
* @return RuleMode 策略模式, RULE_MODE_RELEASE: 放行
RULE_MODE_ALERT: 告警
RULE_MODE_HOLDUP:拦截
*/
public String getRuleMode() {
return this.RuleMode;
}
/**
* Set 策略模式, RULE_MODE_RELEASE: 放行
RULE_MODE_ALERT: 告警
RULE_MODE_HOLDUP:拦截
* @param RuleMode 策略模式, RULE_MODE_RELEASE: 放行
RULE_MODE_ALERT: 告警
RULE_MODE_HOLDUP:拦截
*/
public void setRuleMode(String RuleMode) {
this.RuleMode = RuleMode;
}
/**
* Get 进程路径
* @return ProcessPath 进程路径
*/
public String getProcessPath() {
return this.ProcessPath;
}
/**
* Set 进程路径
* @param ProcessPath 进程路径
*/
public void setProcessPath(String ProcessPath) {
this.ProcessPath = ProcessPath;
}
/**
* Get 子策略id
注意:此字段可能返回 null,表示取不到有效值。
* @return RuleId 子策略id
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getRuleId() {
return this.RuleId;
}
/**
* Set 子策略id
注意:此字段可能返回 null,表示取不到有效值。
* @param RuleId 子策略id
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setRuleId(String RuleId) {
this.RuleId = RuleId;
}
/**
* Get 威胁等级,HIGH:高,MIDDLE:中,LOW:低
注意:此字段可能返回 null,表示取不到有效值。
* @return RuleLevel 威胁等级,HIGH:高,MIDDLE:中,LOW:低
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getRuleLevel() {
return this.RuleLevel;
}
/**
* Set 威胁等级,HIGH:高,MIDDLE:中,LOW:低
注意:此字段可能返回 null,表示取不到有效值。
* @param RuleLevel 威胁等级,HIGH:高,MIDDLE:中,LOW:低
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setRuleLevel(String RuleLevel) {
this.RuleLevel = RuleLevel;
}
public AbnormalProcessChildRuleInfo() {
}
/**
* 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 AbnormalProcessChildRuleInfo(AbnormalProcessChildRuleInfo source) {
if (source.RuleMode != null) {
this.RuleMode = new String(source.RuleMode);
}
if (source.ProcessPath != null) {
this.ProcessPath = new String(source.ProcessPath);
}
if (source.RuleId != null) {
this.RuleId = new String(source.RuleId);
}
if (source.RuleLevel != null) {
this.RuleLevel = new String(source.RuleLevel);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "RuleMode", this.RuleMode);
this.setParamSimple(map, prefix + "ProcessPath", this.ProcessPath);
this.setParamSimple(map, prefix + "RuleId", this.RuleId);
this.setParamSimple(map, prefix + "RuleLevel", this.RuleLevel);
}
}