Class ScriptActivityParameter
java.lang.Object
com.azure.resourcemanager.datafactory.models.ScriptActivityParameter
Parameters of a script block.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ScriptActivityParameter class. -
Method Summary
Modifier and TypeMethodDescriptionGet the direction property: The direction of the parameter.name()
Get the name property: The name of the parameter.size()
Get the size property: The size of the output direction parameter.type()
Get the type property: The type of the parameter.void
validate()
Validates the instance.value()
Get the value property: The value of the parameter.withDirection
(ScriptActivityParameterDirection direction) Set the direction property: The direction of the parameter.Set the name property: The name of the parameter.Set the size property: The size of the output direction parameter.Set the type property: The type of the parameter.Set the value property: The value of the parameter.
-
Constructor Details
-
ScriptActivityParameter
public ScriptActivityParameter()Creates an instance of ScriptActivityParameter class.
-
-
Method Details
-
name
Get the name property: The name of the parameter. Type: string (or Expression with resultType string).- Returns:
- the name value.
-
withName
Set the name property: The name of the parameter. Type: string (or Expression with resultType string).- Parameters:
name
- the name value to set.- Returns:
- the ScriptActivityParameter object itself.
-
type
Get the type property: The type of the parameter.- Returns:
- the type value.
-
withType
Set the type property: The type of the parameter.- Parameters:
type
- the type value to set.- Returns:
- the ScriptActivityParameter object itself.
-
value
Get the value property: The value of the parameter.- Returns:
- the value value.
-
withValue
Set the value property: The value of the parameter.- Parameters:
value
- the value value to set.- Returns:
- the ScriptActivityParameter object itself.
-
direction
Get the direction property: The direction of the parameter.- Returns:
- the direction value.
-
withDirection
Set the direction property: The direction of the parameter.- Parameters:
direction
- the direction value to set.- Returns:
- the ScriptActivityParameter object itself.
-
size
Get the size property: The size of the output direction parameter.- Returns:
- the size value.
-
withSize
Set the size property: The size of the output direction parameter.- Parameters:
size
- the size value to set.- Returns:
- the ScriptActivityParameter object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-