Class ManagementDashboard.Builder
- java.lang.Object
-
- com.oracle.bmc.managementdashboard.model.ManagementDashboard.Builder
-
- Enclosing class:
- ManagementDashboard
public static class ManagementDashboard.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagementDashboardbuild()ManagementDashboard.BuildercompartmentId(String compartmentId)OCID of the compartment in which the dashboard resides.ManagementDashboard.Buildercopy(ManagementDashboard model)ManagementDashboard.BuildercreatedBy(String createdBy)User who created the dashboard.ManagementDashboard.BuilderdashboardId(String dashboardId)ID of the dashboard.ManagementDashboard.BuilderdataConfig(List<Object> dataConfig)Array of JSON that contain data source options.ManagementDashboard.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ManagementDashboard.Builderdescription(String description)Description of the dashboard.ManagementDashboard.BuilderdisplayName(String displayName)Display name of the dashboard.ManagementDashboard.BuilderdrilldownConfig(List<Object> drilldownConfig)Drill-down configuration to define the destination of a drill-down action.ManagementDashboard.BuilderfeaturesConfig(Object featuresConfig)Contains configuration for enabling features.ManagementDashboard.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.ManagementDashboard.Builderid(String id)ID of the dashboard.ManagementDashboard.BuilderisFavorite(Boolean isFavorite)Determines whether the dashboard is set as favorite.ManagementDashboard.BuilderisOobDashboard(Boolean isOobDashboard)Determines whether the dashboard is an Out-of-the-Box (OOB) dashboard.ManagementDashboard.BuilderisShowDescription(Boolean isShowDescription)Determines whether the description of the dashboard is displayed.ManagementDashboard.BuilderisShowInHome(Boolean isShowInHome)Determines whether the dashboard will be displayed in Dashboard Home.ManagementDashboard.BuilderlifecycleState(LifecycleStates lifecycleState)State of dashboard.ManagementDashboard.BuildermetadataVersion(String metadataVersion)The version of the metadata defined in the API.ManagementDashboard.Buildernls(Object nls)JSON that contains internationalization options.ManagementDashboard.BuilderparametersConfig(List<Object> parametersConfig)Defines parameters for the dashboard.ManagementDashboard.BuilderproviderId(String providerId)ID of the service (for example, log-analytics) that owns the dashboard.ManagementDashboard.BuilderproviderName(String providerName)Name of the service (for example, Logging Analytics) that owns the dashboard.ManagementDashboard.BuilderproviderVersion(String providerVersion)Version of the service that owns the dashboard.ManagementDashboard.BuildersavedSearches(List<ManagementSavedSearch> savedSearches)Array of saved searches in the dashboard.ManagementDashboard.BuilderscreenImage(String screenImage)Screen image of the dashboard.ManagementDashboard.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.ManagementDashboard.Buildertiles(List<ManagementDashboardTileDetails> tiles)Array of dashboard tiles.ManagementDashboard.BuildertimeCreated(Date timeCreated)Date and time the dashboard was created.ManagementDashboard.BuildertimeUpdated(Date timeUpdated)Date and time the dashboard was updated.ManagementDashboard.Buildertype(String type)Type of dashboard.ManagementDashboard.BuilderuiConfig(Object uiConfig)JSON that contains user interface options.ManagementDashboard.BuilderupdatedBy(String updatedBy)User who updated the dashboard.
-
-
-
Method Detail
-
dashboardId
public ManagementDashboard.Builder dashboardId(String dashboardId)
ID of the dashboard.Same as id.
- Parameters:
dashboardId- the value to set- Returns:
- this builder
-
id
public ManagementDashboard.Builder id(String id)
ID of the dashboard.Same as dashboardId.
- Parameters:
id- the value to set- Returns:
- this builder
-
providerId
public ManagementDashboard.Builder providerId(String providerId)
ID of the service (for example, log-analytics) that owns the dashboard.Each service has a unique ID.
- Parameters:
providerId- the value to set- Returns:
- this builder
-
providerName
public ManagementDashboard.Builder providerName(String providerName)
Name of the service (for example, Logging Analytics) that owns the dashboard.- Parameters:
providerName- the value to set- Returns:
- this builder
-
providerVersion
public ManagementDashboard.Builder providerVersion(String providerVersion)
Version of the service that owns the dashboard.- Parameters:
providerVersion- the value to set- Returns:
- this builder
-
tiles
public ManagementDashboard.Builder tiles(List<ManagementDashboardTileDetails> tiles)
Array of dashboard tiles.- Parameters:
tiles- the value to set- Returns:
- this builder
-
displayName
public ManagementDashboard.Builder displayName(String displayName)
Display name of the dashboard.- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public ManagementDashboard.Builder description(String description)
Description of the dashboard.- Parameters:
description- the value to set- Returns:
- this builder
-
compartmentId
public ManagementDashboard.Builder compartmentId(String compartmentId)
OCID of the compartment in which the dashboard resides.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
isOobDashboard
public ManagementDashboard.Builder isOobDashboard(Boolean isOobDashboard)
Determines whether the dashboard is an Out-of-the-Box (OOB) dashboard.Note that OOB dashboards are only provided by Oracle and cannot be modified.
- Parameters:
isOobDashboard- the value to set- Returns:
- this builder
-
isShowInHome
public ManagementDashboard.Builder isShowInHome(Boolean isShowInHome)
Determines whether the dashboard will be displayed in Dashboard Home.- Parameters:
isShowInHome- the value to set- Returns:
- this builder
-
createdBy
public ManagementDashboard.Builder createdBy(String createdBy)
User who created the dashboard.- Parameters:
createdBy- the value to set- Returns:
- this builder
-
timeCreated
public ManagementDashboard.Builder timeCreated(Date timeCreated)
Date and time the dashboard was created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
updatedBy
public ManagementDashboard.Builder updatedBy(String updatedBy)
User who updated the dashboard.- Parameters:
updatedBy- the value to set- Returns:
- this builder
-
timeUpdated
public ManagementDashboard.Builder timeUpdated(Date timeUpdated)
Date and time the dashboard was updated.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
metadataVersion
public ManagementDashboard.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.
- Parameters:
metadataVersion- the value to set- Returns:
- this builder
-
isShowDescription
public ManagementDashboard.Builder isShowDescription(Boolean isShowDescription)
Determines whether the description of the dashboard is displayed.- Parameters:
isShowDescription- the value to set- Returns:
- this builder
-
screenImage
public ManagementDashboard.Builder screenImage(String screenImage)
Screen image of the dashboard.- Parameters:
screenImage- the value to set- Returns:
- this builder
-
nls
public ManagementDashboard.Builder nls(Object nls)
JSON that contains internationalization options.- Parameters:
nls- the value to set- Returns:
- this builder
-
uiConfig
public ManagementDashboard.Builder uiConfig(Object uiConfig)
JSON that contains user interface options.- Parameters:
uiConfig- the value to set- Returns:
- this builder
-
dataConfig
public ManagementDashboard.Builder dataConfig(List<Object> dataConfig)
Array of JSON that contain data source options.- Parameters:
dataConfig- the value to set- Returns:
- this builder
-
type
public ManagementDashboard.Builder type(String type)
Type of dashboard.NORMAL denotes a single dashboard and SET denotes a dashboard set.
- Parameters:
type- the value to set- Returns:
- this builder
-
isFavorite
public ManagementDashboard.Builder isFavorite(Boolean isFavorite)
Determines whether the dashboard is set as favorite.- Parameters:
isFavorite- the value to set- Returns:
- this builder
-
savedSearches
public ManagementDashboard.Builder savedSearches(List<ManagementSavedSearch> savedSearches)
Array of saved searches in the dashboard.- Parameters:
savedSearches- the value to set- Returns:
- this builder
-
lifecycleState
public ManagementDashboard.Builder lifecycleState(LifecycleStates lifecycleState)
State of dashboard.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
parametersConfig
public ManagementDashboard.Builder parametersConfig(List<Object> parametersConfig)
Defines parameters for the dashboard.- Parameters:
parametersConfig- the value to set- Returns:
- this builder
-
drilldownConfig
public ManagementDashboard.Builder drilldownConfig(List<Object> drilldownConfig)
Drill-down configuration to define the destination of a drill-down action.- Parameters:
drilldownConfig- the value to set- Returns:
- this builder
-
featuresConfig
public ManagementDashboard.Builder featuresConfig(Object featuresConfig)
Contains configuration for enabling features.- Parameters:
featuresConfig- the value to set- Returns:
- this builder
-
freeformTags
public ManagementDashboard.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”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public ManagementDashboard.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”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public ManagementDashboard.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public ManagementDashboard build()
-
copy
public ManagementDashboard.Builder copy(ManagementDashboard model)
-
-