public static class ManagementSavedSearchSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ManagementSavedSearchSummary |
build() |
ManagementSavedSearchSummary.Builder |
compartmentId(String compartmentId)
OCID of the compartment in which the saved search resides.
|
ManagementSavedSearchSummary.Builder |
copy(ManagementSavedSearchSummary model) |
ManagementSavedSearchSummary.Builder |
createdBy(String createdBy)
The principle id of the user that created this saved search.
|
ManagementSavedSearchSummary.Builder |
dataConfig(List<Object> dataConfig)
It defines how data is fetched.
|
ManagementSavedSearchSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ManagementSavedSearchSummary.Builder |
description(String description)
Description of the saved search.
|
ManagementSavedSearchSummary.Builder |
displayName(String displayName)
Display name of the saved search.
|
ManagementSavedSearchSummary.Builder |
featuresConfig(Object featuresConfig)
Contains configuration for enabling features.
|
ManagementSavedSearchSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
ManagementSavedSearchSummary.Builder |
id(String id)
ID of the saved search.
|
ManagementSavedSearchSummary.Builder |
isOobSavedSearch(Boolean isOobSavedSearch)
Determines whether the saved search is an Out-of-the-Box (OOB) saved search.
|
ManagementSavedSearchSummary.Builder |
lifecycleState(LifecycleStates lifecycleState)
OCI lifecycle status.
|
ManagementSavedSearchSummary.Builder |
metadataVersion(String metadataVersion)
The version of the metadata defined in the API.
|
ManagementSavedSearchSummary.Builder |
nls(Object nls)
JSON that contains internationalization options.
|
ManagementSavedSearchSummary.Builder |
parametersConfig(List<Object> parametersConfig)
Defines parameters for the saved search.
|
ManagementSavedSearchSummary.Builder |
providerId(String providerId)
ID of the service (for example log-analytics) that owns the saved search.
|
ManagementSavedSearchSummary.Builder |
providerName(String providerName)
The user friendly name of the service (for example, Logging Analytics) that owns the
saved search.
|
ManagementSavedSearchSummary.Builder |
providerVersion(String providerVersion)
The version of the metadata of the provider.
|
ManagementSavedSearchSummary.Builder |
screenImage(String screenImage)
Screen image of the saved search.
|
ManagementSavedSearchSummary.Builder |
timeCreated(Date timeCreated)
Date and time the saved search was created.
|
ManagementSavedSearchSummary.Builder |
timeUpdated(Date timeUpdated)
Date and time the saved search was updated.
|
ManagementSavedSearchSummary.Builder |
type(SavedSearchTypes type)
Determines how the saved search is displayed in a dashboard.
|
ManagementSavedSearchSummary.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.
|
ManagementSavedSearchSummary.Builder |
updatedBy(String updatedBy)
The principle id of the user that updated this saved search
|
ManagementSavedSearchSummary.Builder |
widgetTemplate(String widgetTemplate)
The UI template that the saved search uses to render itself.
|
ManagementSavedSearchSummary.Builder |
widgetVM(String widgetVM)
The View Model that the saved search uses to render itself.
|
public ManagementSavedSearchSummary.Builder id(String id)
ID of the saved search.
id
- the value to setpublic ManagementSavedSearchSummary.Builder displayName(String displayName)
Display name of the saved search.
displayName
- the value to setpublic ManagementSavedSearchSummary.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 ManagementSavedSearchSummary.Builder compartmentId(String compartmentId)
OCID of the compartment in which the saved search resides.
compartmentId
- the value to setpublic ManagementSavedSearchSummary.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 ManagementSavedSearchSummary.Builder providerVersion(String providerVersion)
The version of the metadata of the provider. This is useful for provider to version its features and metadata. Any newly created saved search (or dashboard) should use providerVersion 3.0.0.
providerVersion
- the value to setpublic ManagementSavedSearchSummary.Builder providerName(String providerName)
The user friendly name of the service (for example, Logging Analytics) that owns the saved search.
providerName
- the value to setpublic ManagementSavedSearchSummary.Builder description(String description)
Description of the saved search.
description
- the value to setpublic ManagementSavedSearchSummary.Builder nls(Object nls)
JSON that contains internationalization options.
nls
- the value to setpublic ManagementSavedSearchSummary.Builder type(SavedSearchTypes type)
Determines how the saved search is displayed in a dashboard.
type
- the value to setpublic ManagementSavedSearchSummary.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 ManagementSavedSearchSummary.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 ManagementSavedSearchSummary.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 ManagementSavedSearchSummary.Builder updatedBy(String updatedBy)
The principle id of the user that updated this saved search
updatedBy
- the value to setpublic ManagementSavedSearchSummary.Builder timeCreated(Date timeCreated)
Date and time the saved search was created.
timeCreated
- the value to setpublic ManagementSavedSearchSummary.Builder timeUpdated(Date timeUpdated)
Date and time the saved search was updated.
timeUpdated
- the value to setpublic ManagementSavedSearchSummary.Builder screenImage(String screenImage)
Screen image of the saved search.
screenImage
- the value to setpublic ManagementSavedSearchSummary.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 ManagementSavedSearchSummary.Builder widgetTemplate(String widgetTemplate)
The UI template that the saved search uses to render itself.
widgetTemplate
- the value to setpublic ManagementSavedSearchSummary.Builder widgetVM(String widgetVM)
The View Model that the saved search uses to render itself.
widgetVM
- the value to setpublic ManagementSavedSearchSummary.Builder lifecycleState(LifecycleStates lifecycleState)
OCI lifecycle status. This is automatically managed by the system.
lifecycleState
- the value to setpublic ManagementSavedSearchSummary.Builder parametersConfig(List<Object> parametersConfig)
Defines parameters for the saved search.
parametersConfig
- the value to setpublic ManagementSavedSearchSummary.Builder featuresConfig(Object featuresConfig)
Contains configuration for enabling features.
featuresConfig
- the value to setpublic ManagementSavedSearchSummary.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 ManagementSavedSearchSummary.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 ManagementSavedSearchSummary build()
public ManagementSavedSearchSummary.Builder copy(ManagementSavedSearchSummary model)
Copyright © 2016–2024. All rights reserved.