Package com.oracle.bmc.datascience.model
Class NotebookSessionConfigDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.datascience.model.NotebookSessionConfigDetails.Builder
-
- Enclosing class:
- NotebookSessionConfigDetails
public static class NotebookSessionConfigDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotebookSessionConfigDetails.Builder
blockStorageSizeInGBs(Integer blockStorageSizeInGBs)
A notebook session instance is provided with a block storage volume.NotebookSessionConfigDetails
build()
NotebookSessionConfigDetails.Builder
copy(NotebookSessionConfigDetails model)
NotebookSessionConfigDetails.Builder
notebookSessionShapeConfigDetails(NotebookSessionShapeConfigDetails notebookSessionShapeConfigDetails)
NotebookSessionConfigDetails.Builder
privateEndpointId(String privateEndpointId)
The OCID of a Data Science private endpoint.NotebookSessionConfigDetails.Builder
shape(String shape)
The shape used to launch the notebook session compute instance.NotebookSessionConfigDetails.Builder
subnetId(String subnetId)
A notebook session instance is provided with a VNIC for network access.
-
-
-
Method Detail
-
shape
public NotebookSessionConfigDetails.Builder shape(String shape)
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.
- Parameters:
shape
- the value to set- Returns:
- this builder
-
blockStorageSizeInGBs
public NotebookSessionConfigDetails.Builder blockStorageSizeInGBs(Integer blockStorageSizeInGBs)
A notebook session instance is provided with a block storage volume.This specifies the size of the volume in GBs.
- Parameters:
blockStorageSizeInGBs
- the value to set- Returns:
- this builder
-
subnetId
public NotebookSessionConfigDetails.Builder subnetId(String subnetId)
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.
- Parameters:
subnetId
- the value to set- Returns:
- this builder
-
privateEndpointId
public NotebookSessionConfigDetails.Builder privateEndpointId(String privateEndpointId)
The OCID of a Data Science private endpoint.- Parameters:
privateEndpointId
- the value to set- Returns:
- this builder
-
notebookSessionShapeConfigDetails
public NotebookSessionConfigDetails.Builder notebookSessionShapeConfigDetails(NotebookSessionShapeConfigDetails notebookSessionShapeConfigDetails)
-
build
public NotebookSessionConfigDetails build()
-
copy
public NotebookSessionConfigDetails.Builder copy(NotebookSessionConfigDetails model)
-
-