Class ScriptActivityScriptBlock
- java.lang.Object
-
- com.azure.analytics.synapse.artifacts.models.ScriptActivityScriptBlock
-
public final class ScriptActivityScriptBlock extends Object
Script block of scripts.
-
-
Constructor Summary
Constructors Constructor Description ScriptActivityScriptBlock()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ScriptActivityParameter>
getParameters()
Get the parameters property: Array of script parameters.Object
getText()
Get the text property: The query text.ScriptType
getType()
Get the type property: The type of the query.ScriptActivityScriptBlock
setParameters(List<ScriptActivityParameter> parameters)
Set the parameters property: Array of script parameters.ScriptActivityScriptBlock
setText(Object text)
Set the text property: The query text.ScriptActivityScriptBlock
setType(ScriptType type)
Set the type property: The type of the query.
-
-
-
Method Detail
-
getText
public Object getText()
Get the text property: The query text. Type: string (or Expression with resultType string).- Returns:
- the text value.
-
setText
public ScriptActivityScriptBlock setText(Object text)
Set the text property: The query text. Type: string (or Expression with resultType string).- Parameters:
text
- the text value to set.- Returns:
- the ScriptActivityScriptBlock object itself.
-
getType
public ScriptType getType()
Get the type property: The type of the query. Type: string.- Returns:
- the type value.
-
setType
public ScriptActivityScriptBlock setType(ScriptType type)
Set the type property: The type of the query. Type: string.- Parameters:
type
- the type value to set.- Returns:
- the ScriptActivityScriptBlock object itself.
-
getParameters
public List<ScriptActivityParameter> getParameters()
Get the parameters property: Array of script parameters. Type: array.- Returns:
- the parameters value.
-
setParameters
public ScriptActivityScriptBlock setParameters(List<ScriptActivityParameter> parameters)
Set the parameters property: Array of script parameters. Type: array.- Parameters:
parameters
- the parameters value to set.- Returns:
- the ScriptActivityScriptBlock object itself.
-
-