Class ScriptActivityParameter
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.ScriptActivityParameter
-
public final class ScriptActivityParameter extends Object
Parameters of a script block.
-
-
Constructor Summary
Constructors Constructor Description ScriptActivityParameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScriptActivityParameterDirectiondirection()Get the direction property: The direction of the parameter.Objectname()Get the name property: The name of the parameter.Integersize()Get the size property: The size of the output direction parameter.ScriptActivityParameterTypetype()Get the type property: The type of the parameter.voidvalidate()Validates the instance.Objectvalue()Get the value property: The value of the parameter.ScriptActivityParameterwithDirection(ScriptActivityParameterDirection direction)Set the direction property: The direction of the parameter.ScriptActivityParameterwithName(Object name)Set the name property: The name of the parameter.ScriptActivityParameterwithSize(Integer size)Set the size property: The size of the output direction parameter.ScriptActivityParameterwithType(ScriptActivityParameterType type)Set the type property: The type of the parameter.ScriptActivityParameterwithValue(Object value)Set the value property: The value of the parameter.
-
-
-
Method Detail
-
name
public Object name()
Get the name property: The name of the parameter. Type: string (or Expression with resultType string).- Returns:
- the name value.
-
withName
public ScriptActivityParameter withName(Object name)
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
public ScriptActivityParameterType type()
Get the type property: The type of the parameter.- Returns:
- the type value.
-
withType
public ScriptActivityParameter withType(ScriptActivityParameterType type)
Set the type property: The type of the parameter.- Parameters:
type- the type value to set.- Returns:
- the ScriptActivityParameter object itself.
-
value
public Object value()
Get the value property: The value of the parameter.- Returns:
- the value value.
-
withValue
public ScriptActivityParameter withValue(Object value)
Set the value property: The value of the parameter.- Parameters:
value- the value value to set.- Returns:
- the ScriptActivityParameter object itself.
-
direction
public ScriptActivityParameterDirection direction()
Get the direction property: The direction of the parameter.- Returns:
- the direction value.
-
withDirection
public ScriptActivityParameter withDirection(ScriptActivityParameterDirection direction)
Set the direction property: The direction of the parameter.- Parameters:
direction- the direction value to set.- Returns:
- the ScriptActivityParameter object itself.
-
size
public Integer size()
Get the size property: The size of the output direction parameter.- Returns:
- the size value.
-
withSize
public ScriptActivityParameter withSize(Integer size)
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.
-
-