public static final class ModifyCycleTaskRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ModifyCycleTaskRequest |
build() |
ModifyCycleTaskRequest.Builder |
configId(String configId)
The ID of the task configuration.
|
ModifyCycleTaskRequest.Builder |
enable(Integer enable)
Specifies whether to enable the task.
|
ModifyCycleTaskRequest.Builder |
firstDateStr(Long firstDateStr)
The time when the task first started.
|
ModifyCycleTaskRequest.Builder |
intervalPeriod(Integer intervalPeriod)
The interval at which the task is run.
|
ModifyCycleTaskRequest.Builder |
param(String param)
The additional information.
|
ModifyCycleTaskRequest.Builder |
periodUnit(String periodUnit)
The unit of the scan interval.
|
ModifyCycleTaskRequest.Builder |
targetEndTime(Integer targetEndTime)
The end time of the task.
|
ModifyCycleTaskRequest.Builder |
targetStartTime(Integer targetStartTime)
The start time of the task.
|
ModifyCycleTaskRequest.Builder |
taskName(String taskName)
The name of the task.
|
ModifyCycleTaskRequest.Builder |
taskType(String taskType)
The type of the task.
|
public ModifyCycleTaskRequest.Builder configId(String configId)
The ID of the task configuration.
You can call the DescribeCycleTaskList operation to query the IDs of task configurations.
This parameter is required.
example:00cfa8161da093089e6804ba6a33****
public ModifyCycleTaskRequest.Builder enable(Integer enable)
Specifies whether to enable the task. Valid values:
1
public ModifyCycleTaskRequest.Builder firstDateStr(Long firstDateStr)
The time when the task first started.
example:1664380800000
public ModifyCycleTaskRequest.Builder intervalPeriod(Integer intervalPeriod)
The interval at which the task is run.
example:14
public ModifyCycleTaskRequest.Builder param(String param)
The additional information.
example:{ "targetInfo": [ { "type": "groupId", "name": "TI HOST", "target": 10597*** }, { "type": "groupId", "name": "expense HOST", "target": 10597*** } ] }
public ModifyCycleTaskRequest.Builder periodUnit(String periodUnit)
The unit of the scan interval. Valid values:
day
public ModifyCycleTaskRequest.Builder targetEndTime(Integer targetEndTime)
The end time of the task. The time must be a time frame.
example:6
public ModifyCycleTaskRequest.Builder targetStartTime(Integer targetStartTime)
The start time of the task. The start time must be a time frame.
example:0
public ModifyCycleTaskRequest.Builder taskName(String taskName)
The name of the task. Valid values:
Valid values:
VIRUS_VUL_SCHEDULE_SCAN
:
virus detection task
IMAGE_SCAN
:
image scan task
EMG_VUL_SCHEDULE_SCAN
:
urgent vulnerability scan task
EMG_VUL_SCHEDULE_SCAN
public ModifyCycleTaskRequest.Builder taskType(String taskType)
The type of the task. Valid values:
Valid values:
VIRUS_VUL_SCHEDULE_SCAN
:
virus detection task
IMAGE_SCAN
:
image scan task
EMG_VUL_SCHEDULE_SCAN
:
urgent vulnerability scan task
VIRUS_VUL_SCHEDULE_SCAN
public ModifyCycleTaskRequest build()
Copyright © 2026. All rights reserved.