ScriptActivityParameter Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. ScriptActivityParameter
- com.
Implements
public final class ScriptActivityParameter
implements JsonSerializable<ScriptActivityParameter>
Parameters of a script block.
Constructor Summary
| Constructor | Description |
|---|---|
| ScriptActivityParameter() |
Creates an instance of Script |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Script |
direction()
Get the direction property: The direction of the parameter. |
|
static
Script |
fromJson(JsonReader jsonReader)
Reads an instance of Script |
| Object |
name()
Get the name property: The name of the parameter. |
| Integer |
size()
Get the size property: The size of the output direction parameter. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Script |
type()
Get the type property: The type of the parameter. |
| void |
validate()
Validates the instance. |
| Object |
value()
Get the value property: The value of the parameter. |
|
Script |
withDirection(ScriptActivityParameterDirection direction)
Set the direction property: The direction of the parameter. |
|
Script |
withName(Object name)
Set the name property: The name of the parameter. |
|
Script |
withSize(Integer size)
Set the size property: The size of the output direction parameter. |
|
Script |
withType(ScriptActivityParameterType type)
Set the type property: The type of the parameter. |
|
Script |
withValue(Object value)
Set the value property: The value of the parameter. |
Methods inherited from java.lang.Object
Constructor Details
ScriptActivityParameter
public ScriptActivityParameter()
Creates an instance of ScriptActivityParameter class.
Method Details
direction
public ScriptActivityParameterDirection direction()
Get the direction property: The direction of the parameter.
Returns:
fromJson
public static ScriptActivityParameter fromJson(JsonReader jsonReader)
Reads an instance of ScriptActivityParameter from the JsonReader.
Parameters:
Returns:
Throws:
name
public Object name()
Get the name property: The name of the parameter. Type: string (or Expression with resultType string).
Returns:
size
public Integer size()
Get the size property: The size of the output direction parameter.
Returns:
toJson
type
public ScriptActivityParameterType type()
Get the type property: The type of the parameter.
Returns:
validate
public void validate()
Validates the instance.
value
public Object value()
Get the value property: The value of the parameter. Type: string (or Expression with resultType string).
Returns:
withDirection
public ScriptActivityParameter withDirection(ScriptActivityParameterDirection direction)
Set the direction property: The direction of the parameter.
Parameters:
Returns:
withName
public ScriptActivityParameter withName(Object name)
Set the name property: The name of the parameter. Type: string (or Expression with resultType string).
Parameters:
Returns:
withSize
public ScriptActivityParameter withSize(Integer size)
Set the size property: The size of the output direction parameter.
Parameters:
Returns:
withType
public ScriptActivityParameter withType(ScriptActivityParameterType type)
Set the type property: The type of the parameter.
Parameters:
Returns:
withValue
public ScriptActivityParameter withValue(Object value)
Set the value property: The value of the parameter. Type: string (or Expression with resultType string).
Parameters:
Returns: