public static final class ModifyStrategyRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
ModifyStrategyRequest |
build() |
ModifyStrategyRequest.Builder |
customType(String customType)
The type of the baseline check policy.
|
ModifyStrategyRequest.Builder |
cycleDays(String cycleDays)
The new interval of the baseline check.
|
ModifyStrategyRequest.Builder |
cycleStartTime(String cycleStartTime)
The new time range during which the baseline check starts.
|
ModifyStrategyRequest.Builder |
endTime(String endTime)
The time when the baseline check based on the baseline check policy ends.
|
ModifyStrategyRequest.Builder |
id(String id)
The ID of the baseline check policy.
|
ModifyStrategyRequest.Builder |
name(String name)
The new name of the baseline check policy.
|
ModifyStrategyRequest.Builder |
riskCustomParams(String riskCustomParams)
The custom configurations of the baseline.
|
ModifyStrategyRequest.Builder |
riskSubTypeName(String riskSubTypeName)
The subtype of the baselines.
|
ModifyStrategyRequest.Builder |
sourceIp(String sourceIp)
The source IP address of the request.
|
ModifyStrategyRequest.Builder |
startTime(String startTime)
The time when the baseline check based on the baseline check policy starts.
|
ModifyStrategyRequest.Builder |
targetType(String targetType)
The method that is used to apply the baseline check policy.
|
public ModifyStrategyRequest.Builder customType(String customType)
* **custom**: a custom baseline check policy * **common**: a standard baseline check policy
public ModifyStrategyRequest.Builder cycleDays(String cycleDays)
* **1**: every 2 days * **3**: every 4 days * **7**: every 8 days * **30**: every 31 days
public ModifyStrategyRequest.Builder cycleStartTime(String cycleStartTime)
* **0**: The baseline check starts within the time range from 00:00 to 06:00. * **6**: The baseline check starts within the time range from 06:00 to 12:00. * **12**: The baseline check starts within the time range from 12:00 to 18:00. * **18**: The baseline check starts within the time range from 18:00 to 24:00. > This parameter is deprecated.
public ModifyStrategyRequest.Builder endTime(String endTime)
public ModifyStrategyRequest.Builder id(String id)
public ModifyStrategyRequest.Builder name(String name)
public ModifyStrategyRequest.Builder riskCustomParams(String riskCustomParams)
* **typeName**: the name of the baseline. * **checkDetails**: the details of the baseline. The value is in the JSON format. * **checkId**: the ID of the check item. * **rules**: the rule configurations. The value is in the JSON format. * **ruleId**: the ID of the rule. * **paramList**: the list of parameters in the rule. The value is in the JSON format. * **paramName**: the name of the parameter. * **value**: the value of the parameter.
public ModifyStrategyRequest.Builder riskSubTypeName(String riskSubTypeName)
public ModifyStrategyRequest.Builder sourceIp(String sourceIp)
public ModifyStrategyRequest.Builder startTime(String startTime)
public ModifyStrategyRequest.Builder targetType(String targetType)
* **groupId**: asset groups * **uuid**: assets
public ModifyStrategyRequest build()
Copyright © 2023. All rights reserved.