Class ExternalDbHome.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.ExternalDbHome.Builder
-
- Enclosing class:
- ExternalDbHome
public static class ExternalDbHome.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalDbHome.BuilderadditionalDetails(Map<String,String> additionalDetails)The additional details of the DB home defined in {“key”: “value”} format.ExternalDbHomebuild()ExternalDbHome.BuildercompartmentId(String compartmentId)The OCID of the compartment.ExternalDbHome.BuildercomponentName(String componentName)The name of the external DB home.ExternalDbHome.Buildercopy(ExternalDbHome model)ExternalDbHome.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ExternalDbHome.BuilderdisplayName(String displayName)The user-friendly name for the external DB home.ExternalDbHome.BuilderexternalDbSystemId(String externalDbSystemId)The OCID of the external DB system that the DB home is a part of.ExternalDbHome.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ExternalDbHome.BuilderhomeDirectory(String homeDirectory)The location of the DB home.ExternalDbHome.Builderid(String id)The OCID of the external DB home.ExternalDbHome.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycle state.ExternalDbHome.BuilderlifecycleState(ExternalDbHome.LifecycleState lifecycleState)The current lifecycle state of the external DB home.ExternalDbHome.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.ExternalDbHome.BuildertimeCreated(Date timeCreated)The date and time the external DB home was created.ExternalDbHome.BuildertimeUpdated(Date timeUpdated)The date and time the external DB home was last updated.
-
-
-
Method Detail
-
id
public ExternalDbHome.Builder id(String id)
The OCID of the external DB home.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public ExternalDbHome.Builder displayName(String displayName)
The user-friendly name for the external DB home.The name does not have to be unique.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
componentName
public ExternalDbHome.Builder componentName(String componentName)
The name of the external DB home.- Parameters:
componentName- the value to set- Returns:
- this builder
-
compartmentId
public ExternalDbHome.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
externalDbSystemId
public ExternalDbHome.Builder externalDbSystemId(String externalDbSystemId)
The OCID of the external DB system that the DB home is a part of.- Parameters:
externalDbSystemId- the value to set- Returns:
- this builder
-
homeDirectory
public ExternalDbHome.Builder homeDirectory(String homeDirectory)
The location of the DB home.- Parameters:
homeDirectory- the value to set- Returns:
- this builder
-
additionalDetails
public ExternalDbHome.Builder additionalDetails(Map<String,String> additionalDetails)
The additional details of the DB home defined in {“key”: “value”} format.Example: {“bar-key”: “value”}
- Parameters:
additionalDetails- the value to set- Returns:
- this builder
-
lifecycleState
public ExternalDbHome.Builder lifecycleState(ExternalDbHome.LifecycleState lifecycleState)
The current lifecycle state of the external DB home.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public ExternalDbHome.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
timeCreated
public ExternalDbHome.Builder timeCreated(Date timeCreated)
The date and time the external DB home was created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public ExternalDbHome.Builder timeUpdated(Date timeUpdated)
The date and time the external DB home was last updated.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
freeformTags
public ExternalDbHome.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 ExternalDbHome.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 ExternalDbHome.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 ExternalDbHome build()
-
copy
public ExternalDbHome.Builder copy(ExternalDbHome model)
-
-