Class ManagedDatabaseSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.ManagedDatabaseSummary.Builder
-
- Enclosing class:
- ManagedDatabaseSummary
public static class ManagedDatabaseSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedDatabaseSummarybuild()ManagedDatabaseSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment.ManagedDatabaseSummary.Buildercopy(ManagedDatabaseSummary model)ManagedDatabaseSummary.BuilderdatabasePlatformName(String databasePlatformName)The operating system of database.ManagedDatabaseSummary.BuilderdatabaseSubType(DatabaseSubType databaseSubType)The subtype of the Oracle Database.ManagedDatabaseSummary.BuilderdatabaseType(DatabaseType databaseType)The type of Oracle Database installation.ManagedDatabaseSummary.BuilderdatabaseVersion(String databaseVersion)The Oracle Database version.ManagedDatabaseSummary.BuilderdbmgmtFeatureConfigs(List<DatabaseFeatureConfiguration> dbmgmtFeatureConfigs)The list of feature configurationsManagedDatabaseSummary.BuilderdbSystemId(String dbSystemId)The OCID of the DB system that this Managed Database is part of.ManagedDatabaseSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ManagedDatabaseSummary.BuilderdeploymentType(DeploymentType deploymentType)The infrastructure used to deploy the Oracle Database.ManagedDatabaseSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ManagedDatabaseSummary.Builderid(String id)The OCID of the Managed Database.ManagedDatabaseSummary.BuilderisCluster(Boolean isCluster)Indicates whether the Oracle Database is part of a cluster.ManagedDatabaseSummary.BuildermanagementOption(ManagementOption managementOption)The management option used when enabling Database Management.ManagedDatabaseSummary.Buildername(String name)The name of the Managed Database.ManagedDatabaseSummary.BuilderparentContainerId(String parentContainerId)The OCID of the parent Container Database if the Managed Database is a Pluggable Database.ManagedDatabaseSummary.BuilderstorageSystemId(String storageSystemId)The OCID of the storage DB system.ManagedDatabaseSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.ManagedDatabaseSummary.BuildertimeCreated(Date timeCreated)The date and time the Managed Database was created.ManagedDatabaseSummary.BuilderworkloadType(WorkloadType workloadType)The workload type of the Autonomous Database.
-
-
-
Method Detail
-
id
public ManagedDatabaseSummary.Builder id(String id)
The OCID of the Managed Database.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public ManagedDatabaseSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
name
public ManagedDatabaseSummary.Builder name(String name)
The name of the Managed Database.- Parameters:
name- the value to set- Returns:
- this builder
-
databaseType
public ManagedDatabaseSummary.Builder databaseType(DatabaseType databaseType)
The type of Oracle Database installation.- Parameters:
databaseType- the value to set- Returns:
- this builder
-
databaseSubType
public ManagedDatabaseSummary.Builder databaseSubType(DatabaseSubType databaseSubType)
The subtype of the Oracle Database.Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database.
- Parameters:
databaseSubType- the value to set- Returns:
- this builder
-
deploymentType
public ManagedDatabaseSummary.Builder deploymentType(DeploymentType deploymentType)
The infrastructure used to deploy the Oracle Database.- Parameters:
deploymentType- the value to set- Returns:
- this builder
-
managementOption
public ManagedDatabaseSummary.Builder managementOption(ManagementOption managementOption)
The management option used when enabling Database Management.- Parameters:
managementOption- the value to set- Returns:
- this builder
-
workloadType
public ManagedDatabaseSummary.Builder workloadType(WorkloadType workloadType)
The workload type of the Autonomous Database.- Parameters:
workloadType- the value to set- Returns:
- this builder
-
isCluster
public ManagedDatabaseSummary.Builder isCluster(Boolean isCluster)
Indicates whether the Oracle Database is part of a cluster.- Parameters:
isCluster- the value to set- Returns:
- this builder
-
parentContainerId
public ManagedDatabaseSummary.Builder parentContainerId(String parentContainerId)
The OCID of the parent Container Database if the Managed Database is a Pluggable Database.- Parameters:
parentContainerId- the value to set- Returns:
- this builder
-
dbSystemId
public ManagedDatabaseSummary.Builder dbSystemId(String dbSystemId)
The OCID of the DB system that this Managed Database is part of.- Parameters:
dbSystemId- the value to set- Returns:
- this builder
-
storageSystemId
public ManagedDatabaseSummary.Builder storageSystemId(String storageSystemId)
The OCID of the storage DB system.- Parameters:
storageSystemId- the value to set- Returns:
- this builder
-
timeCreated
public ManagedDatabaseSummary.Builder timeCreated(Date timeCreated)
The date and time the Managed Database was created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
databaseVersion
public ManagedDatabaseSummary.Builder databaseVersion(String databaseVersion)
The Oracle Database version.- Parameters:
databaseVersion- the value to set- Returns:
- this builder
-
freeformTags
public ManagedDatabaseSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public ManagedDatabaseSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public ManagedDatabaseSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
dbmgmtFeatureConfigs
public ManagedDatabaseSummary.Builder dbmgmtFeatureConfigs(List<DatabaseFeatureConfiguration> dbmgmtFeatureConfigs)
The list of feature configurations- Parameters:
dbmgmtFeatureConfigs- the value to set- Returns:
- this builder
-
databasePlatformName
public ManagedDatabaseSummary.Builder databasePlatformName(String databasePlatformName)
The operating system of database.- Parameters:
databasePlatformName- the value to set- Returns:
- this builder
-
build
public ManagedDatabaseSummary build()
-
copy
public ManagedDatabaseSummary.Builder copy(ManagedDatabaseSummary model)
-
-