Class ManagementDashboardSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.managementdashboard.model.ManagementDashboardSummary.Builder
-
- Enclosing class:
- ManagementDashboardSummary
public static class ManagementDashboardSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagementDashboardSummary
build()
ManagementDashboardSummary.Builder
compartmentId(String compartmentId)
OCID of the compartment in which the dashboard resides.ManagementDashboardSummary.Builder
copy(ManagementDashboardSummary model)
ManagementDashboardSummary.Builder
createdBy(String createdBy)
User who created the dashboard.ManagementDashboardSummary.Builder
dashboardId(String dashboardId)
ID of the dashboard.ManagementDashboardSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ManagementDashboardSummary.Builder
description(String description)
Description of the dashboard.ManagementDashboardSummary.Builder
displayName(String displayName)
Display name of the dashboard.ManagementDashboardSummary.Builder
featuresConfig(Object featuresConfig)
Contains configuration for enabling features.ManagementDashboardSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.ManagementDashboardSummary.Builder
id(String id)
ID of the dashboard.ManagementDashboardSummary.Builder
isOobDashboard(Boolean isOobDashboard)
Determines whether the dashboard is an Out-of-the-Box (OOB) dashboard.ManagementDashboardSummary.Builder
lifecycleState(LifecycleStates lifecycleState)
Current lifecycle state of the dashboard.ManagementDashboardSummary.Builder
metadataVersion(String metadataVersion)
The version of the metadata defined in the API.ManagementDashboardSummary.Builder
nls(Object nls)
JSON that contains internationalization options.ManagementDashboardSummary.Builder
providerId(String providerId)
ID of the service (for example, log-analytics) that owns the dashboard.ManagementDashboardSummary.Builder
providerName(String providerName)
The user friendly name of the service (for example, Logging Analytics) that owns the dashboard.ManagementDashboardSummary.Builder
providerVersion(String providerVersion)
The version of the metadata of the provider.ManagementDashboardSummary.Builder
screenImage(String screenImage)
Screen image of the dashboard.ManagementDashboardSummary.Builder
timeCreated(Date timeCreated)
Date and time the dashboard was created.ManagementDashboardSummary.Builder
timeUpdated(Date timeUpdated)
Date and time the dashboard was updated.ManagementDashboardSummary.Builder
type(String type)
Type of dashboard.ManagementDashboardSummary.Builder
updatedBy(String updatedBy)
User who updated the dashboard.
-
-
-
Method Detail
-
dashboardId
public ManagementDashboardSummary.Builder dashboardId(String dashboardId)
ID of the dashboard.Same as id.
- Parameters:
dashboardId
- the value to set- Returns:
- this builder
-
id
public ManagementDashboardSummary.Builder id(String id)
ID of the dashboard.Same as dashboardId.
- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public ManagementDashboardSummary.Builder displayName(String displayName)
Display name of the dashboard.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public ManagementDashboardSummary.Builder description(String description)
Description of the dashboard.- Parameters:
description
- the value to set- Returns:
- this builder
-
compartmentId
public ManagementDashboardSummary.Builder compartmentId(String compartmentId)
OCID of the compartment in which the dashboard resides.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
providerId
public ManagementDashboardSummary.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 ManagementDashboardSummary.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 ManagementDashboardSummary.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
-
isOobDashboard
public ManagementDashboardSummary.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
-
createdBy
public ManagementDashboardSummary.Builder createdBy(String createdBy)
User who created the dashboard.- Parameters:
createdBy
- the value to set- Returns:
- this builder
-
timeCreated
public ManagementDashboardSummary.Builder timeCreated(Date timeCreated)
Date and time the dashboard was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
updatedBy
public ManagementDashboardSummary.Builder updatedBy(String updatedBy)
User who updated the dashboard.- Parameters:
updatedBy
- the value to set- Returns:
- this builder
-
timeUpdated
public ManagementDashboardSummary.Builder timeUpdated(Date timeUpdated)
Date and time the dashboard was updated.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
metadataVersion
public ManagementDashboardSummary.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
-
screenImage
public ManagementDashboardSummary.Builder screenImage(String screenImage)
Screen image of the dashboard.- Parameters:
screenImage
- the value to set- Returns:
- this builder
-
nls
public ManagementDashboardSummary.Builder nls(Object nls)
JSON that contains internationalization options.- Parameters:
nls
- the value to set- Returns:
- this builder
-
type
public ManagementDashboardSummary.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
-
featuresConfig
public ManagementDashboardSummary.Builder featuresConfig(Object featuresConfig)
Contains configuration for enabling features.- Parameters:
featuresConfig
- the value to set- Returns:
- this builder
-
lifecycleState
public ManagementDashboardSummary.Builder lifecycleState(LifecycleStates lifecycleState)
Current lifecycle state of the dashboard.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
freeformTags
public ManagementDashboardSummary.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 ManagementDashboardSummary.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 ManagementDashboardSummary build()
-
copy
public ManagementDashboardSummary.Builder copy(ManagementDashboardSummary model)
-
-