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 |
---|---|
Secure |
policy()
Get the policy property: Activity policy. |
Boolean |
setSystemVariable()
Get the set |
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
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:
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
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
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:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for