public class CreateNamespaceRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateNamespaceRequest() |
CreateNamespaceRequest(CreateNamespaceRequest 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 |
---|---|
CVEWhitelistItem[] |
getCVEWhitelistItems()
Get 漏洞白名单列表
|
Boolean |
getIsAutoScan()
Get 自动扫描级别,true为自动,false为手动
|
Boolean |
getIsPreventVUL()
Get 安全阻断级别,true为自动,false为手动
|
Boolean |
getIsPublic()
Get 是否公开,true为公开,fale为私有
|
String |
getNamespaceName()
Get 命名空间的名称(长度2-30个字符,只能包含小写字母、数字及分隔符("."、"_"、"-"),且不能以分隔符开头、结尾或连续)
|
String |
getRegistryId()
Get 实例ID
|
String |
getSeverity()
Get 阻断漏洞等级,目前仅支持low、medium、high
|
TagSpecification |
getTagSpecification()
Get 云标签描述
|
void |
setCVEWhitelistItems(CVEWhitelistItem[] CVEWhitelistItems)
Set 漏洞白名单列表
|
void |
setIsAutoScan(Boolean IsAutoScan)
Set 自动扫描级别,true为自动,false为手动
|
void |
setIsPreventVUL(Boolean IsPreventVUL)
Set 安全阻断级别,true为自动,false为手动
|
void |
setIsPublic(Boolean IsPublic)
Set 是否公开,true为公开,fale为私有
|
void |
setNamespaceName(String NamespaceName)
Set 命名空间的名称(长度2-30个字符,只能包含小写字母、数字及分隔符("."、"_"、"-"),且不能以分隔符开头、结尾或连续)
|
void |
setRegistryId(String RegistryId)
Set 实例ID
|
void |
setSeverity(String Severity)
Set 阻断漏洞等级,目前仅支持low、medium、high
|
void |
setTagSpecification(TagSpecification TagSpecification)
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 CreateNamespaceRequest()
public CreateNamespaceRequest(CreateNamespaceRequest source)
public String getRegistryId()
public void setRegistryId(String RegistryId)
RegistryId
- 实例IDpublic String getNamespaceName()
public void setNamespaceName(String NamespaceName)
NamespaceName
- 命名空间的名称(长度2-30个字符,只能包含小写字母、数字及分隔符("."、"_"、"-"),且不能以分隔符开头、结尾或连续)public Boolean getIsPublic()
public void setIsPublic(Boolean IsPublic)
IsPublic
- 是否公开,true为公开,fale为私有public TagSpecification getTagSpecification()
public void setTagSpecification(TagSpecification TagSpecification)
TagSpecification
- 云标签描述public Boolean getIsAutoScan()
public void setIsAutoScan(Boolean IsAutoScan)
IsAutoScan
- 自动扫描级别,true为自动,false为手动public Boolean getIsPreventVUL()
public void setIsPreventVUL(Boolean IsPreventVUL)
IsPreventVUL
- 安全阻断级别,true为自动,false为手动public String getSeverity()
public void setSeverity(String Severity)
Severity
- 阻断漏洞等级,目前仅支持low、medium、highpublic CVEWhitelistItem[] getCVEWhitelistItems()
public void setCVEWhitelistItems(CVEWhitelistItem[] CVEWhitelistItems)
CVEWhitelistItems
- 漏洞白名单列表Copyright © 2024. All rights reserved.