public static class CreateManagementSavedSearchDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateManagementSavedSearchDetails |
build() |
CreateManagementSavedSearchDetails.Builder |
compartmentId(String compartmentId)
OCID of the compartment in which the saved search resides.
|
CreateManagementSavedSearchDetails.Builder |
copy(CreateManagementSavedSearchDetails model) |
CreateManagementSavedSearchDetails.Builder |
dataConfig(List<Object> dataConfig)
It defines how data is fetched.
|
CreateManagementSavedSearchDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateManagementSavedSearchDetails.Builder |
description(String description)
Description of the saved search.
|
CreateManagementSavedSearchDetails.Builder |
displayName(String displayName)
Display name of the saved search.
|
CreateManagementSavedSearchDetails.Builder |
drilldownConfig(List<Object> drilldownConfig)
Drill-down configuration to define the destination of a drill-down action.
|
CreateManagementSavedSearchDetails.Builder |
featuresConfig(Object featuresConfig)
Contains configuration for enabling features.
|
CreateManagementSavedSearchDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
CreateManagementSavedSearchDetails.Builder |
id(String id)
ID of the saved search, which must only be provided for Out-of-the-Box (OOB) saved
search.
|
CreateManagementSavedSearchDetails.Builder |
isOobSavedSearch(Boolean isOobSavedSearch)
Determines whether the saved search is an Out-of-the-Box (OOB) saved search.
|
CreateManagementSavedSearchDetails.Builder |
metadataVersion(String metadataVersion)
The version of the metadata defined in the API.
|
CreateManagementSavedSearchDetails.Builder |
nls(Object nls)
JSON that contains internationalization options.
|
CreateManagementSavedSearchDetails.Builder |
parametersConfig(List<Object> parametersConfig)
Defines parameters for the saved search.
|
CreateManagementSavedSearchDetails.Builder |
providerId(String providerId)
ID of the service (for example log-analytics) that owns the saved search.
|
CreateManagementSavedSearchDetails.Builder |
providerName(String providerName)
The user friendly name of the service (for example, Logging Analytics) that owns the
saved search.
|
CreateManagementSavedSearchDetails.Builder |
providerVersion(String providerVersion)
The version of the metadata of the provider.
|
CreateManagementSavedSearchDetails.Builder |
screenImage(String screenImage)
Screen image of the saved search.
|
CreateManagementSavedSearchDetails.Builder |
type(SavedSearchTypes type)
Determines how the saved search is displayed in a dashboard.
|
CreateManagementSavedSearchDetails.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.
|
CreateManagementSavedSearchDetails.Builder |
widgetTemplate(String widgetTemplate)
The UI template that the saved search uses to render itself.
|
CreateManagementSavedSearchDetails.Builder |
widgetVM(String widgetVM)
The View Model that the saved search uses to render itself.
|
public CreateManagementSavedSearchDetails.Builder id(String id)
ID of the saved search, which must only be provided for Out-of-the-Box (OOB) saved search.
id
- the value to setpublic CreateManagementSavedSearchDetails.Builder displayName(String displayName)
Display name of the saved search.
displayName
- the value to setpublic CreateManagementSavedSearchDetails.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 CreateManagementSavedSearchDetails.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 CreateManagementSavedSearchDetails.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 CreateManagementSavedSearchDetails.Builder compartmentId(String compartmentId)
OCID of the compartment in which the saved search resides.
compartmentId
- the value to setpublic CreateManagementSavedSearchDetails.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 CreateManagementSavedSearchDetails.Builder description(String description)
Description of the saved search.
description
- the value to setpublic CreateManagementSavedSearchDetails.Builder nls(Object nls)
JSON that contains internationalization options.
nls
- the value to setpublic CreateManagementSavedSearchDetails.Builder type(SavedSearchTypes type)
Determines how the saved search is displayed in a dashboard.
type
- the value to setpublic CreateManagementSavedSearchDetails.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 CreateManagementSavedSearchDetails.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 CreateManagementSavedSearchDetails.Builder screenImage(String screenImage)
Screen image of the saved search.
screenImage
- the value to setpublic CreateManagementSavedSearchDetails.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 CreateManagementSavedSearchDetails.Builder widgetTemplate(String widgetTemplate)
The UI template that the saved search uses to render itself.
widgetTemplate
- the value to setpublic CreateManagementSavedSearchDetails.Builder widgetVM(String widgetVM)
The View Model that the saved search uses to render itself.
widgetVM
- the value to setpublic CreateManagementSavedSearchDetails.Builder parametersConfig(List<Object> parametersConfig)
Defines parameters for the saved search.
parametersConfig
- the value to setpublic CreateManagementSavedSearchDetails.Builder featuresConfig(Object featuresConfig)
Contains configuration for enabling features.
featuresConfig
- the value to setpublic CreateManagementSavedSearchDetails.Builder drilldownConfig(List<Object> drilldownConfig)
Drill-down configuration to define the destination of a drill-down action.
drilldownConfig
- the value to setpublic CreateManagementSavedSearchDetails.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 CreateManagementSavedSearchDetails.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 CreateManagementSavedSearchDetails build()
public CreateManagementSavedSearchDetails.Builder copy(CreateManagementSavedSearchDetails model)
Copyright © 2016–2024. All rights reserved.