Package com.oracle.bmc.datasafe.model
Class Include.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.Include.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Include
build()
Include.Builder
compartments(List<Compartments> compartments)
List of compartment objects, each containing the OCID of the compartment and a boolean value that indicates whether the target databases in the compartments and sub-compartments should also be included in the target database group.Include.Builder
copy(Include model)
Include.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Include.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Include.Builder
targetDatabaseIds(List<String> targetDatabaseIds)
The list of target database OCIDs to be included in the target database group.
-
-
-
Method Detail
-
compartments
public Include.Builder compartments(List<Compartments> compartments)
List of compartment objects, each containing the OCID of the compartment and a boolean value that indicates whether the target databases in the compartments and sub-compartments should also be included in the target database group.- Parameters:
compartments
- the value to set- Returns:
- this builder
-
targetDatabaseIds
public Include.Builder targetDatabaseIds(List<String> targetDatabaseIds)
The list of target database OCIDs to be included in the target database group.- Parameters:
targetDatabaseIds
- the value to set- Returns:
- this builder
-
freeformTags
public Include.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 Include.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 Include build()
-
copy
public Include.Builder copy(Include model)
-
-