public static class TargetDatabase.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TargetDatabase.Builder |
associatedResourceIds(List<String> associatedResourceIds)
The OCIDs of associated resources like database, Data Safe private endpoint etc.
|
TargetDatabase |
build() |
TargetDatabase.Builder |
compartmentId(String compartmentId)
The OCID of the compartment which contains the Data Safe target database.
|
TargetDatabase.Builder |
connectionOption(ConnectionOption connectionOption) |
TargetDatabase.Builder |
copy(TargetDatabase model) |
TargetDatabase.Builder |
credentials(Credentials credentials) |
TargetDatabase.Builder |
databaseDetails(DatabaseDetails databaseDetails) |
TargetDatabase.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
TargetDatabase.Builder |
description(String description)
The description of the target database in Data Safe.
|
TargetDatabase.Builder |
displayName(String displayName)
The display name of the target database in Data Safe.
|
TargetDatabase.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
TargetDatabase.Builder |
id(String id)
The OCID of the Data Safe target database.
|
TargetDatabase.Builder |
lifecycleDetails(String lifecycleDetails)
Details about the current state of the target database in Data Safe.
|
TargetDatabase.Builder |
lifecycleState(TargetDatabaseLifecycleState lifecycleState)
The current state of the target database in Data Safe.
|
TargetDatabase.Builder |
peerTargetDatabases(List<PeerTargetDatabase> peerTargetDatabases)
The OCIDs of associated resources like database, Data Safe private endpoint, etc.
|
TargetDatabase.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
TargetDatabase.Builder |
timeCreated(Date timeCreated)
The date and time of the target database registration and creation in Data Safe.
|
TargetDatabase.Builder |
timeUpdated(Date timeUpdated)
The date and time of the target database update in Data Safe.
|
TargetDatabase.Builder |
tlsConfig(TlsConfig tlsConfig) |
public TargetDatabase.Builder compartmentId(String compartmentId)
The OCID of the compartment which contains the Data Safe target database.
compartmentId
- the value to setpublic TargetDatabase.Builder id(String id)
The OCID of the Data Safe target database.
id
- the value to setpublic TargetDatabase.Builder displayName(String displayName)
The display name of the target database in Data Safe.
displayName
- the value to setpublic TargetDatabase.Builder description(String description)
The description of the target database in Data Safe.
description
- the value to setpublic TargetDatabase.Builder databaseDetails(DatabaseDetails databaseDetails)
public TargetDatabase.Builder credentials(Credentials credentials)
public TargetDatabase.Builder tlsConfig(TlsConfig tlsConfig)
public TargetDatabase.Builder connectionOption(ConnectionOption connectionOption)
public TargetDatabase.Builder associatedResourceIds(List<String> associatedResourceIds)
The OCIDs of associated resources like database, Data Safe private endpoint etc.
associatedResourceIds
- the value to setpublic TargetDatabase.Builder lifecycleState(TargetDatabaseLifecycleState lifecycleState)
The current state of the target database in Data Safe.
lifecycleState
- the value to setpublic TargetDatabase.Builder lifecycleDetails(String lifecycleDetails)
Details about the current state of the target database in Data Safe.
lifecycleDetails
- the value to setpublic TargetDatabase.Builder timeCreated(Date timeCreated)
The date and time of the target database registration and creation in Data Safe.
timeCreated
- the value to setpublic TargetDatabase.Builder timeUpdated(Date timeUpdated)
The date and time of the target database update in Data Safe.
timeUpdated
- the value to setpublic TargetDatabase.Builder peerTargetDatabases(List<PeerTargetDatabase> peerTargetDatabases)
The OCIDs of associated resources like database, Data Safe private endpoint, etc.
peerTargetDatabases
- the value to setpublic TargetDatabase.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 TargetDatabase.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 TargetDatabase.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. Example: {"orcl-cloud": {"free-tier-retained":
"true"}}
systemTags
- the value to setpublic TargetDatabase build()
public TargetDatabase.Builder copy(TargetDatabase model)
Copyright © 2016–2024. All rights reserved.