Package com.oracle.bmc.datasafe.model
Class Compartments.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.Compartments.Builder
-
- Enclosing class:
- Compartments
public static class Compartments.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Compartments
build()
Compartments.Builder
copy(Compartments model)
Compartments.Builder
id(String id)
The OCID of the compartment for including target databases to the target database group.Compartments.Builder
isIncludeSubtree(Boolean isIncludeSubtree)
This indicates whether the target databases of sub-compartments should also be included in the target database group.
-
-
-
Method Detail
-
id
public Compartments.Builder id(String id)
The OCID of the compartment for including target databases to the target database group.All target databases in the compartment will be members of the target database group.
- Parameters:
id
- the value to set- Returns:
- this builder
-
isIncludeSubtree
public Compartments.Builder isIncludeSubtree(Boolean isIncludeSubtree)
This indicates whether the target databases of sub-compartments should also be included in the target database group.By default, this parameter is set to false.
- Parameters:
isIncludeSubtree
- the value to set- Returns:
- this builder
-
build
public Compartments build()
-
copy
public Compartments.Builder copy(Compartments model)
-
-