SetVariableActivity Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. Activity - com.
azure. resourcemanager. datafactory. models. ControlActivity - com.
azure. resourcemanager. datafactory. models. SetVariableActivity
- com.
- com.
- com.
public final 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 |
policy()
Get the policy property: Activity policy. |
| Boolean |
setSystemVariable()
Get the set |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Type of activity. |
| void |
validate()
Validates the instance. |
| Object |
value()
Get the value property: Value to be set. |
| String |
variableName()
Get the variable |
|
Set |
withDependsOn(List<ActivityDependency> dependsOn)
Set the depends |
|
Set |
withDescription(String description)
Set the description property: Activity description. |
|
Set |
withName(String name)
Set the name property: Activity name. |
|
Set |
withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)
Set the on |
|
Set |
withPolicy(SecureInputOutputPolicy policy)
Set the policy property: Activity policy. |
|
Set |
withSetSystemVariable(Boolean setSystemVariable)
Set the set |
|
Set |
withState(ActivityState state)
Set the state property: Activity state. |
|
Set |
withUserProperties(List<UserProperty> userProperties)
Set the user |
|
Set |
withValue(Object value)
Set the value property: Value to be set. |
|
Set |
withVariableName(String variableName)
Set the variable |
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:
policy
public SecureInputOutputPolicy policy()
Get the policy property: Activity policy.
Returns:
setSystemVariable
public Boolean setSystemVariable()
Get the setSystemVariable property: If set to true, it sets the pipeline run return value.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SetVariableActivity.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Type of activity.
Overrides:
SetVariableActivity.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
SetVariableActivity.validate()value
public Object value()
Get the value property: Value to be set. Could be a static value or Expression.
Returns:
variableName
public String variableName()
Get the variableName property: Name of the variable whose value needs to be set.
Returns:
withDependsOn
public SetVariableActivity withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.
Overrides:
SetVariableActivity.withDependsOn(List<ActivityDependency> dependsOn)Parameters:
withDescription
public SetVariableActivity withDescription(String description)
Set the description property: Activity description.
Overrides:
SetVariableActivity.withDescription(String description)Parameters:
withName
public SetVariableActivity withName(String name)
Set the name property: Activity name.
Overrides:
SetVariableActivity.withName(String name)Parameters:
withOnInactiveMarkAs
public SetVariableActivity withOnInactiveMarkAs(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.withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)Parameters:
withPolicy
public SetVariableActivity withPolicy(SecureInputOutputPolicy policy)
Set the policy property: Activity policy.
Parameters:
Returns:
withSetSystemVariable
public SetVariableActivity withSetSystemVariable(Boolean setSystemVariable)
Set the setSystemVariable property: If set to true, it sets the pipeline run return value.
Parameters:
Returns:
withState
public SetVariableActivity withState(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.withState(ActivityState state)Parameters:
withUserProperties
public SetVariableActivity withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.
Overrides:
SetVariableActivity.withUserProperties(List<UserProperty> userProperties)Parameters:
withValue
public SetVariableActivity withValue(Object value)
Set the value property: Value to be set. Could be a static value or Expression.
Parameters:
Returns:
withVariableName
public SetVariableActivity withVariableName(String variableName)
Set the variableName property: Name of the variable whose value needs to be set.
Parameters:
Returns: