public static final class UpdateSavedSearchRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateSavedSearchRequest |
build() |
UpdateSavedSearchRequest.Builder |
displayName(String displayName)
The display name.
|
UpdateSavedSearchRequest.Builder |
logstore(String logstore)
The name of the Logstore to which the saved search belongs.
|
UpdateSavedSearchRequest.Builder |
project(String project)
The name of the project.
|
UpdateSavedSearchRequest.Builder |
savedsearchName(String savedsearchName)
The name of the saved search that you want to update.
|
UpdateSavedSearchRequest.Builder |
searchQuery(String searchQuery)
The query statement of the saved search.
|
UpdateSavedSearchRequest.Builder |
topic(String topic)
The topic of the logs.
|
public UpdateSavedSearchRequest.Builder project(String project)
The name of the project.
This parameter is required.
example:my-project
public UpdateSavedSearchRequest.Builder savedsearchName(String savedsearchName)
The name of the saved search that you want to update.
This parameter is required.
example:savedsearch-name
public UpdateSavedSearchRequest.Builder displayName(String displayName)
The display name.
This parameter is required.
example:displayname
public UpdateSavedSearchRequest.Builder logstore(String logstore)
The name of the Logstore to which the saved search belongs.
This parameter is required.
example:aliyun-test-logstore
public UpdateSavedSearchRequest.Builder searchQuery(String searchQuery)
The query statement of the saved search. A query statement consists of a search statement and an analytic statement in the Search statement|Analytic statement format. For more information, see Log search overview and Log analysis overview.
This parameter is required.
example:|select date_format(time-time%60, "%H:%i:%s") as time, COUNT() as pv group by time
public UpdateSavedSearchRequest.Builder topic(String topic)
The topic of the logs.
example:theme
public UpdateSavedSearchRequest build()
Copyright © 2025. All rights reserved.