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