Class SandboxWarmPoolConfig
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.generativeai.model.SandboxWarmPoolConfig
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20231130") public final class SandboxWarmPoolConfig extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelRead-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 theSandboxWarmPoolConfig.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 theSandboxWarmPoolConfig.Builder, which maintain a set of all explicitly set fields calledSandboxWarmPoolConfig.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 classSandboxWarmPoolConfig.Builder
-
Constructor Summary
Constructors Constructor Description SandboxWarmPoolConfig(Integer smallCount, Integer mediumCount, Integer largeCount)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SandboxWarmPoolConfig.Builderbuilder()Create a new builder.booleanequals(Object o)IntegergetLargeCount()Desired number of ready LARGE managed-runtime sandboxes.IntegergetMediumCount()Desired number of ready MEDIUM managed-runtime sandboxes.IntegergetSmallCount()Desired number of ready SMALL managed-runtime sandboxes.inthashCode()SandboxWarmPoolConfig.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
SandboxWarmPoolConfig
@Deprecated @ConstructorProperties({"smallCount","mediumCount","largeCount"}) public SandboxWarmPoolConfig(Integer smallCount, Integer mediumCount, Integer largeCount)
Deprecated.
-
-
Method Detail
-
builder
public static SandboxWarmPoolConfig.Builder builder()
Create a new builder.
-
toBuilder
public SandboxWarmPoolConfig.Builder toBuilder()
-
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:
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
-
-