public class ModifyVulDefenceSettingRequest extends AbstractModel
Constructor and Description |
---|
ModifyVulDefenceSettingRequest() |
ModifyVulDefenceSettingRequest(ModifyVulDefenceSettingRequest 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[] |
getHostIDs()
Get Specified servers for which to enable exploit prevention.
|
Long |
getIsEnabled()
Get Whether it is enabled.
|
Long |
getScope()
Get Scope of servers for which to enable exploit prevention.
|
void |
setHostIDs(String[] HostIDs)
Set Specified servers for which to enable exploit prevention.
|
void |
setIsEnabled(Long IsEnabled)
Set Whether it is enabled.
|
void |
setScope(Long Scope)
Set Scope of servers for which to enable exploit prevention.
|
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 ModifyVulDefenceSettingRequest()
public ModifyVulDefenceSettingRequest(ModifyVulDefenceSettingRequest source)
public Long getIsEnabled()
public void setIsEnabled(Long IsEnabled)
IsEnabled
- Whether it is enabled. Valid values: `0` (disabled); `1` (enabled).public Long getScope()
public void setScope(Long Scope)
Scope
- Scope of servers for which to enable exploit prevention. Valid values: `0` (specified servers); `1` (all servers). This parameter is required when `IsEnabled` is `1`.public String[] getHostIDs()
public void setHostIDs(String[] HostIDs)
HostIDs
- Specified servers for which to enable exploit prevention. This parameter is required when `Scope` is `0`.Copyright © 2023. All rights reserved.