public static class ManagementSavedSearch.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ManagementSavedSearch |
build() |
ManagementSavedSearch.Builder |
compartmentId(String compartmentId)
OCID of the compartment in which the saved search resides.
|
ManagementSavedSearch.Builder |
copy(ManagementSavedSearch model) |
ManagementSavedSearch.Builder |
createdBy(String createdBy)
The principle id of the user that created this saved search.
|
ManagementSavedSearch.Builder |
dataConfig(List<Object> dataConfig)
It defines how data is fetched.
|
ManagementSavedSearch.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ManagementSavedSearch.Builder |
description(String description)
Description of the saved search.
|
ManagementSavedSearch.Builder |
displayName(String displayName)
Display name of the saved search.
|
ManagementSavedSearch.Builder |
drilldownConfig(List<Object> drilldownConfig)
Drill-down configuration to define the destination of a drill-down action.
|
ManagementSavedSearch.Builder |
featuresConfig(Object featuresConfig)
Contains configuration for enabling features.
|
ManagementSavedSearch.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
ManagementSavedSearch.Builder |
id(String id)
ID of the saved search.
|
ManagementSavedSearch.Builder |
isOobSavedSearch(Boolean isOobSavedSearch)
Determines whether the saved search is an Out-of-the-Box (OOB) saved search.
|
ManagementSavedSearch.Builder |
lifecycleState(LifecycleStates lifecycleState)
OCI lifecycle status.
|
ManagementSavedSearch.Builder |
metadataVersion(String metadataVersion)
The version of the metadata defined in the API.
|
ManagementSavedSearch.Builder |
nls(Object nls)
JSON that contains internationalization options.
|
ManagementSavedSearch.Builder |
parametersConfig(List<Object> parametersConfig)
Defines parameters for the saved search.
|
ManagementSavedSearch.Builder |
providerId(String providerId)
ID of the service (for example log-analytics) that owns the saved search.
|
ManagementSavedSearch.Builder |
providerName(String providerName)
Name of the service (for example, Logging Analytics) that owns the saved search.
|
ManagementSavedSearch.Builder |
providerVersion(String providerVersion)
Version of the service that owns this saved search.
|
ManagementSavedSearch.Builder |
screenImage(String screenImage)
Screen image of the saved search.
|
ManagementSavedSearch.Builder |
timeCreated(Date timeCreated)
Date and time the saved search was created.
|
ManagementSavedSearch.Builder |
timeUpdated(Date timeUpdated)
Date and time the saved search was updated.
|
ManagementSavedSearch.Builder |
type(SavedSearchTypes type)
Determines how the saved search is displayed in a dashboard.
|
ManagementSavedSearch.Builder |
uiConfig(Object uiConfig)
It defines the visualization type of the widget saved search, the UI options of that
visualization type, the binding of data to the visualization.
|
ManagementSavedSearch.Builder |
updatedBy(String updatedBy)
The principle id of the user that updated this saved search.
|
ManagementSavedSearch.Builder |
widgetTemplate(String widgetTemplate)
The UI template that the saved search uses to render itself.
|
ManagementSavedSearch.Builder |
widgetVM(String widgetVM)
The View Model that the saved search uses to render itself.
|
public ManagementSavedSearch.Builder id(String id)
ID of the saved search.
id
- the value to setpublic ManagementSavedSearch.Builder displayName(String displayName)
Display name of the saved search.
displayName
- the value to setpublic ManagementSavedSearch.Builder providerId(String providerId)
ID of the service (for example log-analytics) that owns the saved search. Each service has a unique ID.
providerId
- the value to setpublic ManagementSavedSearch.Builder providerVersion(String providerVersion)
Version of the service that owns this saved search.
providerVersion
- the value to setpublic ManagementSavedSearch.Builder providerName(String providerName)
Name of the service (for example, Logging Analytics) that owns the saved search.
providerName
- the value to setpublic ManagementSavedSearch.Builder compartmentId(String compartmentId)
OCID of the compartment in which the saved search resides.
compartmentId
- the value to setpublic ManagementSavedSearch.Builder isOobSavedSearch(Boolean isOobSavedSearch)
Determines whether the saved search is an Out-of-the-Box (OOB) saved search. Note that OOB saved searches are only provided by Oracle and cannot be modified.
isOobSavedSearch
- the value to setpublic ManagementSavedSearch.Builder description(String description)
Description of the saved search.
description
- the value to setpublic ManagementSavedSearch.Builder nls(Object nls)
JSON that contains internationalization options.
nls
- the value to setpublic ManagementSavedSearch.Builder type(SavedSearchTypes type)
Determines how the saved search is displayed in a dashboard.
type
- the value to setpublic ManagementSavedSearch.Builder uiConfig(Object uiConfig)
It defines the visualization type of the widget saved search, the UI options of that visualization type, the binding of data to the visualization.
uiConfig
- the value to setpublic ManagementSavedSearch.Builder dataConfig(List<Object> dataConfig)
It defines how data is fetched. A functional saved search needs a valid dataConfig. See examples on how it can be constructed for various data sources.
dataConfig
- the value to setpublic ManagementSavedSearch.Builder createdBy(String createdBy)
The principle id of the user that created this saved search. This is automatically managed by the system. In OCI the value is ignored. In EM it can skipped or otherwise it is ignored in both create and update API and system automatically sets its value.
createdBy
- the value to setpublic ManagementSavedSearch.Builder updatedBy(String updatedBy)
The principle id of the user that updated this saved search.
updatedBy
- the value to setpublic ManagementSavedSearch.Builder timeCreated(Date timeCreated)
Date and time the saved search was created.
timeCreated
- the value to setpublic ManagementSavedSearch.Builder timeUpdated(Date timeUpdated)
Date and time the saved search was updated.
timeUpdated
- the value to setpublic ManagementSavedSearch.Builder screenImage(String screenImage)
Screen image of the saved search.
screenImage
- the value to setpublic ManagementSavedSearch.Builder metadataVersion(String metadataVersion)
The version of the metadata defined in the API. This is maintained and enforced by dashboard server. Currently it is 2.0.
metadataVersion
- the value to setpublic ManagementSavedSearch.Builder widgetTemplate(String widgetTemplate)
The UI template that the saved search uses to render itself.
widgetTemplate
- the value to setpublic ManagementSavedSearch.Builder widgetVM(String widgetVM)
The View Model that the saved search uses to render itself.
widgetVM
- the value to setpublic ManagementSavedSearch.Builder lifecycleState(LifecycleStates lifecycleState)
OCI lifecycle status. This is automatically managed by the system.
lifecycleState
- the value to setpublic ManagementSavedSearch.Builder parametersConfig(List<Object> parametersConfig)
Defines parameters for the saved search.
parametersConfig
- the value to setpublic ManagementSavedSearch.Builder featuresConfig(Object featuresConfig)
Contains configuration for enabling features.
featuresConfig
- the value to setpublic ManagementSavedSearch.Builder drilldownConfig(List<Object> drilldownConfig)
Drill-down configuration to define the destination of a drill-down action.
drilldownConfig
- the value to setpublic ManagementSavedSearch.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic ManagementSavedSearch.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic ManagementSavedSearch build()
public ManagementSavedSearch.Builder copy(ManagementSavedSearch model)
Copyright © 2016–2024. All rights reserved.