Package com.oracle.bmc.datasafe.model
Class TargetDatabaseSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.datasafe.model.TargetDatabaseSummary.Builder
 
- 
- Enclosing class:
- TargetDatabaseSummary
 
 public static class TargetDatabaseSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TargetDatabaseSummary.BuilderassociatedResourceIds(List<String> associatedResourceIds)The OCIDs of associated resources like database, Data Safe private endpoint etc.TargetDatabaseSummarybuild()TargetDatabaseSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the Data Safe target database.TargetDatabaseSummary.Buildercopy(TargetDatabaseSummary model)TargetDatabaseSummary.BuilderdatabaseType(DatabaseType databaseType)The database type.TargetDatabaseSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.TargetDatabaseSummary.Builderdescription(String description)The description of the target database in Data Safe.TargetDatabaseSummary.BuilderdisplayName(String displayName)The display name of the target database in Data Safe.TargetDatabaseSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.TargetDatabaseSummary.Builderid(String id)The OCID of the Data Safe target database.TargetDatabaseSummary.BuilderinfrastructureType(InfrastructureType infrastructureType)The infrastructure type the database is running on.TargetDatabaseSummary.BuilderlifecycleDetails(String lifecycleDetails)Details about the current state of the target database in Data Safe.TargetDatabaseSummary.BuilderlifecycleState(TargetDatabaseLifecycleState lifecycleState)The current state of the target database in Data Safe.TargetDatabaseSummary.BuildertimeCreated(Date timeCreated)The date and time the database was registered in Data Safe and created as a target database in Data Safe.
 
- 
- 
- 
Method Detail- 
compartmentIdpublic TargetDatabaseSummary.Builder compartmentId(String compartmentId) The OCID of the compartment that contains the Data Safe target database.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
idpublic TargetDatabaseSummary.Builder id(String id) The OCID of the Data Safe target database.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic TargetDatabaseSummary.Builder displayName(String displayName) The display name of the target database in Data Safe.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic TargetDatabaseSummary.Builder description(String description) The description of the target database in Data Safe.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
infrastructureTypepublic TargetDatabaseSummary.Builder infrastructureType(InfrastructureType infrastructureType) The infrastructure type the database is running on.- Parameters:
- infrastructureType- the value to set
- Returns:
- this builder
 
 - 
databaseTypepublic TargetDatabaseSummary.Builder databaseType(DatabaseType databaseType) The database type.- Parameters:
- databaseType- the value to set
- Returns:
- this builder
 
 - 
associatedResourceIdspublic TargetDatabaseSummary.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 TargetDatabaseSummary.Builder lifecycleState(TargetDatabaseLifecycleState lifecycleState) The current state of the target database in Data Safe.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic TargetDatabaseSummary.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 TargetDatabaseSummary.Builder timeCreated(Date timeCreated) The date and time the database was registered in Data Safe and created as a target database in Data Safe.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic TargetDatabaseSummary.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 TargetDatabaseSummary.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
 
 - 
buildpublic TargetDatabaseSummary build() 
 - 
copypublic TargetDatabaseSummary.Builder copy(TargetDatabaseSummary model) 
 
- 
 
-