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 Includebuild()Include.Buildercompartments(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.Buildercopy(Include model)Include.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Include.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.Include.BuilderfreeformTagsIn(Map<String,Object> freeformTagsIn)Map of freeform tag filters.Include.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Map of system tag filters.Include.BuildertargetDatabaseIds(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
-
freeformTagsIn
public Include.Builder freeformTagsIn(Map<String,Object> freeformTagsIn)
Map of freeform tag filters.Each key maps to an array of strings. Target database matches the key if it’s tag value equals any of the values in the array.
- Parameters:
freeformTagsIn- the value to set- Returns:
- this builder
-
systemTags
public Include.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Map of system tag filters.Target database matches when for each specified namespace.key and the tag value equals any of the values in the array.
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public Include build()
-
copy
public Include.Builder copy(Include model)
-
-