public static final class ModifyStrategyTargetRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
ModifyStrategyTargetRequest |
build() |
ModifyStrategyTargetRequest.Builder |
config(String config)
The ID of the baseline check policy.
|
ModifyStrategyTargetRequest.Builder |
sourceIp(String sourceIp)
The source IP address of the request.
|
ModifyStrategyTargetRequest.Builder |
target(String target)
The information about the asset group to which the policy is applied.
|
ModifyStrategyTargetRequest.Builder |
type(String type)
The configuration type.
|
public ModifyStrategyTargetRequest.Builder config(String config)
* **strategyId**: the ID of the policy
public ModifyStrategyTargetRequest.Builder sourceIp(String sourceIp)
public ModifyStrategyTargetRequest.Builder target(String target)
* **TargetType**: the type of the asset to which the policy is applied. Set the value to **groupId**, which indicates that the policy is applied to an asset group. * **BindUuidCount**: the number of servers to which the policy is applied. * **Target**: the ID of the asset group. * **Flag**: the operation that you want to perform on the asset group. Valid values: * **del**: removes the asset group from the policy. * **add**: adds the asset group to the policy.
public ModifyStrategyTargetRequest.Builder type(String type)
public ModifyStrategyTargetRequest build()
Copyright © 2023. All rights reserved.