@Generated(value="OracleSDKGenerator", comments="API Version: 20190101") public final class NotebookSessionConfigDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Details for the notebook session configuration.
Note: Objects should always be created or deserialized using the NotebookSessionConfigDetails.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 NotebookSessionConfigDetails.Builder
, which maintain a
set of all explicitly set fields called ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the
constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
NotebookSessionConfigDetails.Builder |
Constructor and Description |
---|
NotebookSessionConfigDetails(String shape,
Integer blockStorageSizeInGBs,
String subnetId,
NotebookSessionShapeConfigDetails notebookSessionShapeConfigDetails)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static NotebookSessionConfigDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Integer |
getBlockStorageSizeInGBs()
A notebook session instance is provided with a block storage volume.
|
NotebookSessionShapeConfigDetails |
getNotebookSessionShapeConfigDetails() |
String |
getShape()
The shape used to launch the notebook session compute instance.
|
String |
getSubnetId()
A notebook session instance is provided with a VNIC for network access.
|
int |
hashCode() |
NotebookSessionConfigDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"shape","blockStorageSizeInGBs","subnetId","notebookSessionShapeConfigDetails"}) public NotebookSessionConfigDetails(String shape, Integer blockStorageSizeInGBs, String subnetId, NotebookSessionShapeConfigDetails notebookSessionShapeConfigDetails)
public static NotebookSessionConfigDetails.Builder builder()
Create a new builder.
public NotebookSessionConfigDetails.Builder toBuilder()
public String getShape()
The shape used to launch the notebook session compute instance. The list of available shapes
in a given compartment can be retrieved using the ListNotebookSessionShapes
endpoint.
public Integer getBlockStorageSizeInGBs()
A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs.
public String getSubnetId()
A notebook session instance is provided with a VNIC for network access. This specifies the OCID of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT gateway for egress to the internet.
public NotebookSessionShapeConfigDetails getNotebookSessionShapeConfigDetails()
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2023. All rights reserved.