Class SandboxWarmPool
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.generativeai.model.SandboxWarmPool
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20231130") public final class SandboxWarmPool extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelCP-owned configuration and management lifecycle of a Project-owned Sandbox warm pool.Get can include best-effort runtime observations independently of lifecycle.
Note: Objects should always be created or deserialized using theSandboxWarmPool.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theSandboxWarmPool.Builder, which maintain a set of all explicitly set fields calledSandboxWarmPool.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSandboxWarmPool.Builderstatic classSandboxWarmPool.LifecycleStateCP management lifecycle.static classSandboxWarmPool.ShapeCompute shape for each idle Sandbox member.static classSandboxWarmPool.TypeMANAGED uses the service runtime; CUSTOM uses a customer image.
-
Constructor Summary
Constructors Constructor Description SandboxWarmPool(String projectId, String name, SandboxWarmPool.Type type, String containerImage, SandboxWarmPool.Shape shape, Integer desiredCapacity, SandboxWarmPool.LifecycleState lifecycleState, String lifecycleDetails, Date timeCreated, Date timeUpdated, SandboxWarmPoolRuntimeStatus runtimeStatus)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SandboxWarmPool.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetContainerImage()Digest-pinned customer image for CUSTOM; omitted for MANAGED.IntegergetDesiredCapacity()Requested idle target, not observed capacity.StringgetLifecycleDetails()Additional information about the current CP management operation or failure.SandboxWarmPool.LifecycleStategetLifecycleState()CP management lifecycle.StringgetName()Unique immutable name within the Project.StringgetProjectId()Owning Project OCID.SandboxWarmPoolRuntimeStatusgetRuntimeStatus()SandboxWarmPool.ShapegetShape()Compute shape for each idle Sandbox member.DategetTimeCreated()Time the desired configuration was created.DategetTimeUpdated()Time the configuration or management lifecycle last changed; not runtime readiness.SandboxWarmPool.TypegetType()MANAGED uses the service runtime; CUSTOM uses a customer image.inthashCode()SandboxWarmPool.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
SandboxWarmPool
@Deprecated @ConstructorProperties({"projectId","name","type","containerImage","shape","desiredCapacity","lifecycleState","lifecycleDetails","timeCreated","timeUpdated","runtimeStatus"}) public SandboxWarmPool(String projectId, String name, SandboxWarmPool.Type type, String containerImage, SandboxWarmPool.Shape shape, Integer desiredCapacity, SandboxWarmPool.LifecycleState lifecycleState, String lifecycleDetails, Date timeCreated, Date timeUpdated, SandboxWarmPoolRuntimeStatus runtimeStatus)
Deprecated.
-
-
Method Detail
-
builder
public static SandboxWarmPool.Builder builder()
Create a new builder.
-
toBuilder
public SandboxWarmPool.Builder toBuilder()
-
getProjectId
public String getProjectId()
Owning Project OCID.- Returns:
- the value
-
getName
public String getName()
Unique immutable name within the Project.- Returns:
- the value
-
getType
public SandboxWarmPool.Type getType()
MANAGED uses the service runtime; CUSTOM uses a customer image.- Returns:
- the value
-
getContainerImage
public String getContainerImage()
Digest-pinned customer image for CUSTOM; omitted for MANAGED.- Returns:
- the value
-
getShape
public SandboxWarmPool.Shape getShape()
Compute shape for each idle Sandbox member.- Returns:
- the value
-
getDesiredCapacity
public Integer getDesiredCapacity()
Requested idle target, not observed capacity.- Returns:
- the value
-
getLifecycleState
public SandboxWarmPool.LifecycleState getLifecycleState()
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.
- Returns:
- the value
-
getLifecycleDetails
public String getLifecycleDetails()
Additional information about the current CP management operation or failure.- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
Time the desired configuration was created.- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
Time the configuration or management lifecycle last changed; not runtime readiness.- Returns:
- the value
-
getRuntimeStatus
public SandboxWarmPoolRuntimeStatus getRuntimeStatus()
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-