Class CompartmentConfigSource.Builder
- java.lang.Object
- 
- com.oracle.bmc.resourcemanager.model.CompartmentConfigSource.Builder
 
- 
- Enclosing class:
- CompartmentConfigSource
 
 public static class CompartmentConfigSource.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CompartmentConfigSourcebuild()CompartmentConfigSource.BuildercompartmentId(String compartmentId)The OCID of the compartment to use for creating the stack.CompartmentConfigSource.Buildercopy(CompartmentConfigSource model)CompartmentConfigSource.Builderregion(String region)The region to use for creating the stack.CompartmentConfigSource.BuilderservicesToDiscover(List<String> servicesToDiscover)Filter for services to use with Resource Discovery.CompartmentConfigSource.BuilderworkingDirectory(String workingDirectory)
 
- 
- 
- 
Method Detail- 
workingDirectorypublic CompartmentConfigSource.Builder workingDirectory(String workingDirectory) 
 - 
compartmentIdpublic CompartmentConfigSource.Builder compartmentId(String compartmentId) The OCID of the compartment to use for creating the stack.The new stack will include definitions for supported resource types in this compartment. - Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
regionpublic CompartmentConfigSource.Builder region(String region) The region to use for creating the stack.The new stack will include definitions for supported resource types in this region. - Parameters:
- region- the value to set
- Returns:
- this builder
 
 - 
servicesToDiscoverpublic CompartmentConfigSource.Builder servicesToDiscover(List<String> servicesToDiscover) Filter for services to use with Resource Discovery.For example, “database” limits resource discovery to resource types within the Database service. The specified services must be in scope of the given compartment OCID (tenancy level for root compartment, compartment level otherwise). If not specified, then all services at the scope of the given compartment OCID are used. - Parameters:
- servicesToDiscover- the value to set
- Returns:
- this builder
 
 - 
buildpublic CompartmentConfigSource build() 
 - 
copypublic CompartmentConfigSource.Builder copy(CompartmentConfigSource model) 
 
- 
 
-