Class SandboxWarmPool.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeai.model.SandboxWarmPool.Builder
-
- Enclosing class:
- SandboxWarmPool
public static class SandboxWarmPool.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SandboxWarmPoolbuild()SandboxWarmPool.BuildercontainerImage(String containerImage)Digest-pinned customer image for CUSTOM; omitted for MANAGED.SandboxWarmPool.Buildercopy(SandboxWarmPool model)SandboxWarmPool.BuilderdesiredCapacity(Integer desiredCapacity)Requested idle target, not observed capacity.SandboxWarmPool.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current CP management operation or failure.SandboxWarmPool.BuilderlifecycleState(SandboxWarmPool.LifecycleState lifecycleState)CP management lifecycle.SandboxWarmPool.Buildername(String name)Unique immutable name within the Project.SandboxWarmPool.BuilderprojectId(String projectId)Owning Project OCID.SandboxWarmPool.BuilderruntimeStatus(SandboxWarmPoolRuntimeStatus runtimeStatus)SandboxWarmPool.Buildershape(SandboxWarmPool.Shape shape)Compute shape for each idle Sandbox member.SandboxWarmPool.BuildertimeCreated(Date timeCreated)Time the desired configuration was created.SandboxWarmPool.BuildertimeUpdated(Date timeUpdated)Time the configuration or management lifecycle last changed; not runtime readiness.SandboxWarmPool.Buildertype(SandboxWarmPool.Type type)MANAGED uses the service runtime; CUSTOM uses a customer image.
-
-
-
Method Detail
-
projectId
public SandboxWarmPool.Builder projectId(String projectId)
Owning Project OCID.- Parameters:
projectId- the value to set- Returns:
- this builder
-
name
public SandboxWarmPool.Builder name(String name)
Unique immutable name within the Project.- Parameters:
name- the value to set- Returns:
- this builder
-
type
public SandboxWarmPool.Builder type(SandboxWarmPool.Type type)
MANAGED uses the service runtime; CUSTOM uses a customer image.- Parameters:
type- the value to set- Returns:
- this builder
-
containerImage
public SandboxWarmPool.Builder containerImage(String containerImage)
Digest-pinned customer image for CUSTOM; omitted for MANAGED.- Parameters:
containerImage- the value to set- Returns:
- this builder
-
shape
public SandboxWarmPool.Builder shape(SandboxWarmPool.Shape shape)
Compute shape for each idle Sandbox member.- Parameters:
shape- the value to set- Returns:
- this builder
-
desiredCapacity
public SandboxWarmPool.Builder desiredCapacity(Integer desiredCapacity)
Requested idle target, not observed capacity.- Parameters:
desiredCapacity- the value to set- Returns:
- this builder
-
lifecycleState
public SandboxWarmPool.Builder lifecycleState(SandboxWarmPool.LifecycleState lifecycleState)
CP management lifecycle.ACTIVE means the template and requested pool configuration were applied and verified, independently of ready capacity. Scheduling, image-pull and runtime capacity failures do not by themselves change ACTIVE to FAILED.
- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public SandboxWarmPool.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current CP management operation or failure.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
timeCreated
public SandboxWarmPool.Builder timeCreated(Date timeCreated)
Time the desired configuration was created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public SandboxWarmPool.Builder timeUpdated(Date timeUpdated)
Time the configuration or management lifecycle last changed; not runtime readiness.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
runtimeStatus
public SandboxWarmPool.Builder runtimeStatus(SandboxWarmPoolRuntimeStatus runtimeStatus)
-
build
public SandboxWarmPool build()
-
copy
public SandboxWarmPool.Builder copy(SandboxWarmPool model)
-
-