Class CompartmentConfigSource.Builder
- java.lang.Object
-
- com.oracle.bmc.resourcemanager.model.CompartmentConfigSource.Builder
-
- Enclosing class:
- CompartmentConfigSource
public static class CompartmentConfigSource.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompartmentConfigSource
build()
CompartmentConfigSource.Builder
compartmentId(String compartmentId)
The OCID of the compartment to use for creating the stack.CompartmentConfigSource.Builder
copy(CompartmentConfigSource model)
CompartmentConfigSource.Builder
region(String region)
The region to use for creating the stack.CompartmentConfigSource.Builder
servicesToDiscover(List<String> servicesToDiscover)
Filter for services to use with Resource Discovery.CompartmentConfigSource.Builder
workingDirectory(String workingDirectory)
-
-
-
Method Detail
-
workingDirectory
public CompartmentConfigSource.Builder workingDirectory(String workingDirectory)
-
compartmentId
public 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
-
region
public 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
-
servicesToDiscover
public 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
-
build
public CompartmentConfigSource build()
-
copy
public CompartmentConfigSource.Builder copy(CompartmentConfigSource model)
-
-