Class ModifyDSPACOSDiscoveryTaskRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.dsgc.v20190723.models.ModifyDSPACOSDiscoveryTaskRequest
-
public class ModifyDSPACOSDiscoveryTaskRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ModifyDSPACOSDiscoveryTaskRequest()ModifyDSPACOSDiscoveryTaskRequest(ModifyDSPACOSDiscoveryTaskRequest 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 Long[]getComplianceGroupIds()Get 合规组ID列表,最多支持添加5个StringgetDescription()Get 任务描述,最大长度为1024个字符StringgetDspaId()Get DSPA实例IDLonggetEnable()Get 任务开关,0 关闭,1 启用LonggetFileSizeLimit()Get 文件大小上限,单位为KB,如1000, 目前单个文件最大只支持100MB(102400KB)String[]getFileTypes()Get 待扫描文件类型,用逗号隔开,格式如:[".txt", ".csv", ".log", ".xml",".html", ".json"]。LonggetGeneralRuleSetEnable()Get 通用规则集开关;0 关闭,1 启用StringgetName()Get 任务名称,1-60个字符,仅允许输入中文、英文字母、数字、'_'、'-',并且开头和结尾需为中文、英文字母或者数字,Name不可重复LonggetPeriod()Get 扫描周期;0单次 1每天 2每周 3每月LonggetPlan()Get 执行计划; 0立即 1定时,选择“立即”时,扫描周期只能选择单次StringgetResourceRegion()Get 资源所在地域LonggetTaskId()Get 任务IDStringgetTimingStartTime()Get 任务定时启动时间,格式:2006-01-02 15:04:05 当执行计划(Plan字段)为”立即“时,定时启动时间不会生效,此场景下给该字段传值不会被保存。voidsetComplianceGroupIds(Long[] ComplianceGroupIds)Set 合规组ID列表,最多支持添加5个voidsetDescription(String Description)Set 任务描述,最大长度为1024个字符voidsetDspaId(String DspaId)Set DSPA实例IDvoidsetEnable(Long Enable)Set 任务开关,0 关闭,1 启用voidsetFileSizeLimit(Long FileSizeLimit)Set 文件大小上限,单位为KB,如1000, 目前单个文件最大只支持100MB(102400KB)voidsetFileTypes(String[] FileTypes)Set 待扫描文件类型,用逗号隔开,格式如:[".txt", ".csv", ".log", ".xml",".html", ".json"]。voidsetGeneralRuleSetEnable(Long GeneralRuleSetEnable)Set 通用规则集开关;0 关闭,1 启用voidsetName(String Name)Set 任务名称,1-60个字符,仅允许输入中文、英文字母、数字、'_'、'-',并且开头和结尾需为中文、英文字母或者数字,Name不可重复voidsetPeriod(Long Period)Set 扫描周期;0单次 1每天 2每周 3每月voidsetPlan(Long Plan)Set 执行计划; 0立即 1定时,选择“立即”时,扫描周期只能选择单次voidsetResourceRegion(String ResourceRegion)Set 资源所在地域voidsetTaskId(Long TaskId)Set 任务IDvoidsetTimingStartTime(String TimingStartTime)Set 任务定时启动时间,格式:2006-01-02 15:04:05 当执行计划(Plan字段)为”立即“时,定时启动时间不会生效,此场景下给该字段传值不会被保存。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
-
ModifyDSPACOSDiscoveryTaskRequest
public ModifyDSPACOSDiscoveryTaskRequest()
-
ModifyDSPACOSDiscoveryTaskRequest
public ModifyDSPACOSDiscoveryTaskRequest(ModifyDSPACOSDiscoveryTaskRequest 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
-
getTaskId
public Long getTaskId()
Get 任务ID- Returns:
- TaskId 任务ID
-
setTaskId
public void setTaskId(Long TaskId)
Set 任务ID- Parameters:
TaskId- 任务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不可重复
-
getDescription
public String getDescription()
Get 任务描述,最大长度为1024个字符- Returns:
- Description 任务描述,最大长度为1024个字符
-
setDescription
public void setDescription(String Description)
Set 任务描述,最大长度为1024个字符- Parameters:
Description- 任务描述,最大长度为1024个字符
-
getEnable
public Long getEnable()
Get 任务开关,0 关闭,1 启用- Returns:
- Enable 任务开关,0 关闭,1 启用
-
setEnable
public void setEnable(Long Enable)
Set 任务开关,0 关闭,1 启用- Parameters:
Enable- 任务开关,0 关闭,1 启用
-
getGeneralRuleSetEnable
public Long getGeneralRuleSetEnable()
Get 通用规则集开关;0 关闭,1 启用- Returns:
- GeneralRuleSetEnable 通用规则集开关;0 关闭,1 启用
-
setGeneralRuleSetEnable
public void setGeneralRuleSetEnable(Long GeneralRuleSetEnable)
Set 通用规则集开关;0 关闭,1 启用- Parameters:
GeneralRuleSetEnable- 通用规则集开关;0 关闭,1 启用
-
getComplianceGroupIds
public Long[] getComplianceGroupIds()
Get 合规组ID列表,最多支持添加5个- Returns:
- ComplianceGroupIds 合规组ID列表,最多支持添加5个
-
setComplianceGroupIds
public void setComplianceGroupIds(Long[] ComplianceGroupIds)
Set 合规组ID列表,最多支持添加5个- Parameters:
ComplianceGroupIds- 合规组ID列表,最多支持添加5个
-
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每月
-
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字段)为”立即“时,定时启动时间不会生效,此场景下给该字段传值不会被保存。
-
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- 资源所在地域
-
-