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