Class CreateSandboxWarmPoolDetails


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20231130")
    public final class CreateSandboxWarmPoolDetails
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Create Sandbox Warm Pool Details.
    Note: Objects should always be created or deserialized using the CreateSandboxWarmPoolDetails.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 CreateSandboxWarmPoolDetails.Builder, which maintain a set of all explicitly set fields called CreateSandboxWarmPoolDetails.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

      • getName

        public String getName()
        Unique immutable name within the Project.
        Returns:
        the value
      • getType

        public CreateSandboxWarmPoolDetails.Type getType()
        MANAGED uses the service-provided python-3.11 runtime.

        CUSTOM uses a customer-provided containerImage. Both types support named pool creation.

        Returns:
        the value
      • getContainerImage

        public String getContainerImage()
        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.

        Returns:
        the value
      • getDesiredCapacity

        public Integer getDesiredCapacity()
        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.

        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