WaitActivity Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. Activity - com.
azure. resourcemanager. datafactory. models. ControlActivity - com.
azure. resourcemanager. datafactory. models. WaitActivity
- com.
- com.
- com.
public final class WaitActivity
extends ControlActivity
This activity suspends pipeline execution for the specified interval.
Constructor Summary
| Constructor | Description |
|---|---|
| WaitActivity() |
Creates an instance of Wait |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Wait |
fromJson(JsonReader jsonReader)
Reads an instance of Wait |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Type of activity. |
| void |
validate()
Validates the instance. |
| Object |
waitTimeInSeconds()
Get the wait |
|
Wait |
withDependsOn(List<ActivityDependency> dependsOn)
Set the depends |
|
Wait |
withDescription(String description)
Set the description property: Activity description. |
|
Wait |
withName(String name)
Set the name property: Activity name. |
|
Wait |
withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)
Set the on |
|
Wait |
withState(ActivityState state)
Set the state property: Activity state. |
|
Wait |
withUserProperties(List<UserProperty> userProperties)
Set the user |
|
Wait |
withWaitTimeInSeconds(Object waitTimeInSeconds)
Set the wait |
Methods inherited from Activity
Methods inherited from ControlActivity
Methods inherited from java.lang.Object
Constructor Details
WaitActivity
public WaitActivity()
Creates an instance of WaitActivity class.
Method Details
fromJson
public static WaitActivity fromJson(JsonReader jsonReader)
Reads an instance of WaitActivity from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
WaitActivity.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Type of activity.
Overrides:
WaitActivity.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
WaitActivity.validate()waitTimeInSeconds
public Object waitTimeInSeconds()
Get the waitTimeInSeconds property: Duration in seconds. Type: integer (or Expression with resultType integer).
Returns:
withDependsOn
public WaitActivity withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.
Overrides:
WaitActivity.withDependsOn(List<ActivityDependency> dependsOn)Parameters:
withDescription
public WaitActivity withDescription(String description)
Set the description property: Activity description.
Overrides:
WaitActivity.withDescription(String description)Parameters:
withName
public WaitActivity withName(String name)
Set the name property: Activity name.
Overrides:
WaitActivity.withName(String name)Parameters:
withOnInactiveMarkAs
public WaitActivity 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:
WaitActivity.withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)Parameters:
withState
public WaitActivity 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:
WaitActivity.withState(ActivityState state)Parameters:
withUserProperties
public WaitActivity withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.
Overrides:
WaitActivity.withUserProperties(List<UserProperty> userProperties)Parameters:
withWaitTimeInSeconds
public WaitActivity withWaitTimeInSeconds(Object waitTimeInSeconds)
Set the waitTimeInSeconds property: Duration in seconds. Type: integer (or Expression with resultType integer).
Parameters:
Returns: