Class WaitActivity
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.Activity
-
- com.azure.resourcemanager.datafactory.models.ControlActivity
-
- com.azure.resourcemanager.datafactory.models.WaitActivity
-
public final class WaitActivity extends ControlActivity
This activity suspends pipeline execution for the specified interval.
-
-
Constructor Summary
Constructors Constructor Description WaitActivity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.Object
waitTimeInSeconds()
Get the waitTimeInSeconds property: Duration in seconds.WaitActivity
withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.WaitActivity
withDescription(String description)
Set the description property: Activity description.WaitActivity
withName(String name)
Set the name property: Activity name.WaitActivity
withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.WaitActivity
withWaitTimeInSeconds(Object waitTimeInSeconds)
Set the waitTimeInSeconds property: Duration in seconds.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.Activity
additionalProperties, dependsOn, description, name, userProperties, withAdditionalProperties
-
-
-
-
Method Detail
-
withName
public WaitActivity 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 WaitActivity 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 WaitActivity 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 WaitActivity 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.
-
waitTimeInSeconds
public Object waitTimeInSeconds()
Get the waitTimeInSeconds property: Duration in seconds.- Returns:
- the waitTimeInSeconds value.
-
withWaitTimeInSeconds
public WaitActivity withWaitTimeInSeconds(Object waitTimeInSeconds)
Set the waitTimeInSeconds property: Duration in seconds.- Parameters:
waitTimeInSeconds
- the waitTimeInSeconds value to set.- Returns:
- the WaitActivity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classControlActivity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-