public static class ManagementDashboard.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ManagementDashboard |
build() |
ManagementDashboard.Builder |
compartmentId(String compartmentId)
OCID of the compartment in which the dashboard resides.
|
ManagementDashboard.Builder |
copy(ManagementDashboard model) |
ManagementDashboard.Builder |
createdBy(String createdBy)
User who created the dashboard.
|
ManagementDashboard.Builder |
dashboardId(String dashboardId)
ID of the dashboard.
|
ManagementDashboard.Builder |
dataConfig(List<Object> dataConfig)
Array of JSON that contain data source options.
|
ManagementDashboard.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ManagementDashboard.Builder |
description(String description)
Description of the dashboard.
|
ManagementDashboard.Builder |
displayName(String displayName)
Display name of the dashboard.
|
ManagementDashboard.Builder |
drilldownConfig(List<Object> drilldownConfig)
Drill-down configuration to define the destination of a drill-down action.
|
ManagementDashboard.Builder |
featuresConfig(Object featuresConfig)
Contains configuration for enabling features.
|
ManagementDashboard.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
ManagementDashboard.Builder |
id(String id)
ID of the dashboard.
|
ManagementDashboard.Builder |
isFavorite(Boolean isFavorite)
Determines whether the dashboard is set as favorite.
|
ManagementDashboard.Builder |
isOobDashboard(Boolean isOobDashboard)
Determines whether the dashboard is an Out-of-the-Box (OOB) dashboard.
|
ManagementDashboard.Builder |
isShowDescription(Boolean isShowDescription)
Determines whether the description of the dashboard is displayed.
|
ManagementDashboard.Builder |
isShowInHome(Boolean isShowInHome)
Determines whether the dashboard will be displayed in Dashboard Home.
|
ManagementDashboard.Builder |
lifecycleState(LifecycleStates lifecycleState)
State of dashboard.
|
ManagementDashboard.Builder |
metadataVersion(String metadataVersion)
The version of the metadata defined in the API.
|
ManagementDashboard.Builder |
nls(Object nls)
JSON that contains internationalization options.
|
ManagementDashboard.Builder |
parametersConfig(List<Object> parametersConfig)
Defines parameters for the dashboard.
|
ManagementDashboard.Builder |
providerId(String providerId)
ID of the service (for example, log-analytics) that owns the dashboard.
|
ManagementDashboard.Builder |
providerName(String providerName)
Name of the service (for example, Logging Analytics) that owns the dashboard.
|
ManagementDashboard.Builder |
providerVersion(String providerVersion)
Version of the service that owns the dashboard.
|
ManagementDashboard.Builder |
savedSearches(List<ManagementSavedSearch> savedSearches)
Array of saved searches in the dashboard.
|
ManagementDashboard.Builder |
screenImage(String screenImage)
Screen image of the dashboard.
|
ManagementDashboard.Builder |
tiles(List<ManagementDashboardTileDetails> tiles)
Array of dashboard tiles.
|
ManagementDashboard.Builder |
timeCreated(Date timeCreated)
Date and time the dashboard was created.
|
ManagementDashboard.Builder |
timeUpdated(Date timeUpdated)
Date and time the dashboard was updated.
|
ManagementDashboard.Builder |
type(String type)
Type of dashboard.
|
ManagementDashboard.Builder |
uiConfig(Object uiConfig)
JSON that contains user interface options.
|
ManagementDashboard.Builder |
updatedBy(String updatedBy)
User who updated the dashboard.
|
public ManagementDashboard.Builder dashboardId(String dashboardId)
ID of the dashboard. Same as id.
dashboardId
- the value to setpublic ManagementDashboard.Builder id(String id)
ID of the dashboard. Same as dashboardId.
id
- the value to setpublic ManagementDashboard.Builder providerId(String providerId)
ID of the service (for example, log-analytics) that owns the dashboard. Each service has a unique ID.
providerId
- the value to setpublic ManagementDashboard.Builder providerName(String providerName)
Name of the service (for example, Logging Analytics) that owns the dashboard.
providerName
- the value to setpublic ManagementDashboard.Builder providerVersion(String providerVersion)
Version of the service that owns the dashboard.
providerVersion
- the value to setpublic ManagementDashboard.Builder tiles(List<ManagementDashboardTileDetails> tiles)
Array of dashboard tiles.
tiles
- the value to setpublic ManagementDashboard.Builder displayName(String displayName)
Display name of the dashboard.
displayName
- the value to setpublic ManagementDashboard.Builder description(String description)
Description of the dashboard.
description
- the value to setpublic ManagementDashboard.Builder compartmentId(String compartmentId)
OCID of the compartment in which the dashboard resides.
compartmentId
- the value to setpublic 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.
isOobDashboard
- the value to setpublic ManagementDashboard.Builder isShowInHome(Boolean isShowInHome)
Determines whether the dashboard will be displayed in Dashboard Home.
isShowInHome
- the value to setpublic ManagementDashboard.Builder createdBy(String createdBy)
User who created the dashboard.
createdBy
- the value to setpublic ManagementDashboard.Builder timeCreated(Date timeCreated)
Date and time the dashboard was created.
timeCreated
- the value to setpublic ManagementDashboard.Builder updatedBy(String updatedBy)
User who updated the dashboard.
updatedBy
- the value to setpublic ManagementDashboard.Builder timeUpdated(Date timeUpdated)
Date and time the dashboard was updated.
timeUpdated
- the value to setpublic 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.
metadataVersion
- the value to setpublic ManagementDashboard.Builder isShowDescription(Boolean isShowDescription)
Determines whether the description of the dashboard is displayed.
isShowDescription
- the value to setpublic ManagementDashboard.Builder screenImage(String screenImage)
Screen image of the dashboard.
screenImage
- the value to setpublic ManagementDashboard.Builder nls(Object nls)
JSON that contains internationalization options.
nls
- the value to setpublic ManagementDashboard.Builder uiConfig(Object uiConfig)
JSON that contains user interface options.
uiConfig
- the value to setpublic ManagementDashboard.Builder dataConfig(List<Object> dataConfig)
Array of JSON that contain data source options.
dataConfig
- the value to setpublic ManagementDashboard.Builder type(String type)
Type of dashboard. NORMAL denotes a single dashboard and SET denotes a dashboard set.
type
- the value to setpublic ManagementDashboard.Builder isFavorite(Boolean isFavorite)
Determines whether the dashboard is set as favorite.
isFavorite
- the value to setpublic ManagementDashboard.Builder savedSearches(List<ManagementSavedSearch> savedSearches)
Array of saved searches in the dashboard.
savedSearches
- the value to setpublic ManagementDashboard.Builder lifecycleState(LifecycleStates lifecycleState)
State of dashboard.
lifecycleState
- the value to setpublic ManagementDashboard.Builder parametersConfig(List<Object> parametersConfig)
Defines parameters for the dashboard.
parametersConfig
- the value to setpublic ManagementDashboard.Builder drilldownConfig(List<Object> drilldownConfig)
Drill-down configuration to define the destination of a drill-down action.
drilldownConfig
- the value to setpublic ManagementDashboard.Builder featuresConfig(Object featuresConfig)
Contains configuration for enabling features.
featuresConfig
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic ManagementDashboard build()
public ManagementDashboard.Builder copy(ManagementDashboard model)
Copyright © 2016–2024. All rights reserved.