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