Share via


NotebookKernelSpec Class

  • java.lang.Object
    • com.azure.analytics.synapse.artifacts.models.NotebookKernelSpec

Implements

public final class NotebookKernelSpec
implements JsonSerializable<NotebookKernelSpec>

Kernel information.

Constructor Summary

Constructor Description
NotebookKernelSpec()

Creates an instance of NotebookKernelSpec class.

Method Summary

Modifier and Type Method and Description
static NotebookKernelSpec fromJson(JsonReader jsonReader)

Reads an instance of NotebookKernelSpec from the JsonReader.

Map<String,Object> getAdditionalProperties()

Get the additionalProperties property: Kernel information.

String getDisplayName()

Get the displayName property: Name to display in UI.

String getName()

Get the name property: Name of the kernel specification.

NotebookKernelSpec setAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Kernel information.

NotebookKernelSpec setDisplayName(String displayName)

Set the displayName property: Name to display in UI.

NotebookKernelSpec setName(String name)

Set the name property: Name of the kernel specification.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

NotebookKernelSpec

public NotebookKernelSpec()

Creates an instance of NotebookKernelSpec class.

Method Details

fromJson

public static NotebookKernelSpec fromJson(JsonReader jsonReader)

Reads an instance of NotebookKernelSpec from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of NotebookKernelSpec if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getAdditionalProperties

public Map<String,Object> getAdditionalProperties()

Get the additionalProperties property: Kernel information.

Returns:

the additionalProperties value.

getDisplayName

public String getDisplayName()

Get the displayName property: Name to display in UI.

Returns:

the displayName value.

getName

public String getName()

Get the name property: Name of the kernel specification.

Returns:

the name value.

setAdditionalProperties

public NotebookKernelSpec setAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Kernel information.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the NotebookKernelSpec object itself.

setDisplayName

public NotebookKernelSpec setDisplayName(String displayName)

Set the displayName property: Name to display in UI.

Parameters:

displayName - the displayName value to set.

Returns:

the NotebookKernelSpec object itself.

setName

public NotebookKernelSpec setName(String name)

Set the name property: Name of the kernel specification.

Parameters:

name - the name value to set.

Returns:

the NotebookKernelSpec object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to