Class SetVariableActivity
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.Activity
-
- com.azure.resourcemanager.datafactory.models.ControlActivity
-
- com.azure.resourcemanager.datafactory.models.SetVariableActivity
-
public final 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 void
validate()
Validates the instance.Object
value()
Get the value property: Value to be set.String
variableName()
Get the variableName property: Name of the variable whose value needs to be set.SetVariableActivity
withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.SetVariableActivity
withDescription(String description)
Set the description property: Activity description.SetVariableActivity
withName(String name)
Set the name property: Activity name.SetVariableActivity
withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.SetVariableActivity
withValue(Object value)
Set the value property: Value to be set.SetVariableActivity
withVariableName(String variableName)
Set the variableName property: Name of the variable whose value needs to be set.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.Activity
additionalProperties, dependsOn, description, name, userProperties, withAdditionalProperties
-
-
-
-
Method Detail
-
withName
public SetVariableActivity withName(String name)
Set the name property: Activity name.- Overrides:
withName
in classControlActivity
- Parameters:
name
- the name value to set.- Returns:
- the Activity object itself.
-
withDescription
public SetVariableActivity withDescription(String description)
Set the description property: Activity description.- Overrides:
withDescription
in classControlActivity
- Parameters:
description
- the description value to set.- Returns:
- the Activity object itself.
-
withDependsOn
public SetVariableActivity withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.- Overrides:
withDependsOn
in classControlActivity
- Parameters:
dependsOn
- the dependsOn value to set.- Returns:
- the Activity object itself.
-
withUserProperties
public SetVariableActivity withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.- Overrides:
withUserProperties
in classControlActivity
- Parameters:
userProperties
- the userProperties value to set.- Returns:
- the Activity object itself.
-
variableName
public String variableName()
Get the variableName property: Name of the variable whose value needs to be set.- Returns:
- the variableName value.
-
withVariableName
public SetVariableActivity withVariableName(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.
-
value
public Object value()
Get the value property: Value to be set. Could be a static value or Expression.- Returns:
- the value value.
-
withValue
public SetVariableActivity withValue(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.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classControlActivity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-