Class ScriptActivityScriptBlock
java.lang.Object
com.azure.resourcemanager.datafactory.models.ScriptActivityScriptBlock
Script block of scripts.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ScriptActivityScriptBlock class. -
Method Summary
Modifier and TypeMethodDescriptionGet the parameters property: Array of script parameters.text()
Get the text property: The query text.type()
Get the type property: The type of the query.void
validate()
Validates the instance.withParameters
(List<ScriptActivityParameter> parameters) Set the parameters property: Array of script parameters.Set the text property: The query text.withType
(ScriptType type) Set the type property: The type of the query.
-
Constructor Details
-
ScriptActivityScriptBlock
public ScriptActivityScriptBlock()Creates an instance of ScriptActivityScriptBlock class.
-
-
Method Details
-
text
Get the text property: The query text. Type: string (or Expression with resultType string).- Returns:
- the text value.
-
withText
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.
-
type
Get the type property: The type of the query. Type: string.- Returns:
- the type value.
-
withType
Set the type property: The type of the query. Type: string.- Parameters:
type
- the type value to set.- Returns:
- the ScriptActivityScriptBlock object itself.
-
parameters
Get the parameters property: Array of script parameters. Type: array.- Returns:
- the parameters value.
-
withParameters
Set the parameters property: Array of script parameters. Type: array.- Parameters:
parameters
- the parameters value to set.- Returns:
- the ScriptActivityScriptBlock object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-