Class ExecutePipelineActivity
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.Activity
-
- com.azure.resourcemanager.datafactory.models.ControlActivity
-
- com.azure.resourcemanager.datafactory.models.ExecutePipelineActivity
-
public final class ExecutePipelineActivity extends ControlActivity
Execute pipeline activity.
-
-
Constructor Summary
Constructors Constructor Description ExecutePipelineActivity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
parameters()
Get the parameters property: Pipeline parameters.PipelineReference
pipeline()
Get the pipeline property: Pipeline reference.ExecutePipelineActivityPolicy
policy()
Get the policy property: Execute pipeline activity policy.void
validate()
Validates the instance.Boolean
waitOnCompletion()
Get the waitOnCompletion property: Defines whether activity execution will wait for the dependent pipeline execution to finish.ExecutePipelineActivity
withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.ExecutePipelineActivity
withDescription(String description)
Set the description property: Activity description.ExecutePipelineActivity
withName(String name)
Set the name property: Activity name.ExecutePipelineActivity
withParameters(Map<String,Object> parameters)
Set the parameters property: Pipeline parameters.ExecutePipelineActivity
withPipeline(PipelineReference pipeline)
Set the pipeline property: Pipeline reference.ExecutePipelineActivity
withPolicy(ExecutePipelineActivityPolicy policy)
Set the policy property: Execute pipeline activity policy.ExecutePipelineActivity
withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.ExecutePipelineActivity
withWaitOnCompletion(Boolean waitOnCompletion)
Set the waitOnCompletion property: Defines whether activity execution will wait for the dependent pipeline execution to finish.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.Activity
additionalProperties, dependsOn, description, name, userProperties, withAdditionalProperties
-
-
-
-
Method Detail
-
policy
public ExecutePipelineActivityPolicy policy()
Get the policy property: Execute pipeline activity policy.- Returns:
- the policy value.
-
withPolicy
public ExecutePipelineActivity withPolicy(ExecutePipelineActivityPolicy policy)
Set the policy property: Execute pipeline activity policy.- Parameters:
policy
- the policy value to set.- Returns:
- the ExecutePipelineActivity object itself.
-
withName
public ExecutePipelineActivity withName(String name)
Set the name property: Activity name.- Overrides:
withName
in classControlActivity
- Parameters:
name
- the name value to set.- Returns:
- the Activity object itself.
-
withDescription
public ExecutePipelineActivity withDescription(String description)
Set the description property: Activity description.- Overrides:
withDescription
in classControlActivity
- Parameters:
description
- the description value to set.- Returns:
- the Activity object itself.
-
withDependsOn
public ExecutePipelineActivity withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.- Overrides:
withDependsOn
in classControlActivity
- Parameters:
dependsOn
- the dependsOn value to set.- Returns:
- the Activity object itself.
-
withUserProperties
public ExecutePipelineActivity withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.- Overrides:
withUserProperties
in classControlActivity
- Parameters:
userProperties
- the userProperties value to set.- Returns:
- the Activity object itself.
-
pipeline
public PipelineReference pipeline()
Get the pipeline property: Pipeline reference.- Returns:
- the pipeline value.
-
withPipeline
public ExecutePipelineActivity withPipeline(PipelineReference pipeline)
Set the pipeline property: Pipeline reference.- Parameters:
pipeline
- the pipeline value to set.- Returns:
- the ExecutePipelineActivity object itself.
-
parameters
public Map<String,Object> parameters()
Get the parameters property: Pipeline parameters.- Returns:
- the parameters value.
-
withParameters
public ExecutePipelineActivity withParameters(Map<String,Object> parameters)
Set the parameters property: Pipeline parameters.- Parameters:
parameters
- the parameters value to set.- Returns:
- the ExecutePipelineActivity object itself.
-
waitOnCompletion
public Boolean waitOnCompletion()
Get the waitOnCompletion property: Defines whether activity execution will wait for the dependent pipeline execution to finish. Default is false.- Returns:
- the waitOnCompletion value.
-
withWaitOnCompletion
public ExecutePipelineActivity withWaitOnCompletion(Boolean waitOnCompletion)
Set the waitOnCompletion property: Defines whether activity execution will wait for the dependent pipeline execution to finish. Default is false.- Parameters:
waitOnCompletion
- the waitOnCompletion value to set.- Returns:
- the ExecutePipelineActivity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classControlActivity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-