Class CreateManagedDatabaseGroupDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.CreateManagedDatabaseGroupDetails.Builder
-
- Enclosing class:
- CreateManagedDatabaseGroupDetails
public static class CreateManagedDatabaseGroupDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateManagedDatabaseGroupDetailsbuild()CreateManagedDatabaseGroupDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment in which the Managed Database Group resides.CreateManagedDatabaseGroupDetails.Buildercopy(CreateManagedDatabaseGroupDetails model)CreateManagedDatabaseGroupDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateManagedDatabaseGroupDetails.Builderdescription(String description)The information specified by the user about the Managed Database Group.CreateManagedDatabaseGroupDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CreateManagedDatabaseGroupDetails.Buildername(String name)The name of the Managed Database Group.
-
-
-
Method Detail
-
name
public CreateManagedDatabaseGroupDetails.Builder name(String name)
The name of the Managed Database Group.Valid characters are uppercase or lowercase letters, numbers, and “_”. The name of the Managed Database Group cannot be modified. It must be unique in the compartment and must begin with an alphabetic character.
- Parameters:
name- the value to set- Returns:
- this builder
-
description
public CreateManagedDatabaseGroupDetails.Builder description(String description)
The information specified by the user about the Managed Database Group.- Parameters:
description- the value to set- Returns:
- this builder
-
compartmentId
public CreateManagedDatabaseGroupDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment in which the Managed Database Group resides.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
freeformTags
public CreateManagedDatabaseGroupDetails.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
-
definedTags
public CreateManagedDatabaseGroupDetails.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
-
build
public CreateManagedDatabaseGroupDetails build()
-
copy
public CreateManagedDatabaseGroupDetails.Builder copy(CreateManagedDatabaseGroupDetails model)
-
-