ScriptActivityParameter Class

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

Implements

public final class ScriptActivityParameter
implements JsonSerializable<ScriptActivityParameter>

Parameters of a script block.

Constructor Summary

Constructor Description
ScriptActivityParameter()

Creates an instance of ScriptActivityParameter class.

Method Summary

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

Reads an instance of ScriptActivityParameter from the JsonReader.

ScriptActivityParameterDirection getDirection()

Get the direction property: The direction of the parameter.

Object getName()

Get the name property: The name of the parameter.

Integer getSize()

Get the size property: The size of the output direction parameter.

ScriptActivityParameterType getType()

Get the type property: The type of the parameter.

Object getValue()

Get the value property: The value of the parameter.

ScriptActivityParameter setDirection(ScriptActivityParameterDirection direction)

Set the direction property: The direction of the parameter.

ScriptActivityParameter setName(Object name)

Set the name property: The name of the parameter.

ScriptActivityParameter setSize(Integer size)

Set the size property: The size of the output direction parameter.

ScriptActivityParameter setType(ScriptActivityParameterType type)

Set the type property: The type of the parameter.

ScriptActivityParameter setValue(Object value)

Set the value property: The value of the parameter.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

ScriptActivityParameter

public ScriptActivityParameter()

Creates an instance of ScriptActivityParameter class.

Method Details

fromJson

public static ScriptActivityParameter fromJson(JsonReader jsonReader)

Reads an instance of ScriptActivityParameter from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ScriptActivityParameter 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 ScriptActivityParameter.

getDirection

public ScriptActivityParameterDirection getDirection()

Get the direction property: The direction of the parameter.

Returns:

the direction value.

getName

public Object getName()

Get the name property: The name of the parameter. Type: string (or Expression with resultType string).

Returns:

the name value.

getSize

public Integer getSize()

Get the size property: The size of the output direction parameter.

Returns:

the size value.

getType

public ScriptActivityParameterType getType()

Get the type property: The type of the parameter.

Returns:

the type value.

getValue

public Object getValue()

Get the value property: The value of the parameter.

Returns:

the value value.

setDirection

public ScriptActivityParameter setDirection(ScriptActivityParameterDirection direction)

Set the direction property: The direction of the parameter.

Parameters:

direction - the direction value to set.

Returns:

the ScriptActivityParameter object itself.

setName

public ScriptActivityParameter setName(Object name)

Set the name property: The name of the parameter. Type: string (or Expression with resultType string).

Parameters:

name - the name value to set.

Returns:

the ScriptActivityParameter object itself.

setSize

public ScriptActivityParameter setSize(Integer size)

Set the size property: The size of the output direction parameter.

Parameters:

size - the size value to set.

Returns:

the ScriptActivityParameter object itself.

setType

public ScriptActivityParameter setType(ScriptActivityParameterType type)

Set the type property: The type of the parameter.

Parameters:

type - the type value to set.

Returns:

the ScriptActivityParameter object itself.

setValue

public ScriptActivityParameter setValue(Object value)

Set the value property: The value of the parameter.

Parameters:

value - the value value to set.

Returns:

the ScriptActivityParameter object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to