public static class CompartmentConfigSource.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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) |
public CompartmentConfigSource.Builder workingDirectory(String workingDirectory)
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.
compartmentId
- the value to setpublic 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.
region
- the value to setpublic 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.
servicesToDiscover
- the value to setpublic CompartmentConfigSource build()
public CompartmentConfigSource.Builder copy(CompartmentConfigSource model)
Copyright © 2016–2024. All rights reserved.