Package com.oracle.bmc.datascience.model
Class NotebookSessionConfigDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datascience.model.NotebookSessionConfigDetails
-
@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 theNotebookSessionConfigDetails.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 theNotebookSessionConfigDetails.Builder
, which maintain a set of all explicitly set fields calledNotebookSessionConfigDetails.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 class
NotebookSessionConfigDetails.Builder
-
Constructor Summary
Constructors Constructor Description NotebookSessionConfigDetails(String shape, Integer blockStorageSizeInGBs, String subnetId, String privateEndpointId, NotebookSessionShapeConfigDetails notebookSessionShapeConfigDetails)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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
getPrivateEndpointId()
The OCID of a Data Science private endpoint.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.
-
-
-
Constructor Detail
-
NotebookSessionConfigDetails
@Deprecated @ConstructorProperties({"shape","blockStorageSizeInGBs","subnetId","privateEndpointId","notebookSessionShapeConfigDetails"}) public NotebookSessionConfigDetails(String shape, Integer blockStorageSizeInGBs, String subnetId, String privateEndpointId, NotebookSessionShapeConfigDetails notebookSessionShapeConfigDetails)
Deprecated.
-
-
Method Detail
-
builder
public static NotebookSessionConfigDetails.Builder builder()
Create a new builder.
-
toBuilder
public NotebookSessionConfigDetails.Builder toBuilder()
-
getShape
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.
- Returns:
- the value
-
getBlockStorageSizeInGBs
public Integer getBlockStorageSizeInGBs()
A notebook session instance is provided with a block storage volume.This specifies the size of the volume in GBs.
- Returns:
- the value
-
getSubnetId
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.
- Returns:
- the value
-
getPrivateEndpointId
public String getPrivateEndpointId()
The OCID of a Data Science private endpoint.- Returns:
- the value
-
getNotebookSessionShapeConfigDetails
public NotebookSessionShapeConfigDetails getNotebookSessionShapeConfigDetails()
-
toString
public String toString()
- Overrides:
toString
in 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:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-