public class CreatePolicyGroupRequest extends AbstractModel
构造器和说明 |
---|
CreatePolicyGroupRequest() |
限定符和类型 | 方法和说明 |
---|---|
Integer |
getBackEndCall()
Get 是否为后端调用。
|
CreatePolicyGroupCondition[] |
getConditions()
Get 策略组中的阈值告警规则
|
Integer |
getConditionTempGroupId()
Get 模版策略组Id, 通过模版创建时才需要传
|
CreatePolicyGroupEventCondition[] |
getEventConditions()
Get 策略组中的时间告警规则
|
String |
getGroupName()
Get 组策略名称
|
Integer |
getInsertTime()
Get 插入时间,戳格式为Unix时间戳,不填则按后台处理时间填充
|
Integer |
getIsShielded()
Get 是否屏蔽策略组,0表示不屏蔽,1表示屏蔽。
|
String |
getModule()
Get 固定值,为"monitor"
|
Integer |
getProjectId()
Get 策略组所属项目Id,会进行鉴权操作
|
String |
getRemark()
Get 策略组的备注信息
|
String |
getViewName()
Get 策略组所属视图的名称,若通过模版创建,可不传入
|
void |
setBackEndCall(Integer BackEndCall)
Set 是否为后端调用。
|
void |
setConditions(CreatePolicyGroupCondition[] Conditions)
Set 策略组中的阈值告警规则
|
void |
setConditionTempGroupId(Integer ConditionTempGroupId)
Set 模版策略组Id, 通过模版创建时才需要传
|
void |
setEventConditions(CreatePolicyGroupEventCondition[] EventConditions)
Set 策略组中的时间告警规则
|
void |
setGroupName(String GroupName)
Set 组策略名称
|
void |
setInsertTime(Integer InsertTime)
Set 插入时间,戳格式为Unix时间戳,不填则按后台处理时间填充
|
void |
setIsShielded(Integer IsShielded)
Set 是否屏蔽策略组,0表示不屏蔽,1表示屏蔽。
|
void |
setModule(String Module)
Set 固定值,为"monitor"
|
void |
setProjectId(Integer ProjectId)
Set 策略组所属项目Id,会进行鉴权操作
|
void |
setRemark(String Remark)
Set 策略组的备注信息
|
void |
setViewName(String ViewName)
Set 策略组所属视图的名称,若通过模版创建,可不传入
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getGroupName()
public void setGroupName(String GroupName)
GroupName
- 组策略名称public String getModule()
public void setModule(String Module)
Module
- 固定值,为"monitor"public String getViewName()
public void setViewName(String ViewName)
ViewName
- 策略组所属视图的名称,若通过模版创建,可不传入public Integer getProjectId()
public void setProjectId(Integer ProjectId)
ProjectId
- 策略组所属项目Id,会进行鉴权操作public Integer getConditionTempGroupId()
public void setConditionTempGroupId(Integer ConditionTempGroupId)
ConditionTempGroupId
- 模版策略组Id, 通过模版创建时才需要传public Integer getIsShielded()
public void setIsShielded(Integer IsShielded)
IsShielded
- 是否屏蔽策略组,0表示不屏蔽,1表示屏蔽。不填默认为0public String getRemark()
public void setRemark(String Remark)
Remark
- 策略组的备注信息public Integer getInsertTime()
public void setInsertTime(Integer InsertTime)
InsertTime
- 插入时间,戳格式为Unix时间戳,不填则按后台处理时间填充public CreatePolicyGroupCondition[] getConditions()
public void setConditions(CreatePolicyGroupCondition[] Conditions)
Conditions
- 策略组中的阈值告警规则public CreatePolicyGroupEventCondition[] getEventConditions()
public void setEventConditions(CreatePolicyGroupEventCondition[] EventConditions)
EventConditions
- 策略组中的时间告警规则public Integer getBackEndCall()
public void setBackEndCall(Integer BackEndCall)
BackEndCall
- 是否为后端调用。当且仅当值为1时,后台拉取策略模版中的规则填充入Conditions以及EventConditions字段Copyright © 2019. All rights reserved.