Class CloudDbHomeSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.CloudDbHomeSummary.Builder
-
- Enclosing class:
- CloudDbHomeSummary
public static class CloudDbHomeSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudDbHomeSummarybuild()CloudDbHomeSummary.BuildercloudDbSystemId(String cloudDbSystemId)The OCID of the cloud DB system that the DB home is a part of.CloudDbHomeSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment.CloudDbHomeSummary.BuildercomponentName(String componentName)The name of the cloud DB home.CloudDbHomeSummary.Buildercopy(CloudDbHomeSummary model)CloudDbHomeSummary.BuilderdbaasId(String dbaasId)The OCID of the cloud DB home in DBaas service.CloudDbHomeSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CloudDbHomeSummary.BuilderdisplayName(String displayName)The user-friendly name for the cloud DB home.CloudDbHomeSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CloudDbHomeSummary.BuilderhomeDirectory(String homeDirectory)The location of the DB home.CloudDbHomeSummary.Builderid(String id)The OCID of the cloud DB home.CloudDbHomeSummary.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycle state.CloudDbHomeSummary.BuilderlifecycleState(CloudDbHome.LifecycleState lifecycleState)The current lifecycle state of the cloud DB home.CloudDbHomeSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.CloudDbHomeSummary.BuildertimeCreated(Date timeCreated)The date and time the cloud DB home was created.CloudDbHomeSummary.BuildertimeUpdated(Date timeUpdated)The date and time the cloud DB home was last updated.
-
-
-
Method Detail
-
id
public CloudDbHomeSummary.Builder id(String id)
The OCID of the cloud DB home.- Parameters:
id- the value to set- Returns:
- this builder
-
dbaasId
public CloudDbHomeSummary.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 CloudDbHomeSummary.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 CloudDbHomeSummary.Builder componentName(String componentName)
The name of the cloud DB home.- Parameters:
componentName- the value to set- Returns:
- this builder
-
compartmentId
public CloudDbHomeSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
cloudDbSystemId
public CloudDbHomeSummary.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 CloudDbHomeSummary.Builder homeDirectory(String homeDirectory)
The location of the DB home.- Parameters:
homeDirectory- the value to set- Returns:
- this builder
-
lifecycleState
public CloudDbHomeSummary.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 CloudDbHomeSummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
timeCreated
public CloudDbHomeSummary.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 CloudDbHomeSummary.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 CloudDbHomeSummary.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 CloudDbHomeSummary.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 CloudDbHomeSummary.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 CloudDbHomeSummary build()
-
copy
public CloudDbHomeSummary.Builder copy(CloudDbHomeSummary model)
-
-