Class CreateNamespaceRequest

    • 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 - 漏洞白名单列表