Class CloudDbSystemDiscovery.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.CloudDbSystemDiscovery.Builder
-
- Enclosing class:
- CloudDbSystemDiscovery
public static class CloudDbSystemDiscovery.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudDbSystemDiscovery.BuilderagentId(String agentId)The OCID of the management agent used for the cloud DB system discovery.CloudDbSystemDiscoverybuild()CloudDbSystemDiscovery.BuildercompartmentId(String compartmentId)The OCID of the compartment.CloudDbSystemDiscovery.Buildercopy(CloudDbSystemDiscovery model)CloudDbSystemDiscovery.BuilderdbaasParentInfrastructureId(String dbaasParentInfrastructureId)The OCID of the parent cloud DB Infrastructure.CloudDbSystemDiscovery.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CloudDbSystemDiscovery.BuilderdeploymentType(CloudDbSystemDeploymentType deploymentType)The deployment type of cloud dbsystem.CloudDbSystemDiscovery.BuilderdiscoveredComponents(List<DiscoveredCloudDbSystemComponent> discoveredComponents)The list of DB system components that were found in the DB system discovery.CloudDbSystemDiscovery.BuilderdisplayName(String displayName)The user-friendly name for the DB system.CloudDbSystemDiscovery.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CloudDbSystemDiscovery.BuildergridHome(String gridHome)The directory in which Oracle Grid Infrastructure is installed.CloudDbSystemDiscovery.Builderid(String id)The OCID of the cloud DB system discovery.CloudDbSystemDiscovery.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycle state.CloudDbSystemDiscovery.BuilderlifecycleState(CloudDbSystemDiscovery.LifecycleState lifecycleState)The current lifecycle state of the cloud DB system discovery resource.CloudDbSystemDiscovery.BuilderresourceId(String resourceId)The OCID of the existing OCI resource matching the discovered DB system.CloudDbSystemDiscovery.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.CloudDbSystemDiscovery.BuildertimeCreated(Date timeCreated)The date and time the cloud DB system discovery was created.CloudDbSystemDiscovery.BuildertimeUpdated(Date timeUpdated)The date and time the cloud DB system discovery was last updated.
-
-
-
Method Detail
-
id
public CloudDbSystemDiscovery.Builder id(String id)
The OCID of the cloud DB system discovery.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public CloudDbSystemDiscovery.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 CloudDbSystemDiscovery.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
agentId
public CloudDbSystemDiscovery.Builder agentId(String agentId)
The OCID of the management agent used for the cloud DB system discovery.- Parameters:
agentId- the value to set- Returns:
- this builder
-
dbaasParentInfrastructureId
public CloudDbSystemDiscovery.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 CloudDbSystemDiscovery.Builder deploymentType(CloudDbSystemDeploymentType deploymentType)
The deployment type of cloud dbsystem.- Parameters:
deploymentType- the value to set- Returns:
- this builder
-
gridHome
public CloudDbSystemDiscovery.Builder gridHome(String gridHome)
The directory in which Oracle Grid Infrastructure is installed.- Parameters:
gridHome- the value to set- Returns:
- this builder
-
discoveredComponents
public CloudDbSystemDiscovery.Builder discoveredComponents(List<DiscoveredCloudDbSystemComponent> discoveredComponents)
The list of DB system components that were found in the DB system discovery.- Parameters:
discoveredComponents- the value to set- Returns:
- this builder
-
resourceId
public CloudDbSystemDiscovery.Builder resourceId(String resourceId)
The OCID of the existing OCI resource matching the discovered DB system.- Parameters:
resourceId- the value to set- Returns:
- this builder
-
lifecycleState
public CloudDbSystemDiscovery.Builder lifecycleState(CloudDbSystemDiscovery.LifecycleState lifecycleState)
The current lifecycle state of the cloud DB system discovery resource.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public CloudDbSystemDiscovery.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
timeCreated
public CloudDbSystemDiscovery.Builder timeCreated(Date timeCreated)
The date and time the cloud DB system discovery was created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public CloudDbSystemDiscovery.Builder timeUpdated(Date timeUpdated)
The date and time the cloud DB system discovery was last updated.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
freeformTags
public CloudDbSystemDiscovery.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 CloudDbSystemDiscovery.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 CloudDbSystemDiscovery.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 CloudDbSystemDiscovery build()
-
copy
public CloudDbSystemDiscovery.Builder copy(CloudDbSystemDiscovery model)
-
-