public class SavedSearchCollection extends EntityCollection<SavedSearch>
SavedSearchCollection
class represents a collection of saved
searches.itemClass, items
Modifier and Type | Method and Description |
---|---|
SavedSearch |
create(String name)
Creates an entity in this collection.
|
SavedSearch |
create(String name,
String search)
Creates a saved search from a name and search query.
|
SavedSearch |
create(String name,
String search,
Map args)
Creates a saved search from a name, search query, and
additional arguments.
|
create, remove, remove
clear, containsKey, containsKey, containsValue, createItem, createItem, entrySet, equals, get, get, hashCode, isEmpty, itemKey, itemPath, keySet, list, put, putAll, refresh, remove, size, validate, values, valueSize
getName, getPath, getService, getTitle, getUpdated, invalidate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public SavedSearch create(String name)
create
in class EntityCollection<SavedSearch>
name
- The name of the entity.public SavedSearch create(String name, String search)
name
- The name for the search.search
- The search query.public SavedSearch create(String name, String search, Map args)
name
- The name for the search.search
- The search query.args
- Additional arguments. For a list of possible parameters, see
Saved search parameters on
dev.splunk.com.Copyright © 2022 Splunk, Inc.. All rights reserved.