Class SandboxSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.generativeaisandbox.model.SandboxSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 1.0") public final class SandboxSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelSandbox resource representation.
Note: Objects should always be created or deserialized using theSandboxSummary.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 theSandboxSummary.Builder, which maintain a set of all explicitly set fields calledSandboxSummary.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 classSandboxSummary.Builderstatic classSandboxSummary.Shapeshape for sandbox
-
Constructor Summary
Constructors Constructor Description SandboxSummary(String id, String displayName, String projectId, Sandbox.LifecycleState lifecycleState, String warmpoolName, String runtime, Sandbox.PublishedPortAuthMode publishedPortAuthMode, List<PublishedPort> publishedPorts, Integer expiresInMinutes, String expirationDuration, SandboxSummary.Shape shape, Date timeCreated, Date timeUpdated, Date timeExpires, Date timeStopped)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SandboxSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetDisplayName()Display name for sandboxStringgetExpirationDuration()Deprecated.IntegergetExpiresInMinutes()Number of minutes from creation until automatic sandbox expiration.StringgetId()Sandbox identifier.Sandbox.LifecycleStategetLifecycleState()The current state of the Sandbox.StringgetProjectId()GenerativeAiProject ID that sandbox belongs toSandbox.PublishedPortAuthModegetPublishedPortAuthMode()Persisted published-port authorization mode.List<PublishedPort>getPublishedPorts()Published ports for the sandbox proxy endpoint.StringgetRuntime()The sandbox runtime type.SandboxSummary.ShapegetShape()shape for sandboxDategetTimeCreated()The date and time the sandbox was created, in RFC 3339 format.DategetTimeExpires()The date and time the sandbox expires, in RFC 3339 format.DategetTimeStopped()The date and time the sandbox was stopped or expired, in RFC 3339 format.DategetTimeUpdated()The date and time the sandbox was updated, in RFC 3339 format.StringgetWarmpoolName()Name of the source warm pool, when selected explicitly or automatically at creation.inthashCode()SandboxSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
SandboxSummary
@Deprecated @ConstructorProperties({"id","displayName","projectId","lifecycleState","warmpoolName","runtime","publishedPortAuthMode","publishedPorts","expiresInMinutes","expirationDuration","shape","timeCreated","timeUpdated","timeExpires","timeStopped"}) public SandboxSummary(String id, String displayName, String projectId, Sandbox.LifecycleState lifecycleState, String warmpoolName, String runtime, Sandbox.PublishedPortAuthMode publishedPortAuthMode, List<PublishedPort> publishedPorts, Integer expiresInMinutes, String expirationDuration, SandboxSummary.Shape shape, Date timeCreated, Date timeUpdated, Date timeExpires, Date timeStopped)
Deprecated.
-
-
Method Detail
-
builder
public static SandboxSummary.Builder builder()
Create a new builder.
-
toBuilder
public SandboxSummary.Builder toBuilder()
-
getId
public String getId()
Sandbox identifier.- Returns:
- the value
-
getDisplayName
public String getDisplayName()
Display name for sandbox- Returns:
- the value
-
getProjectId
public String getProjectId()
GenerativeAiProject ID that sandbox belongs to- Returns:
- the value
-
getLifecycleState
public Sandbox.LifecycleState getLifecycleState()
The current state of the Sandbox.Allowed values are: - RUNNING - CREATING - UPDATING - DELETED - FAILED - SUSPENDING - SUSPENDED - RESUMING - STOPPING - STOPPED
- Returns:
- the value
-
getWarmpoolName
public String getWarmpoolName()
Name of the source warm pool, when selected explicitly or automatically at creation.The persisted association is retained on retries.
- Returns:
- the value
-
getRuntime
public String getRuntime()
The sandbox runtime type.For customer-provided containers, use a same-region Oracle Cloud Infrastructure Registry image reference.
- Returns:
- the value
-
getPublishedPortAuthMode
public Sandbox.PublishedPortAuthMode getPublishedPortAuthMode()
Persisted published-port authorization mode.Absent for legacy sandboxes.
- Returns:
- the value
-
getPublishedPorts
public List<PublishedPort> getPublishedPorts()
Published ports for the sandbox proxy endpoint.- Returns:
- the value
-
getExpiresInMinutes
public Integer getExpiresInMinutes()
Number of minutes from creation until automatic sandbox expiration.Use -1 to disable automatic expiration.
- Returns:
- the value
-
getExpirationDuration
public String getExpirationDuration()
Deprecated.Use expiresInMinutes instead. Existing clients may pass -1 to disable automatic expiration.
- Returns:
- the value
-
getShape
public SandboxSummary.Shape getShape()
shape for sandbox- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
The date and time the sandbox was created, in RFC 3339 format.- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
The date and time the sandbox was updated, in RFC 3339 format.- Returns:
- the value
-
getTimeExpires
public Date getTimeExpires()
The date and time the sandbox expires, in RFC 3339 format.- Returns:
- the value
-
getTimeStopped
public Date getTimeStopped()
The date and time the sandbox was stopped or expired, in RFC 3339 format.- 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
-
-