Class SandboxWarmPool


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20231130")
    public final class SandboxWarmPool
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    CP-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 the SandboxWarmPool.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 the SandboxWarmPool.Builder, which maintain a set of all explicitly set fields called SandboxWarmPool.Builder.__explicitlySet__. The hashCode() and equals(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).

    • Method Detail

      • 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
      • toString

        public String toString()
        Overrides:
        toString in class com.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:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel