NotebookParameter Class

  • java.lang.Object
    • com.azure.resourcemanager.datafactory.models.NotebookParameter

Implements

public final class NotebookParameter
implements JsonSerializable<NotebookParameter>

Notebook parameter.

Constructor Summary

Constructor Description
NotebookParameter()

Creates an instance of NotebookParameter class.

Method Summary

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

Reads an instance of NotebookParameter from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
NotebookParameterType type()

Get the type property: Notebook parameter type.

void validate()

Validates the instance.

Object value()

Get the value property: Notebook parameter value.

NotebookParameter withType(NotebookParameterType type)

Set the type property: Notebook parameter type.

NotebookParameter withValue(Object value)

Set the value property: Notebook parameter value.

Methods inherited from java.lang.Object

Constructor Details

NotebookParameter

public NotebookParameter()

Creates an instance of NotebookParameter class.

Method Details

fromJson

public static NotebookParameter fromJson(JsonReader jsonReader)

Reads an instance of NotebookParameter from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the NotebookParameter.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public NotebookParameterType type()

Get the type property: Notebook parameter type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

value

public Object value()

Get the value property: Notebook parameter value. Type: string (or Expression with resultType string).

Returns:

the value value.

withType

public NotebookParameter withType(NotebookParameterType type)

Set the type property: Notebook parameter type.

Parameters:

type - the type value to set.

Returns:

the NotebookParameter object itself.

withValue

public NotebookParameter withValue(Object value)

Set the value property: Notebook parameter value. Type: string (or Expression with resultType string).

Parameters:

value - the value value to set.

Returns:

the NotebookParameter object itself.

Applies to