Class UpdateManagementDashboardDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.managementdashboard.model.UpdateManagementDashboardDetails.Builder
-
- Enclosing class:
- UpdateManagementDashboardDetails
public static class UpdateManagementDashboardDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateManagementDashboardDetails
build()
UpdateManagementDashboardDetails.Builder
compartmentId(String compartmentId)
OCID of the compartment in which the dashboard resides.UpdateManagementDashboardDetails.Builder
copy(UpdateManagementDashboardDetails model)
UpdateManagementDashboardDetails.Builder
dataConfig(List<Object> dataConfig)
Array of JSON that contain data source options.UpdateManagementDashboardDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.UpdateManagementDashboardDetails.Builder
description(String description)
Description of the dashboard.UpdateManagementDashboardDetails.Builder
displayName(String displayName)
Display name of the dashboard.UpdateManagementDashboardDetails.Builder
drilldownConfig(List<Object> drilldownConfig)
Drill-down configuration to define the destination of a drill-down action.UpdateManagementDashboardDetails.Builder
featuresConfig(Object featuresConfig)
Contains configuration for enabling features.UpdateManagementDashboardDetails.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.UpdateManagementDashboardDetails.Builder
isFavorite(Boolean isFavorite)
Determines whether the dashboard is set as favorite.UpdateManagementDashboardDetails.Builder
isOobDashboard(Boolean isOobDashboard)
Determines whether the dashboard is an Out-of-the-Box (OOB) dashboard.UpdateManagementDashboardDetails.Builder
isShowDescription(Boolean isShowDescription)
Determines whether the description of the dashboard is displayed.UpdateManagementDashboardDetails.Builder
isShowInHome(Boolean isShowInHome)
Determines whether the dashboard will be displayed in Dashboard Home.UpdateManagementDashboardDetails.Builder
metadataVersion(String metadataVersion)
The version of the metadata defined in the API.UpdateManagementDashboardDetails.Builder
nls(Object nls)
JSON that contains internationalization options.UpdateManagementDashboardDetails.Builder
parametersConfig(List<Object> parametersConfig)
Defines parameters for the dashboard.UpdateManagementDashboardDetails.Builder
providerId(String providerId)
ID of the service (for example, log-analytics) that owns the dashboard.UpdateManagementDashboardDetails.Builder
providerName(String providerName)
The user friendly name of the service (for example, Logging Analytics) that owns the dashboard.UpdateManagementDashboardDetails.Builder
providerVersion(String providerVersion)
The version of the metadata of the provider.UpdateManagementDashboardDetails.Builder
screenImage(String screenImage)
Screen image of the dashboard.UpdateManagementDashboardDetails.Builder
tiles(List<ManagementDashboardTileDetails> tiles)
Array of dashboard tiles.UpdateManagementDashboardDetails.Builder
type(String type)
Type of dashboard.UpdateManagementDashboardDetails.Builder
uiConfig(Object uiConfig)
JSON that contains user interface options.
-
-
-
Method Detail
-
providerId
public UpdateManagementDashboardDetails.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 UpdateManagementDashboardDetails.Builder providerName(String providerName)
The user friendly name of the service (for example, Logging Analytics) that owns the dashboard.- Parameters:
providerName
- the value to set- Returns:
- this builder
-
providerVersion
public UpdateManagementDashboardDetails.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.
- Parameters:
providerVersion
- the value to set- Returns:
- this builder
-
tiles
public UpdateManagementDashboardDetails.Builder tiles(List<ManagementDashboardTileDetails> tiles)
Array of dashboard tiles.- Parameters:
tiles
- the value to set- Returns:
- this builder
-
displayName
public UpdateManagementDashboardDetails.Builder displayName(String displayName)
Display name of the dashboard.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public UpdateManagementDashboardDetails.Builder description(String description)
Description of the dashboard.- Parameters:
description
- the value to set- Returns:
- this builder
-
compartmentId
public UpdateManagementDashboardDetails.Builder compartmentId(String compartmentId)
OCID of the compartment in which the dashboard resides.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
isOobDashboard
public UpdateManagementDashboardDetails.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 UpdateManagementDashboardDetails.Builder isShowInHome(Boolean isShowInHome)
Determines whether the dashboard will be displayed in Dashboard Home.- Parameters:
isShowInHome
- the value to set- Returns:
- this builder
-
metadataVersion
public UpdateManagementDashboardDetails.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 UpdateManagementDashboardDetails.Builder isShowDescription(Boolean isShowDescription)
Determines whether the description of the dashboard is displayed.- Parameters:
isShowDescription
- the value to set- Returns:
- this builder
-
screenImage
public UpdateManagementDashboardDetails.Builder screenImage(String screenImage)
Screen image of the dashboard.- Parameters:
screenImage
- the value to set- Returns:
- this builder
-
nls
public UpdateManagementDashboardDetails.Builder nls(Object nls)
JSON that contains internationalization options.- Parameters:
nls
- the value to set- Returns:
- this builder
-
uiConfig
public UpdateManagementDashboardDetails.Builder uiConfig(Object uiConfig)
JSON that contains user interface options.- Parameters:
uiConfig
- the value to set- Returns:
- this builder
-
dataConfig
public UpdateManagementDashboardDetails.Builder dataConfig(List<Object> dataConfig)
Array of JSON that contain data source options.- Parameters:
dataConfig
- the value to set- Returns:
- this builder
-
type
public UpdateManagementDashboardDetails.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 UpdateManagementDashboardDetails.Builder isFavorite(Boolean isFavorite)
Determines whether the dashboard is set as favorite.- Parameters:
isFavorite
- the value to set- Returns:
- this builder
-
parametersConfig
public UpdateManagementDashboardDetails.Builder parametersConfig(List<Object> parametersConfig)
Defines parameters for the dashboard.- Parameters:
parametersConfig
- the value to set- Returns:
- this builder
-
featuresConfig
public UpdateManagementDashboardDetails.Builder featuresConfig(Object featuresConfig)
Contains configuration for enabling features.- Parameters:
featuresConfig
- the value to set- Returns:
- this builder
-
drilldownConfig
public UpdateManagementDashboardDetails.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
-
freeformTags
public UpdateManagementDashboardDetails.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 UpdateManagementDashboardDetails.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
-
build
public UpdateManagementDashboardDetails build()
-
copy
public UpdateManagementDashboardDetails.Builder copy(UpdateManagementDashboardDetails model)
-
-