Class ManagedDatabaseGroup.Builder
- java.lang.Object
- 
- com.oracle.bmc.databasemanagement.model.ManagedDatabaseGroup.Builder
 
- 
- Enclosing class:
- ManagedDatabaseGroup
 
 public static class ManagedDatabaseGroup.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedDatabaseGroupbuild()ManagedDatabaseGroup.BuildercompartmentId(String compartmentId)The OCID of the compartment.ManagedDatabaseGroup.Buildercopy(ManagedDatabaseGroup model)ManagedDatabaseGroup.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ManagedDatabaseGroup.Builderdescription(String description)The information specified by the user about the Managed Database Group.ManagedDatabaseGroup.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ManagedDatabaseGroup.Builderid(String id)The OCID of the Managed Database Group.ManagedDatabaseGroup.BuilderlifecycleState(LifecycleStates lifecycleState)The current lifecycle state of the Managed Database Group.ManagedDatabaseGroup.BuildermanagedDatabases(List<ChildDatabase> managedDatabases)A list of Managed Databases in the Managed Database Group.ManagedDatabaseGroup.Buildername(String name)The name of the Managed Database Group.ManagedDatabaseGroup.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.ManagedDatabaseGroup.BuildertimeCreated(Date timeCreated)The date and time the Managed Database Group was created.ManagedDatabaseGroup.BuildertimeUpdated(Date timeUpdated)The date and time the Managed Database Group was last updated.
 
- 
- 
- 
Method Detail- 
namepublic ManagedDatabaseGroup.Builder name(String name) The name of the Managed Database Group.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
idpublic ManagedDatabaseGroup.Builder id(String id) The OCID of the Managed Database Group.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic ManagedDatabaseGroup.Builder compartmentId(String compartmentId) The OCID of the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic ManagedDatabaseGroup.Builder description(String description) The information specified by the user about the Managed Database Group.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
managedDatabasespublic ManagedDatabaseGroup.Builder managedDatabases(List<ChildDatabase> managedDatabases) A list of Managed Databases in the Managed Database Group.- Parameters:
- managedDatabases- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic ManagedDatabaseGroup.Builder lifecycleState(LifecycleStates lifecycleState) The current lifecycle state of the Managed Database Group.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic ManagedDatabaseGroup.Builder timeCreated(Date timeCreated) The date and time the Managed Database Group was created.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic ManagedDatabaseGroup.Builder timeUpdated(Date timeUpdated) The date and time the Managed Database Group was last updated.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic ManagedDatabaseGroup.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 ManagedDatabaseGroup.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 ManagedDatabaseGroup.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
 
 - 
buildpublic ManagedDatabaseGroup build() 
 - 
copypublic ManagedDatabaseGroup.Builder copy(ManagedDatabaseGroup model) 
 
- 
 
-