Class SetVariableActivity
- java.lang.Object
-
- com.azure.analytics.synapse.artifacts.models.Activity
-
- com.azure.analytics.synapse.artifacts.models.ControlActivity
-
- com.azure.analytics.synapse.artifacts.models.SetVariableActivity
-
public class SetVariableActivity extends ControlActivity
Set value for a Variable.
-
-
Constructor Summary
Constructors Constructor Description SetVariableActivity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getValue()
Get the value property: Value to be set.String
getVariableName()
Get the variableName property: Name of the variable whose value needs to be set.SetVariableActivity
setDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.SetVariableActivity
setDescription(String description)
Set the description property: Activity description.SetVariableActivity
setName(String name)
Set the name property: Activity name.SetVariableActivity
setUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.SetVariableActivity
setValue(Object value)
Set the value property: Value to be set.SetVariableActivity
setVariableName(String variableName)
Set the variableName property: Name of the variable whose value needs to be set.-
Methods inherited from class com.azure.analytics.synapse.artifacts.models.Activity
getAdditionalProperties, getDependsOn, getDescription, getName, getUserProperties, setAdditionalProperties
-
-
-
-
Method Detail
-
getVariableName
public String getVariableName()
Get the variableName property: Name of the variable whose value needs to be set.- Returns:
- the variableName value.
-
setVariableName
public SetVariableActivity setVariableName(String variableName)
Set the variableName property: Name of the variable whose value needs to be set.- Parameters:
variableName
- the variableName value to set.- Returns:
- the SetVariableActivity object itself.
-
getValue
public Object getValue()
Get the value property: Value to be set. Could be a static value or Expression.- Returns:
- the value value.
-
setValue
public SetVariableActivity setValue(Object value)
Set the value property: Value to be set. Could be a static value or Expression.- Parameters:
value
- the value value to set.- Returns:
- the SetVariableActivity object itself.
-
setName
public SetVariableActivity setName(String name)
Set the name property: Activity name.- Overrides:
setName
in classControlActivity
- Parameters:
name
- the name value to set.- Returns:
- the Activity object itself.
-
setDescription
public SetVariableActivity setDescription(String description)
Set the description property: Activity description.- Overrides:
setDescription
in classControlActivity
- Parameters:
description
- the description value to set.- Returns:
- the Activity object itself.
-
setDependsOn
public SetVariableActivity setDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.- Overrides:
setDependsOn
in classControlActivity
- Parameters:
dependsOn
- the dependsOn value to set.- Returns:
- the Activity object itself.
-
setUserProperties
public SetVariableActivity setUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.- Overrides:
setUserProperties
in classControlActivity
- Parameters:
userProperties
- the userProperties value to set.- Returns:
- the Activity object itself.
-
-