Class DashboardSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.dashboardservice.model.DashboardSummary.Builder
-
- Enclosing class:
- DashboardSummary
public static class DashboardSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DashboardSummary
build()
DashboardSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment containing the dashboard.DashboardSummary.Builder
copy(DashboardSummary model)
DashboardSummary.Builder
dashboardGroupId(String dashboardGroupId)
The OCID of the dashboard group that the dashboard belongs to.DashboardSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.DashboardSummary.Builder
description(String description)
A short description of the dashboard.DashboardSummary.Builder
displayName(String displayName)
A user-friendly name for the dashboard.DashboardSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.DashboardSummary.Builder
id(String id)
The OCID of the dashboard resource.DashboardSummary.Builder
lifecycleState(Dashboard.LifecycleState lifecycleState)
The current state of the Dashboard.DashboardSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.DashboardSummary.Builder
timeCreated(Date timeCreated)
The date and time the dashboard was created, in the format defined by RFC3339.DashboardSummary.Builder
timeUpdated(Date timeUpdated)
The date and time the dashboard was updated, in the format defined by RFC3339.
-
-
-
Method Detail
-
id
public DashboardSummary.Builder id(String id)
The OCID of the dashboard resource.- Parameters:
id
- the value to set- Returns:
- this builder
-
dashboardGroupId
public DashboardSummary.Builder dashboardGroupId(String dashboardGroupId)
The OCID of the dashboard group that the dashboard belongs to.- Parameters:
dashboardGroupId
- the value to set- Returns:
- this builder
-
displayName
public DashboardSummary.Builder displayName(String displayName)
A user-friendly name for the dashboard.Does not have to be unique, and it can be changed. Avoid entering confidential information. Leading and trailing spaces and the following special characters are not allowed: <>()=/’"&\
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public DashboardSummary.Builder description(String description)
A short description of the dashboard.It can be changed. Avoid entering confidential information. The following special characters are not allowed: <>()=/’"&\
- Parameters:
description
- the value to set- Returns:
- this builder
-
compartmentId
public DashboardSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the dashboard.A dashboard is always in the same compartment as its dashboard group.
- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
timeCreated
public DashboardSummary.Builder timeCreated(Date timeCreated)
The date and time the dashboard was created, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public DashboardSummary.Builder timeUpdated(Date timeUpdated)
The date and time the dashboard was updated, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public DashboardSummary.Builder lifecycleState(Dashboard.LifecycleState lifecycleState)
The current state of the Dashboard.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
freeformTags
public DashboardSummary.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 DashboardSummary.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 DashboardSummary.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 DashboardSummary build()
-
copy
public DashboardSummary.Builder copy(DashboardSummary model)
-
-