public class OpenPolicySwitch extends AbstractModel
header, skipSign
Constructor and Description |
---|
OpenPolicySwitch() |
OpenPolicySwitch(OpenPolicySwitch source)
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.
|
Modifier and Type | Method and Description |
---|---|
String |
getEnabledStatus()
Get 策略开关状态:open打开,close关闭
|
String |
getEnforcementAction()
Get 策略运行模式:dryrun空跑不生效,deny拦截生效
|
String |
getKind()
Get 策略模板类型
|
String |
getName()
Get 策略英文名称
|
OpenConstraintInfo[] |
getOpenConstraintInfoList()
Get 策略关联的实例列表
|
void |
setEnabledStatus(String EnabledStatus)
Set 策略开关状态:open打开,close关闭
|
void |
setEnforcementAction(String EnforcementAction)
Set 策略运行模式:dryrun空跑不生效,deny拦截生效
|
void |
setKind(String Kind)
Set 策略模板类型
|
void |
setName(String Name)
Set 策略英文名称
|
void |
setOpenConstraintInfoList(OpenConstraintInfo[] OpenConstraintInfoList)
Set 策略关联的实例列表
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public OpenPolicySwitch()
public OpenPolicySwitch(OpenPolicySwitch source)
public String getEnforcementAction()
public void setEnforcementAction(String EnforcementAction)
EnforcementAction
- 策略运行模式:dryrun空跑不生效,deny拦截生效public String getName()
public void setName(String Name)
Name
- 策略英文名称public String getKind()
public void setKind(String Kind)
Kind
- 策略模板类型public String getEnabledStatus()
public void setEnabledStatus(String EnabledStatus)
EnabledStatus
- 策略开关状态:open打开,close关闭public OpenConstraintInfo[] getOpenConstraintInfoList()
public void setOpenConstraintInfoList(OpenConstraintInfo[] OpenConstraintInfoList)
OpenConstraintInfoList
- 策略关联的实例列表Copyright © 2025. All rights reserved.