Class CloudDbSystemSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.CloudDbSystemSummary.Builder
-
- Enclosing class:
- CloudDbSystemSummary
public static class CloudDbSystemSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudDbSystemSummary
build()
CloudDbSystemSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartment.CloudDbSystemSummary.Builder
copy(CloudDbSystemSummary model)
CloudDbSystemSummary.Builder
databaseManagementConfig(CloudDbSystemDatabaseManagementConfigDetails databaseManagementConfig)
CloudDbSystemSummary.Builder
dbaasParentInfrastructureId(String dbaasParentInfrastructureId)
The OCID of the parent cloud DB Infrastructure.CloudDbSystemSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.CloudDbSystemSummary.Builder
deploymentType(CloudDbSystemDeploymentType deploymentType)
The deployment type of cloud dbsystem.CloudDbSystemSummary.Builder
displayName(String displayName)
The user-friendly name for the DB system.CloudDbSystemSummary.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.CloudDbSystemSummary.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.CloudDbSystemSummary.Builder
id(String id)
The OCID of the cloud DB system.CloudDbSystemSummary.Builder
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.CloudDbSystemSummary.Builder
lifecycleState(CloudDbSystem.LifecycleState lifecycleState)
The current lifecycle state of the cloud DB system resource.CloudDbSystemSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.CloudDbSystemSummary.Builder
timeCreated(Date timeCreated)
The date and time the cloud DB system was created.CloudDbSystemSummary.Builder
timeUpdated(Date timeUpdated)
The date and time the cloud DB system was last updated.
-
-
-
Method Detail
-
id
public CloudDbSystemSummary.Builder id(String id)
The OCID of the cloud DB system.- Parameters:
id
- the value to set- Returns:
- this builder
-
dbaasParentInfrastructureId
public CloudDbSystemSummary.Builder dbaasParentInfrastructureId(String dbaasParentInfrastructureId)
The OCID of the parent cloud DB Infrastructure.For VM Dbsystems , it will be the DBSystem Id. For ExaCS and ExaCC, it will be the cloudVmClusterId and vmClusterId respectively.
- Parameters:
dbaasParentInfrastructureId
- the value to set- Returns:
- this builder
-
deploymentType
public CloudDbSystemSummary.Builder deploymentType(CloudDbSystemDeploymentType deploymentType)
The deployment type of cloud dbsystem.- Parameters:
deploymentType
- the value to set- Returns:
- this builder
-
displayName
public CloudDbSystemSummary.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 CloudDbSystemSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
homeDirectory
public CloudDbSystemSummary.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 CloudDbSystemSummary.Builder databaseManagementConfig(CloudDbSystemDatabaseManagementConfigDetails databaseManagementConfig)
-
lifecycleState
public CloudDbSystemSummary.Builder lifecycleState(CloudDbSystem.LifecycleState lifecycleState)
The current lifecycle state of the cloud DB system resource.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public CloudDbSystemSummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
timeCreated
public CloudDbSystemSummary.Builder timeCreated(Date timeCreated)
The date and time the cloud DB system was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public CloudDbSystemSummary.Builder timeUpdated(Date timeUpdated)
The date and time the cloud DB system was last updated.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
freeformTags
public CloudDbSystemSummary.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 CloudDbSystemSummary.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 CloudDbSystemSummary.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 CloudDbSystemSummary build()
-
copy
public CloudDbSystemSummary.Builder copy(CloudDbSystemSummary model)
-
-