SetVariableActivity Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. models. Activity - com.
azure. analytics. synapse. artifacts. models. ControlActivity - com.
azure. analytics. synapse. artifacts. models. SetVariableActivity
- com.
- com.
- com.
public class SetVariableActivity
extends ControlActivity
Set value for a Variable.
Constructor Summary
| Constructor | Description |
|---|---|
| SetVariableActivity() |
Creates an instance of Set |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Set |
fromJson(JsonReader jsonReader)
Reads an instance of Set |
|
Secure |
getPolicy()
Get the policy property: Activity policy. |
| String |
getType()
Get the type property: Type of activity. |
| Object |
getValue()
Get the value property: Value to be set. |
| String |
getVariableName()
Get the variable |
| Boolean |
isSetSystemVariable()
Get the set |
|
Set |
setDependsOn(List<ActivityDependency> dependsOn)
Set the depends |
|
Set |
setDescription(String description)
Set the description property: Activity description. |
|
Set |
setName(String name)
Set the name property: Activity name. |
|
Set |
setOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)
Set the on |
|
Set |
setPolicy(SecureInputOutputPolicy policy)
Set the policy property: Activity policy. |
|
Set |
setSetSystemVariable(Boolean setSystemVariable)
Set the set |
|
Set |
setState(ActivityState state)
Set the state property: Activity state. |
|
Set |
setUserProperties(List<UserProperty> userProperties)
Set the user |
|
Set |
setValue(Object value)
Set the value property: Value to be set. |
|
Set |
setVariableName(String variableName)
Set the variable |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from Activity
Methods inherited from ControlActivity
Methods inherited from java.lang.Object
Constructor Details
SetVariableActivity
public SetVariableActivity()
Creates an instance of SetVariableActivity class.
Method Details
fromJson
public static SetVariableActivity fromJson(JsonReader jsonReader)
Reads an instance of SetVariableActivity from the JsonReader.
Parameters:
Returns:
Throws:
getPolicy
public SecureInputOutputPolicy getPolicy()
Get the policy property: Activity policy.
Returns:
getType
public String getType()
Get the type property: Type of activity.
Overrides:
SetVariableActivity.getType()Returns:
getValue
public Object getValue()
Get the value property: Value to be set. Could be a static value or Expression.
Returns:
getVariableName
public String getVariableName()
Get the variableName property: Name of the variable whose value needs to be set.
Returns:
isSetSystemVariable
public Boolean isSetSystemVariable()
Get the setSystemVariable property: If set to true, it sets the pipeline run return value.
Returns:
setDependsOn
public SetVariableActivity setDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.
Overrides:
SetVariableActivity.setDependsOn(List<ActivityDependency> dependsOn)Parameters:
setDescription
public SetVariableActivity setDescription(String description)
Set the description property: Activity description.
Overrides:
SetVariableActivity.setDescription(String description)Parameters:
setName
public SetVariableActivity setName(String name)
Set the name property: Activity name.
Overrides:
SetVariableActivity.setName(String name)Parameters:
setOnInactiveMarkAs
public SetVariableActivity setOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)
Set the onInactiveMarkAs property: Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default.
Overrides:
SetVariableActivity.setOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)Parameters:
setPolicy
public SetVariableActivity setPolicy(SecureInputOutputPolicy policy)
Set the policy property: Activity policy.
Parameters:
Returns:
setSetSystemVariable
public SetVariableActivity setSetSystemVariable(Boolean setSystemVariable)
Set the setSystemVariable property: If set to true, it sets the pipeline run return value.
Parameters:
Returns:
setState
public SetVariableActivity setState(ActivityState state)
Set the state property: Activity state. This is an optional property and if not provided, the state will be Active by default.
Overrides:
SetVariableActivity.setState(ActivityState state)Parameters:
setUserProperties
public SetVariableActivity setUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.
Overrides:
SetVariableActivity.setUserProperties(List<UserProperty> userProperties)Parameters:
setValue
public SetVariableActivity setValue(Object value)
Set the value property: Value to be set. Could be a static value or Expression.
Parameters:
Returns:
setVariableName
public SetVariableActivity setVariableName(String variableName)
Set the variableName property: Name of the variable whose value needs to be set.
Parameters:
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SetVariableActivity.toJson(JsonWriter jsonWriter)Parameters:
Throws: