Class CreateNamespaceRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tcr.v20190924.models.CreateNamespaceRequest
-
public class CreateNamespaceRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CVEWhitelistItem[]getCVEWhitelistItems()Get 漏洞白名单列表BooleangetIsAutoScan()Get 自动扫描级别,true为自动,false为手动BooleangetIsPreventVUL()Get 安全阻断级别,true为自动,false为手动BooleangetIsPublic()Get 是否公开,true为公开,fale为私有StringgetNamespaceName()Get 命名空间的名称(长度2-30个字符,只能包含小写字母、数字及分隔符("."、"_"、"-"),且不能以分隔符开头、结尾或连续)StringgetRegistryId()Get 实例IDStringgetSeverity()Get 阻断漏洞等级,目前仅支持low、medium、highTagSpecificationgetTagSpecification()Get 云标签描述voidsetCVEWhitelistItems(CVEWhitelistItem[] CVEWhitelistItems)Set 漏洞白名单列表voidsetIsAutoScan(Boolean IsAutoScan)Set 自动扫描级别,true为自动,false为手动voidsetIsPreventVUL(Boolean IsPreventVUL)Set 安全阻断级别,true为自动,false为手动voidsetIsPublic(Boolean IsPublic)Set 是否公开,true为公开,fale为私有voidsetNamespaceName(String NamespaceName)Set 命名空间的名称(长度2-30个字符,只能包含小写字母、数字及分隔符("."、"_"、"-"),且不能以分隔符开头、结尾或连续)voidsetRegistryId(String RegistryId)Set 实例IDvoidsetSeverity(String Severity)Set 阻断漏洞等级,目前仅支持low、medium、highvoidsetTagSpecification(TagSpecification TagSpecification)Set 云标签描述voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
CreateNamespaceRequest
public CreateNamespaceRequest()
-
CreateNamespaceRequest
public 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.
-
-
Method Detail
-
getRegistryId
public String getRegistryId()
Get 实例ID- Returns:
- RegistryId 实例ID
-
setRegistryId
public void setRegistryId(String RegistryId)
Set 实例ID- Parameters:
RegistryId- 实例ID
-
getNamespaceName
public String getNamespaceName()
Get 命名空间的名称(长度2-30个字符,只能包含小写字母、数字及分隔符("."、"_"、"-"),且不能以分隔符开头、结尾或连续)- Returns:
- NamespaceName 命名空间的名称(长度2-30个字符,只能包含小写字母、数字及分隔符("."、"_"、"-"),且不能以分隔符开头、结尾或连续)
-
setNamespaceName
public void setNamespaceName(String NamespaceName)
Set 命名空间的名称(长度2-30个字符,只能包含小写字母、数字及分隔符("."、"_"、"-"),且不能以分隔符开头、结尾或连续)- Parameters:
NamespaceName- 命名空间的名称(长度2-30个字符,只能包含小写字母、数字及分隔符("."、"_"、"-"),且不能以分隔符开头、结尾或连续)
-
getIsPublic
public Boolean getIsPublic()
Get 是否公开,true为公开,fale为私有- Returns:
- IsPublic 是否公开,true为公开,fale为私有
-
setIsPublic
public void setIsPublic(Boolean IsPublic)
Set 是否公开,true为公开,fale为私有- Parameters:
IsPublic- 是否公开,true为公开,fale为私有
-
getTagSpecification
public TagSpecification getTagSpecification()
Get 云标签描述- Returns:
- TagSpecification 云标签描述
-
setTagSpecification
public void setTagSpecification(TagSpecification TagSpecification)
Set 云标签描述- Parameters:
TagSpecification- 云标签描述
-
getIsAutoScan
public Boolean getIsAutoScan()
Get 自动扫描级别,true为自动,false为手动- Returns:
- IsAutoScan 自动扫描级别,true为自动,false为手动
-
setIsAutoScan
public void setIsAutoScan(Boolean IsAutoScan)
Set 自动扫描级别,true为自动,false为手动- Parameters:
IsAutoScan- 自动扫描级别,true为自动,false为手动
-
getIsPreventVUL
public Boolean getIsPreventVUL()
Get 安全阻断级别,true为自动,false为手动- Returns:
- IsPreventVUL 安全阻断级别,true为自动,false为手动
-
setIsPreventVUL
public void setIsPreventVUL(Boolean IsPreventVUL)
Set 安全阻断级别,true为自动,false为手动- Parameters:
IsPreventVUL- 安全阻断级别,true为自动,false为手动
-
getSeverity
public String getSeverity()
Get 阻断漏洞等级,目前仅支持low、medium、high- Returns:
- Severity 阻断漏洞等级,目前仅支持low、medium、high
-
setSeverity
public void setSeverity(String Severity)
Set 阻断漏洞等级,目前仅支持low、medium、high- Parameters:
Severity- 阻断漏洞等级,目前仅支持low、medium、high
-
getCVEWhitelistItems
public CVEWhitelistItem[] getCVEWhitelistItems()
Get 漏洞白名单列表- Returns:
- CVEWhitelistItems 漏洞白名单列表
-
setCVEWhitelistItems
public void setCVEWhitelistItems(CVEWhitelistItem[] CVEWhitelistItems)
Set 漏洞白名单列表- Parameters:
CVEWhitelistItems- 漏洞白名单列表
-
-