Package com.oracle.bmc.datasafe.model
Class TargetDatabase.Builder
- java.lang.Object
- 
- com.oracle.bmc.datasafe.model.TargetDatabase.Builder
 
- 
- Enclosing class:
- TargetDatabase
 
 public static class TargetDatabase.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TargetDatabase.BuilderassociatedResourceIds(List<String> associatedResourceIds)The OCIDs of associated resources like database, Data Safe private endpoint etc.TargetDatabasebuild()TargetDatabase.BuildercompartmentId(String compartmentId)The OCID of the compartment which contains the Data Safe target database.TargetDatabase.BuilderconnectionOption(ConnectionOption connectionOption)TargetDatabase.Buildercopy(TargetDatabase model)TargetDatabase.Buildercredentials(Credentials credentials)TargetDatabase.BuilderdatabaseDetails(DatabaseDetails databaseDetails)TargetDatabase.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.TargetDatabase.Builderdescription(String description)The description of the target database in Data Safe.TargetDatabase.BuilderdisplayName(String displayName)The display name of the target database in Data Safe.TargetDatabase.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.TargetDatabase.Builderid(String id)The OCID of the Data Safe target database.TargetDatabase.BuilderlifecycleDetails(String lifecycleDetails)Details about the current state of the target database in Data Safe.TargetDatabase.BuilderlifecycleState(TargetDatabaseLifecycleState lifecycleState)The current state of the target database in Data Safe.TargetDatabase.BuilderpeerTargetDatabases(List<PeerTargetDatabase> peerTargetDatabases)The OCIDs of associated resources like database, Data Safe private endpoint, etc.TargetDatabase.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.TargetDatabase.BuildertimeCreated(Date timeCreated)The date and time of the target database registration and creation in Data Safe.TargetDatabase.BuildertimeUpdated(Date timeUpdated)The date and time of the target database update in Data Safe.TargetDatabase.BuildertlsConfig(TlsConfig tlsConfig)
 
- 
- 
- 
Method Detail- 
compartmentIdpublic TargetDatabase.Builder compartmentId(String compartmentId) The OCID of the compartment which contains the Data Safe target database.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
idpublic TargetDatabase.Builder id(String id) The OCID of the Data Safe target database.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic TargetDatabase.Builder displayName(String displayName) The display name of the target database in Data Safe.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic TargetDatabase.Builder description(String description) The description of the target database in Data Safe.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
databaseDetailspublic TargetDatabase.Builder databaseDetails(DatabaseDetails databaseDetails) 
 - 
credentialspublic TargetDatabase.Builder credentials(Credentials credentials) 
 - 
tlsConfigpublic TargetDatabase.Builder tlsConfig(TlsConfig tlsConfig) 
 - 
connectionOptionpublic TargetDatabase.Builder connectionOption(ConnectionOption connectionOption) 
 - 
associatedResourceIdspublic TargetDatabase.Builder associatedResourceIds(List<String> associatedResourceIds) The OCIDs of associated resources like database, Data Safe private endpoint etc.- Parameters:
- associatedResourceIds- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic TargetDatabase.Builder lifecycleState(TargetDatabaseLifecycleState lifecycleState) The current state of the target database in Data Safe.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic TargetDatabase.Builder lifecycleDetails(String lifecycleDetails) Details about the current state of the target database in Data Safe.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic TargetDatabase.Builder timeCreated(Date timeCreated) The date and time of the target database registration and creation in Data Safe.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic TargetDatabase.Builder timeUpdated(Date timeUpdated) The date and time of the target database update in Data Safe.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
peerTargetDatabasespublic TargetDatabase.Builder peerTargetDatabases(List<PeerTargetDatabase> peerTargetDatabases) The OCIDs of associated resources like database, Data Safe private endpoint, etc.- Parameters:
- peerTargetDatabases- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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"} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic 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”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic TargetDatabase build() 
 - 
copypublic TargetDatabase.Builder copy(TargetDatabase model) 
 
- 
 
-