Class ScriptActivityScriptBlock
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.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>
parameters()
Get the parameters property: Array of script parameters.Object
text()
Get the text property: The query text.ScriptType
type()
Get the type property: The type of the query.void
validate()
Validates the instance.ScriptActivityScriptBlock
withParameters(List<ScriptActivityParameter> parameters)
Set the parameters property: Array of script parameters.ScriptActivityScriptBlock
withText(Object text)
Set the text property: The query text.ScriptActivityScriptBlock
withType(ScriptType type)
Set the type property: The type of the query.
-
-
-
Method Detail
-
text
public Object text()
Get the text property: The query text. Type: string (or Expression with resultType string).- Returns:
- the text value.
-
withText
public ScriptActivityScriptBlock withText(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.
-
type
public ScriptType type()
Get the type property: The type of the query. Type: string.- Returns:
- the type value.
-
withType
public ScriptActivityScriptBlock withType(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.
-
parameters
public List<ScriptActivityParameter> parameters()
Get the parameters property: Array of script parameters. Type: array.- Returns:
- the parameters value.
-
withParameters
public ScriptActivityScriptBlock withParameters(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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-