ScriptActivityScriptBlock Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. ScriptActivityScriptBlock
- com.
Implements
public final class ScriptActivityScriptBlock
implements JsonSerializable<ScriptActivityScriptBlock>
Script block of scripts.
Constructor Summary
| Constructor | Description |
|---|---|
| ScriptActivityScriptBlock() |
Creates an instance of Script |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Script |
fromJson(JsonReader jsonReader)
Reads an instance of Script |
|
List<Script |
parameters()
Get the parameters property: Array of script parameters. |
| Object |
text()
Get the text property: The query text. |
|
Json |
toJson(JsonWriter jsonWriter) |
| Object |
type()
Get the type property: The type of the query. |
| void |
validate()
Validates the instance. |
|
Script |
withParameters(List<ScriptActivityParameter> parameters)
Set the parameters property: Array of script parameters. |
|
Script |
withText(Object text)
Set the text property: The query text. |
|
Script |
withType(Object type)
Set the type property: The type of the query. |
Methods inherited from java.lang.Object
Constructor Details
ScriptActivityScriptBlock
public ScriptActivityScriptBlock()
Creates an instance of ScriptActivityScriptBlock class.
Method Details
fromJson
public static ScriptActivityScriptBlock fromJson(JsonReader jsonReader)
Reads an instance of ScriptActivityScriptBlock from the JsonReader.
Parameters:
Returns:
Throws:
parameters
public List<ScriptActivityParameter> parameters()
Get the parameters property: Array of script parameters. Type: array.
Returns:
text
public Object text()
Get the text property: The query text. Type: string (or Expression with resultType string).
Returns:
toJson
type
public Object type()
Get the type property: The type of the query. Please refer to the ScriptType for valid options. Type: string (or Expression with resultType string).
Returns:
validate
public void validate()
Validates the instance.
withParameters
public ScriptActivityScriptBlock withParameters(List<ScriptActivityParameter> parameters)
Set the parameters property: Array of script parameters. Type: array.
Parameters:
Returns:
withText
public ScriptActivityScriptBlock withText(Object text)
Set the text property: The query text. Type: string (or Expression with resultType string).
Parameters:
Returns:
withType
public ScriptActivityScriptBlock withType(Object type)
Set the type property: The type of the query. Please refer to the ScriptType for valid options. Type: string (or Expression with resultType string).
Parameters:
Returns: