Class CreateDSPACOSDiscoveryTaskRequest


  • public class CreateDSPACOSDiscoveryTaskRequest
    extends AbstractModel
    • Constructor Detail

      • CreateDSPACOSDiscoveryTaskRequest

        public CreateDSPACOSDiscoveryTaskRequest()
      • CreateDSPACOSDiscoveryTaskRequest

        public CreateDSPACOSDiscoveryTaskRequest​(CreateDSPACOSDiscoveryTaskRequest 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

      • getDspaId

        public String getDspaId()
        Get DSPA实例ID
        Returns:
        DspaId DSPA实例ID
      • setDspaId

        public void setDspaId​(String DspaId)
        Set DSPA实例ID
        Parameters:
        DspaId - DSPA实例ID
      • getName

        public String getName()
        Get 任务名称,1-60个字符,仅允许输入中文、英文字母、数字、'_'、'-',并且开头和结尾需为中文、英文字母或者数字,Name不可重复
        Returns:
        Name 任务名称,1-60个字符,仅允许输入中文、英文字母、数字、'_'、'-',并且开头和结尾需为中文、英文字母或者数字,Name不可重复
      • setName

        public void setName​(String Name)
        Set 任务名称,1-60个字符,仅允许输入中文、英文字母、数字、'_'、'-',并且开头和结尾需为中文、英文字母或者数字,Name不可重复
        Parameters:
        Name - 任务名称,1-60个字符,仅允许输入中文、英文字母、数字、'_'、'-',并且开头和结尾需为中文、英文字母或者数字,Name不可重复
      • getDataSourceId

        public String getDataSourceId()
        Get 数据源ID
        Returns:
        DataSourceId 数据源ID
      • setDataSourceId

        public void setDataSourceId​(String DataSourceId)
        Set 数据源ID
        Parameters:
        DataSourceId - 数据源ID
      • getEnable

        public Long getEnable()
        Get 任务开关,0 关闭,1 启用
        Returns:
        Enable 任务开关,0 关闭,1 启用
      • setEnable

        public void setEnable​(Long Enable)
        Set 任务开关,0 关闭,1 启用
        Parameters:
        Enable - 任务开关,0 关闭,1 启用
      • getBucket

        public String getBucket()
        Get 桶名
        Returns:
        Bucket 桶名
      • setBucket

        public void setBucket​(String Bucket)
        Set 桶名
        Parameters:
        Bucket - 桶名
      • getGeneralRuleSetEnable

        public Long getGeneralRuleSetEnable()
        Get 通用规则集开关,0 关闭,1 启用
        Returns:
        GeneralRuleSetEnable 通用规则集开关,0 关闭,1 启用
      • setGeneralRuleSetEnable

        public void setGeneralRuleSetEnable​(Long GeneralRuleSetEnable)
        Set 通用规则集开关,0 关闭,1 启用
        Parameters:
        GeneralRuleSetEnable - 通用规则集开关,0 关闭,1 启用
      • getPlan

        public Long getPlan()
        Get 执行计划, 0立即 1定时,选择“立即”时,扫描周期只能选择单次。
        Returns:
        Plan 执行计划, 0立即 1定时,选择“立即”时,扫描周期只能选择单次。
      • setPlan

        public void setPlan​(Long Plan)
        Set 执行计划, 0立即 1定时,选择“立即”时,扫描周期只能选择单次。
        Parameters:
        Plan - 执行计划, 0立即 1定时,选择“立即”时,扫描周期只能选择单次。
      • getPeriod

        public Long getPeriod()
        Get 扫描周期,0单次 1每天 2每周 3每月
        Returns:
        Period 扫描周期,0单次 1每天 2每周 3每月
      • setPeriod

        public void setPeriod​(Long Period)
        Set 扫描周期,0单次 1每天 2每周 3每月
        Parameters:
        Period - 扫描周期,0单次 1每天 2每周 3每月
      • getFileTypes

        public String[] getFileTypes()
        Get 待扫描文件类型,用逗号隔开,格式如:[".txt", ".csv", ".log", ".xml",".html", ".json"]。
        Returns:
        FileTypes 待扫描文件类型,用逗号隔开,格式如:[".txt", ".csv", ".log", ".xml",".html", ".json"]。
      • setFileTypes

        public void setFileTypes​(String[] FileTypes)
        Set 待扫描文件类型,用逗号隔开,格式如:[".txt", ".csv", ".log", ".xml",".html", ".json"]。
        Parameters:
        FileTypes - 待扫描文件类型,用逗号隔开,格式如:[".txt", ".csv", ".log", ".xml",".html", ".json"]。
      • getFileSizeLimit

        public Long getFileSizeLimit()
        Get 文件大小上限,单位为KB,如1000, 目前单个文件最大只支持100MB(102400KB)
        Returns:
        FileSizeLimit 文件大小上限,单位为KB,如1000, 目前单个文件最大只支持100MB(102400KB)
      • setFileSizeLimit

        public void setFileSizeLimit​(Long FileSizeLimit)
        Set 文件大小上限,单位为KB,如1000, 目前单个文件最大只支持100MB(102400KB)
        Parameters:
        FileSizeLimit - 文件大小上限,单位为KB,如1000, 目前单个文件最大只支持100MB(102400KB)
      • getResourceRegion

        public String getResourceRegion()
        Get 资源所在地域
        Returns:
        ResourceRegion 资源所在地域
      • setResourceRegion

        public void setResourceRegion​(String ResourceRegion)
        Set 资源所在地域
        Parameters:
        ResourceRegion - 资源所在地域
      • getDescription

        public String getDescription()
        Get 任务描述,最大长度为1024个字符
        Returns:
        Description 任务描述,最大长度为1024个字符
      • setDescription

        public void setDescription​(String Description)
        Set 任务描述,最大长度为1024个字符
        Parameters:
        Description - 任务描述,最大长度为1024个字符
      • getComplianceGroupIds

        public Long[] getComplianceGroupIds()
        Get 合规组ID列表,最多支持添加5个
        Returns:
        ComplianceGroupIds 合规组ID列表,最多支持添加5个
      • setComplianceGroupIds

        public void setComplianceGroupIds​(Long[] ComplianceGroupIds)
        Set 合规组ID列表,最多支持添加5个
        Parameters:
        ComplianceGroupIds - 合规组ID列表,最多支持添加5个
      • getTimingStartTime

        public String getTimingStartTime()
        Get 任务定时启动时间,格式如:2006-01-02 15:04:05 当执行计划(Plan字段)为”立即“时,定时启动时间不会生效,此场景下给该字段传值不会被保存。
        Returns:
        TimingStartTime 任务定时启动时间,格式如:2006-01-02 15:04:05 当执行计划(Plan字段)为”立即“时,定时启动时间不会生效,此场景下给该字段传值不会被保存。
      • setTimingStartTime

        public void setTimingStartTime​(String TimingStartTime)
        Set 任务定时启动时间,格式如:2006-01-02 15:04:05 当执行计划(Plan字段)为”立即“时,定时启动时间不会生效,此场景下给该字段传值不会被保存。
        Parameters:
        TimingStartTime - 任务定时启动时间,格式如:2006-01-02 15:04:05 当执行计划(Plan字段)为”立即“时,定时启动时间不会生效,此场景下给该字段传值不会被保存。