public static class ExternalDbSystem.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ExternalDbSystem |
build() |
ExternalDbSystem.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment.
|
ExternalDbSystem.Builder |
copy(ExternalDbSystem model) |
ExternalDbSystem.Builder |
databaseManagementConfig(ExternalDbSystemDatabaseManagementConfigDetails databaseManagementConfig) |
ExternalDbSystem.Builder |
dbSystemDiscoveryId(String dbSystemDiscoveryId)
The OCID of the
DB system discovery.
|
ExternalDbSystem.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ExternalDbSystem.Builder |
discoveryAgentId(String discoveryAgentId)
The OCID of the
management agent used during the discovery of the DB system.
|
ExternalDbSystem.Builder |
displayName(String displayName)
The user-friendly name for the DB system.
|
ExternalDbSystem.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
ExternalDbSystem.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.
|
ExternalDbSystem.Builder |
id(String id)
The OCID of the
external DB system.
|
ExternalDbSystem.Builder |
isCluster(Boolean isCluster)
Indicates whether the DB system is a cluster DB system or not.
|
ExternalDbSystem.Builder |
lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
|
ExternalDbSystem.Builder |
lifecycleState(ExternalDbSystem.LifecycleState lifecycleState)
The current lifecycle state of the external DB system resource.
|
ExternalDbSystem.Builder |
stackMonitoringConfig(ExternalDbSystemStackMonitoringConfigDetails stackMonitoringConfig) |
ExternalDbSystem.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
ExternalDbSystem.Builder |
timeCreated(Date timeCreated)
The date and time the external DB system was created.
|
ExternalDbSystem.Builder |
timeUpdated(Date timeUpdated)
The date and time the external DB system was last updated.
|
public ExternalDbSystem.Builder id(String id)
The OCID of the external DB system.
id
- the value to setpublic ExternalDbSystem.Builder displayName(String displayName)
The user-friendly name for the DB system. The name does not have to be unique.
displayName
- the value to setpublic ExternalDbSystem.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic ExternalDbSystem.Builder dbSystemDiscoveryId(String dbSystemDiscoveryId)
The OCID of the DB system discovery.
dbSystemDiscoveryId
- the value to setpublic ExternalDbSystem.Builder discoveryAgentId(String discoveryAgentId)
The OCID of the management agent used during the discovery of the DB system.
discoveryAgentId
- the value to setpublic ExternalDbSystem.Builder isCluster(Boolean isCluster)
Indicates whether the DB system is a cluster DB system or not.
isCluster
- the value to setpublic ExternalDbSystem.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.
homeDirectory
- the value to setpublic ExternalDbSystem.Builder databaseManagementConfig(ExternalDbSystemDatabaseManagementConfigDetails databaseManagementConfig)
public ExternalDbSystem.Builder stackMonitoringConfig(ExternalDbSystemStackMonitoringConfigDetails stackMonitoringConfig)
public ExternalDbSystem.Builder lifecycleState(ExternalDbSystem.LifecycleState lifecycleState)
The current lifecycle state of the external DB system resource.
lifecycleState
- the value to setpublic ExternalDbSystem.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
lifecycleDetails
- the value to setpublic ExternalDbSystem.Builder timeCreated(Date timeCreated)
The date and time the external DB system was created.
timeCreated
- the value to setpublic ExternalDbSystem.Builder timeUpdated(Date timeUpdated)
The date and time the external DB system was last updated.
timeUpdated
- the value to setpublic ExternalDbSystem.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"}
freeformTags
- the value to setpublic ExternalDbSystem.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"}}
definedTags
- the value to setpublic ExternalDbSystem.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"}}
systemTags
- the value to setpublic ExternalDbSystem build()
public ExternalDbSystem.Builder copy(ExternalDbSystem model)
Copyright © 2016–2024. All rights reserved.