public static final class ModifySearchConditionRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ModifySearchConditionRequest |
build() |
ModifySearchConditionRequest.Builder |
filterConditions(String filterConditions)
The filter condition.
|
ModifySearchConditionRequest.Builder |
name(String name)
The name of the common filter condition.
|
ModifySearchConditionRequest.Builder |
sourceIp(String sourceIp)
The source IP address of the request.
|
ModifySearchConditionRequest.Builder |
type(String type)
The type of the asset.
|
public ModifySearchConditionRequest.Builder filterConditions(String filterConditions)
The filter condition. The value of this parameter is in the JSON format and is case-sensitive. The value contains the following fields:
filterParams: the filter-related parameters. The value is in the JSON format. Valid values:
label: the display name of the filter condition in the console.
value: the settings of the filter condition. The value is in the JSON format. The value contains the following fields:
LogicalExp: the logical relationship among multiple filter conditions. Valid values:
Value description of name:
If Type is set to ecs, you can call the DescribeCriteria operation to query the supported filter conditions.
If Type is set to cloud_product, you can call the GetCloudAssetCriteria operation to query the supported filter conditions.
{ "filterParams": [ { "label": "UUID:xxx", "value": "{"name":"uuidList","value":"xxx"}" } ], "LogicalExp": "OR" }
public ModifySearchConditionRequest.Builder name(String name)
The name of the common filter condition.
This parameter is required.
example:test
public ModifySearchConditionRequest.Builder sourceIp(String sourceIp)
The source IP address of the request. You do not need to specify this parameter. It is automatically obtained by the system.
example:27.223.XX.XX
public ModifySearchConditionRequest.Builder type(String type)
The type of the asset. Default value: ecs. Valid values:
ecs
public ModifySearchConditionRequest build()
Copyright © 2026. All rights reserved.