Class SetVariableActivity
java.lang.Object
com.azure.resourcemanager.datafactory.models.Activity
com.azure.resourcemanager.datafactory.models.ControlActivity
com.azure.resourcemanager.datafactory.models.SetVariableActivity
Set value for a Variable.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate()Validates the instance.value()Get the value property: Value to be set.Get the variableName property: Name of the variable whose value needs to be set.withDependsOn(List<ActivityDependency> dependsOn) Set the dependsOn property: Activity depends on condition.withDescription(String description) Set the description property: Activity description.Set the name property: Activity name.withUserProperties(List<UserProperty> userProperties) Set the userProperties property: Activity user properties.Set the value property: Value to be set.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
-
Constructor Details
-
SetVariableActivity
public SetVariableActivity()Creates an instance of SetVariableActivity class.
-
-
Method Details
-
withName
Set the name property: Activity name.- Overrides:
withNamein classControlActivity- Parameters:
name- the name value to set.- Returns:
- the Activity object itself.
-
withDescription
Set the description property: Activity description.- Overrides:
withDescriptionin classControlActivity- Parameters:
description- the description value to set.- Returns:
- the Activity object itself.
-
withDependsOn
Set the dependsOn property: Activity depends on condition.- Overrides:
withDependsOnin classControlActivity- Parameters:
dependsOn- the dependsOn value to set.- Returns:
- the Activity object itself.
-
withUserProperties
Set the userProperties property: Activity user properties.- Overrides:
withUserPropertiesin classControlActivity- Parameters:
userProperties- the userProperties value to set.- Returns:
- the Activity object itself.
-
variableName
Get the variableName property: Name of the variable whose value needs to be set.- Returns:
- the variableName value.
-
withVariableName
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
Get the value property: Value to be set. Could be a static value or Expression.- Returns:
- the value value.
-
withValue
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.
-