Class SandboxWarmPoolSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.generativeai.model.SandboxWarmPoolSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20231130") public final class SandboxWarmPoolSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelCP-owned configuration and management lifecycle summary.List does not perform per-pool runtime reads and does not return observed ready capacity.
Note: Objects should always be created or deserialized using theSandboxWarmPoolSummary.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 theSandboxWarmPoolSummary.Builder, which maintain a set of all explicitly set fields calledSandboxWarmPoolSummary.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 classSandboxWarmPoolSummary.Builderstatic classSandboxWarmPoolSummary.ShapeCompute shape for each idle Sandbox member.static classSandboxWarmPoolSummary.TypeMANAGED uses the service runtime; CUSTOM uses a customer image.
-
Constructor Summary
Constructors Constructor Description SandboxWarmPoolSummary(String projectId, String name, SandboxWarmPoolSummary.Type type, String containerImage, SandboxWarmPoolSummary.Shape shape, Integer desiredCapacity, SandboxWarmPool.LifecycleState lifecycleState, String lifecycleDetails, Date timeCreated, Date timeUpdated)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SandboxWarmPoolSummary.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.SandboxWarmPoolSummary.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.SandboxWarmPoolSummary.TypegetType()MANAGED uses the service runtime; CUSTOM uses a customer image.inthashCode()SandboxWarmPoolSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
SandboxWarmPoolSummary
@Deprecated @ConstructorProperties({"projectId","name","type","containerImage","shape","desiredCapacity","lifecycleState","lifecycleDetails","timeCreated","timeUpdated"}) public SandboxWarmPoolSummary(String projectId, String name, SandboxWarmPoolSummary.Type type, String containerImage, SandboxWarmPoolSummary.Shape shape, Integer desiredCapacity, SandboxWarmPool.LifecycleState lifecycleState, String lifecycleDetails, Date timeCreated, Date timeUpdated)
Deprecated.
-
-
Method Detail
-
builder
public static SandboxWarmPoolSummary.Builder builder()
Create a new builder.
-
toBuilder
public SandboxWarmPoolSummary.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 SandboxWarmPoolSummary.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 SandboxWarmPoolSummary.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:
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
-
-