Class ExternalDbSystemSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.ExternalDbSystemSummary.Builder
-
- Enclosing class:
- ExternalDbSystemSummary
public static class ExternalDbSystemSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalDbSystemSummarybuild()ExternalDbSystemSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment.ExternalDbSystemSummary.Buildercopy(ExternalDbSystemSummary model)ExternalDbSystemSummary.BuilderdatabaseManagementConfig(ExternalDbSystemDatabaseManagementConfigDetails databaseManagementConfig)ExternalDbSystemSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ExternalDbSystemSummary.BuilderdisplayName(String displayName)The user-friendly name for the DB system.ExternalDbSystemSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ExternalDbSystemSummary.BuilderhomeDirectory(String homeDirectory)The Oracle Grid home directory in case of cluster-based DB system and Oracle home directory in case of single instance-based DB system.ExternalDbSystemSummary.Builderid(String id)The OCID of the external DB system.ExternalDbSystemSummary.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycle state.ExternalDbSystemSummary.BuilderlifecycleState(ExternalDbSystem.LifecycleState lifecycleState)The current lifecycle state of the external DB system resource.ExternalDbSystemSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.ExternalDbSystemSummary.BuildertimeCreated(Date timeCreated)The date and time the external DB system was created.ExternalDbSystemSummary.BuildertimeUpdated(Date timeUpdated)The date and time the external DB system was last updated.
-
-
-
Method Detail
-
id
public ExternalDbSystemSummary.Builder id(String id)
The OCID of the external DB system.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public ExternalDbSystemSummary.Builder displayName(String displayName)
The user-friendly name for the DB system.The name does not have to be unique.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
compartmentId
public ExternalDbSystemSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
homeDirectory
public ExternalDbSystemSummary.Builder homeDirectory(String homeDirectory)
The Oracle Grid home directory in case of cluster-based DB system and Oracle home directory in case of single instance-based DB system.- Parameters:
homeDirectory- the value to set- Returns:
- this builder
-
databaseManagementConfig
public ExternalDbSystemSummary.Builder databaseManagementConfig(ExternalDbSystemDatabaseManagementConfigDetails databaseManagementConfig)
-
lifecycleState
public ExternalDbSystemSummary.Builder lifecycleState(ExternalDbSystem.LifecycleState lifecycleState)
The current lifecycle state of the external DB system resource.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public ExternalDbSystemSummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
timeCreated
public ExternalDbSystemSummary.Builder timeCreated(Date timeCreated)
The date and time the external DB system was created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public ExternalDbSystemSummary.Builder timeUpdated(Date timeUpdated)
The date and time the external DB system was last updated.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
freeformTags
public ExternalDbSystemSummary.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 ExternalDbSystemSummary.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 ExternalDbSystemSummary.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
-
build
public ExternalDbSystemSummary build()
-
copy
public ExternalDbSystemSummary.Builder copy(ExternalDbSystemSummary model)
-
-