Package com.oracle.bmc.datascience.model
Class NotebookSession.Builder
- java.lang.Object
-
- com.oracle.bmc.datascience.model.NotebookSession.Builder
-
- Enclosing class:
- NotebookSession
public static class NotebookSession.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotebookSessionbuild()NotebookSession.BuildercompartmentId(String compartmentId)The OCID of the notebook session’s compartment.NotebookSession.Buildercopy(NotebookSession model)NotebookSession.BuildercreatedBy(String createdBy)The OCID of the user who created the notebook session.NotebookSession.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.NotebookSession.BuilderdisplayName(String displayName)A user-friendly display name for the resource.NotebookSession.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.NotebookSession.Builderid(String id)The OCID of the notebook session.NotebookSession.BuilderlifecycleDetails(String lifecycleDetails)Details about the state of the notebook session.NotebookSession.BuilderlifecycleState(NotebookSessionLifecycleState lifecycleState)The state of the notebook session.NotebookSession.BuildernotebookSessionConfigDetails(NotebookSessionConfigDetails notebookSessionConfigDetails)NotebookSession.BuildernotebookSessionConfigurationDetails(NotebookSessionConfigurationDetails notebookSessionConfigurationDetails)NotebookSession.BuildernotebookSessionRuntimeConfigDetails(NotebookSessionRuntimeConfigDetails notebookSessionRuntimeConfigDetails)NotebookSession.BuildernotebookSessionStorageMountConfigurationDetailsList(List<StorageMountConfigurationDetails> notebookSessionStorageMountConfigurationDetailsList)Collection of NotebookSessionStorageMountConfigurationDetails.NotebookSession.BuildernotebookSessionUrl(String notebookSessionUrl)The URL to interact with the notebook session.NotebookSession.BuilderprojectId(String projectId)The OCID of the project associated with the notebook session.NotebookSession.BuildertimeCreated(Date timeCreated)The date and time the resource was created in the timestamp format defined by RFC3339.
-
-
-
Method Detail
-
id
public NotebookSession.Builder id(String id)
The OCID of the notebook session.- Parameters:
id- the value to set- Returns:
- this builder
-
timeCreated
public NotebookSession.Builder timeCreated(Date timeCreated)
The date and time the resource was created in the timestamp format defined by RFC3339.Example: 2019-08-25T21:10:29.41Z
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
displayName
public NotebookSession.Builder displayName(String displayName)
A user-friendly display name for the resource.It does not have to be unique and can be modified. Avoid entering confidential information. Example: My NotebookSession
- Parameters:
displayName- the value to set- Returns:
- this builder
-
projectId
public NotebookSession.Builder projectId(String projectId)
The OCID of the project associated with the notebook session.- Parameters:
projectId- the value to set- Returns:
- this builder
-
createdBy
public NotebookSession.Builder createdBy(String createdBy)
The OCID of the user who created the notebook session.- Parameters:
createdBy- the value to set- Returns:
- this builder
-
compartmentId
public NotebookSession.Builder compartmentId(String compartmentId)
The OCID of the notebook session’s compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
notebookSessionConfigurationDetails
public NotebookSession.Builder notebookSessionConfigurationDetails(NotebookSessionConfigurationDetails notebookSessionConfigurationDetails)
-
notebookSessionConfigDetails
public NotebookSession.Builder notebookSessionConfigDetails(NotebookSessionConfigDetails notebookSessionConfigDetails)
-
notebookSessionRuntimeConfigDetails
public NotebookSession.Builder notebookSessionRuntimeConfigDetails(NotebookSessionRuntimeConfigDetails notebookSessionRuntimeConfigDetails)
-
notebookSessionStorageMountConfigurationDetailsList
public NotebookSession.Builder notebookSessionStorageMountConfigurationDetailsList(List<StorageMountConfigurationDetails> notebookSessionStorageMountConfigurationDetailsList)
Collection of NotebookSessionStorageMountConfigurationDetails.- Parameters:
notebookSessionStorageMountConfigurationDetailsList- the value to set- Returns:
- this builder
-
notebookSessionUrl
public NotebookSession.Builder notebookSessionUrl(String notebookSessionUrl)
The URL to interact with the notebook session.- Parameters:
notebookSessionUrl- the value to set- Returns:
- this builder
-
lifecycleState
public NotebookSession.Builder lifecycleState(NotebookSessionLifecycleState lifecycleState)
The state of the notebook session.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public NotebookSession.Builder lifecycleDetails(String lifecycleDetails)
Details about the state of the notebook session.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
freeformTags
public NotebookSession.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {“Department”: “Finance”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public NotebookSession.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. See Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
build
public NotebookSession build()
-
copy
public NotebookSession.Builder copy(NotebookSession model)
-
-