Class CreateSandboxWarmPoolDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeai.model.CreateSandboxWarmPoolDetails.Builder
-
- Enclosing class:
- CreateSandboxWarmPoolDetails
public static class CreateSandboxWarmPoolDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateSandboxWarmPoolDetailsbuild()CreateSandboxWarmPoolDetails.BuildercontainerImage(String containerImage)Required for CUSTOM and must be omitted for MANAGED.CreateSandboxWarmPoolDetails.Buildercopy(CreateSandboxWarmPoolDetails model)CreateSandboxWarmPoolDetails.BuilderdesiredCapacity(Integer desiredCapacity)Desired number of idle members.CreateSandboxWarmPoolDetails.Buildername(String name)Unique immutable name within the Project.CreateSandboxWarmPoolDetails.Buildershape(CreateSandboxWarmPoolDetails.Shape shape)Compute shape for each idle Sandbox member.CreateSandboxWarmPoolDetails.Buildertype(CreateSandboxWarmPoolDetails.Type type)MANAGED uses the service-provided python-3.11 runtime.
-
-
-
Method Detail
-
name
public CreateSandboxWarmPoolDetails.Builder name(String name)
Unique immutable name within the Project.- Parameters:
name- the value to set- Returns:
- this builder
-
type
public CreateSandboxWarmPoolDetails.Builder type(CreateSandboxWarmPoolDetails.Type type)
MANAGED uses the service-provided python-3.11 runtime.CUSTOM uses a customer-provided containerImage. Both types support named pool creation.
- Parameters:
type- the value to set- Returns:
- this builder
-
containerImage
public CreateSandboxWarmPoolDetails.Builder containerImage(String containerImage)
Required for CUSTOM and must be omitted for MANAGED.A CUSTOM image must be a digest-pinned same-region OCIR reference, using sha256 with exactly 64 lowercase hexadecimal characters. The CP workflow prepares the template through the data plane, reusing current BYOC image and Project identity validation. Successful configuration does not guarantee image pull or runtime readiness.
- Parameters:
containerImage- the value to set- Returns:
- this builder
-
shape
public CreateSandboxWarmPoolDetails.Builder shape(CreateSandboxWarmPoolDetails.Shape shape)
Compute shape for each idle Sandbox member.- Parameters:
shape- the value to set- Returns:
- this builder
-
desiredCapacity
public CreateSandboxWarmPoolDetails.Builder desiredCapacity(Integer desiredCapacity)
Desired number of idle members.Zero pauses idle prewarming. Once the pool is ACTIVE, named-pool Sandbox creation can still cold-start from its available applied template when no eligible warm member is available. Existing customer Sandboxes continue. A positive target does not guarantee ready capacity. Existing service capacity validation still applies.
- Parameters:
desiredCapacity- the value to set- Returns:
- this builder
-
build
public CreateSandboxWarmPoolDetails build()
-
copy
public CreateSandboxWarmPoolDetails.Builder copy(CreateSandboxWarmPoolDetails model)
-
-