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 voidvalidate()Validates the instance.Objectvalue()Get the value property: Value to be set.StringvariableName()Get the variableName property: Name of the variable whose value needs to be set.SetVariableActivitywithDependsOn(List<ActivityDependency> dependsOn)Set the dependsOn property: Activity depends on condition.SetVariableActivitywithDescription(String description)Set the description property: Activity description.SetVariableActivitywithName(String name)Set the name property: Activity name.SetVariableActivitywithUserProperties(List<UserProperty> userProperties)Set the userProperties property: Activity user properties.SetVariableActivitywithValue(Object value)Set the value property: Value to be set.SetVariableActivitywithVariableName(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:
withNamein 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:
withDescriptionin 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:
withDependsOnin 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:
withUserPropertiesin 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:
validatein classControlActivity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-