Class SandboxWarmPoolConfig


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20231130")
    public final class SandboxWarmPoolConfig
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Read-only default warm-pool capacities for managed-runtime sandboxes.

    The reserved MANAGED default entries exposed by the named warm-pool APIs project these same values. Project create and update requests must not supply this configuration. Newly enabled projects start with zero capacity for every shape. Change capacities through the named warm-pool APIs, which also manage CUSTOM pools.
    Note: Objects should always be created or deserialized using the SandboxWarmPoolConfig.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 SandboxWarmPoolConfig.Builder, which maintain a set of all explicitly set fields called SandboxWarmPoolConfig.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

      • getSmallCount

        public Integer getSmallCount()
        Desired number of ready SMALL managed-runtime sandboxes.

        Each sandbox has 1 CPU and 4 GiB of memory.

        Returns:
        the value
      • getMediumCount

        public Integer getMediumCount()
        Desired number of ready MEDIUM managed-runtime sandboxes.

        Each sandbox has 2 CPUs and 8 GiB of memory.

        Returns:
        the value
      • getLargeCount

        public Integer getLargeCount()
        Desired number of ready LARGE managed-runtime sandboxes.

        Each sandbox has 4 CPUs and 16 GiB of memory.

        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