Class ValidationActivity
- java.lang.Object
-
- com.azure.analytics.synapse.artifacts.models.Activity
-
- com.azure.analytics.synapse.artifacts.models.ControlActivity
-
- com.azure.analytics.synapse.artifacts.models.ValidationActivity
-
public class ValidationActivity extends ControlActivity
This activity verifies that an external resource exists.
-
-
Constructor Summary
Constructors Constructor Description ValidationActivity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getChildItems()
Get the childItems property: Can be used if dataset points to a folder.DatasetReference
getDataset()
Get the dataset property: Validation activity dataset reference.Object
getMinimumSize()
Get the minimumSize property: Can be used if dataset points to a file.Object
getSleep()
Get the sleep property: A delay in seconds between validation attempts.Object
getTimeout()
Get the timeout property: Specifies the timeout for the activity to run.ValidationActivity
setChildItems(Object childItems)
Set the childItems property: Can be used if dataset points to a folder.ValidationActivity
setDataset(DatasetReference dataset)
Set the dataset property: Validation activity dataset reference.ValidationActivity
setDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.ValidationActivity
setDescription(String description)
Set the description property: Activity description.ValidationActivity
setMinimumSize(Object minimumSize)
Set the minimumSize property: Can be used if dataset points to a file.ValidationActivity
setName(String name)
Set the name property: Activity name.ValidationActivity
setSleep(Object sleep)
Set the sleep property: A delay in seconds between validation attempts.ValidationActivity
setTimeout(Object timeout)
Set the timeout property: Specifies the timeout for the activity to run.ValidationActivity
setUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.-
Methods inherited from class com.azure.analytics.synapse.artifacts.models.Activity
getAdditionalProperties, getDependsOn, getDescription, getName, getUserProperties, setAdditionalProperties
-
-
-
-
Method Detail
-
getTimeout
public Object getTimeout()
Get the timeout property: Specifies the timeout for the activity to run. If there is no value specified, it takes the value of TimeSpan.FromDays(7) which is 1 week as default. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).- Returns:
- the timeout value.
-
setTimeout
public ValidationActivity setTimeout(Object timeout)
Set the timeout property: Specifies the timeout for the activity to run. If there is no value specified, it takes the value of TimeSpan.FromDays(7) which is 1 week as default. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).- Parameters:
timeout
- the timeout value to set.- Returns:
- the ValidationActivity object itself.
-
getSleep
public Object getSleep()
Get the sleep property: A delay in seconds between validation attempts. If no value is specified, 10 seconds will be used as the default. Type: integer (or Expression with resultType integer).- Returns:
- the sleep value.
-
setSleep
public ValidationActivity setSleep(Object sleep)
Set the sleep property: A delay in seconds between validation attempts. If no value is specified, 10 seconds will be used as the default. Type: integer (or Expression with resultType integer).- Parameters:
sleep
- the sleep value to set.- Returns:
- the ValidationActivity object itself.
-
getMinimumSize
public Object getMinimumSize()
Get the minimumSize property: Can be used if dataset points to a file. The file must be greater than or equal in size to the value specified. Type: integer (or Expression with resultType integer).- Returns:
- the minimumSize value.
-
setMinimumSize
public ValidationActivity setMinimumSize(Object minimumSize)
Set the minimumSize property: Can be used if dataset points to a file. The file must be greater than or equal in size to the value specified. Type: integer (or Expression with resultType integer).- Parameters:
minimumSize
- the minimumSize value to set.- Returns:
- the ValidationActivity object itself.
-
getChildItems
public Object getChildItems()
Get the childItems property: Can be used if dataset points to a folder. If set to true, the folder must have at least one file. If set to false, the folder must be empty. Type: boolean (or Expression with resultType boolean).- Returns:
- the childItems value.
-
setChildItems
public ValidationActivity setChildItems(Object childItems)
Set the childItems property: Can be used if dataset points to a folder. If set to true, the folder must have at least one file. If set to false, the folder must be empty. Type: boolean (or Expression with resultType boolean).- Parameters:
childItems
- the childItems value to set.- Returns:
- the ValidationActivity object itself.
-
getDataset
public DatasetReference getDataset()
Get the dataset property: Validation activity dataset reference.- Returns:
- the dataset value.
-
setDataset
public ValidationActivity setDataset(DatasetReference dataset)
Set the dataset property: Validation activity dataset reference.- Parameters:
dataset
- the dataset value to set.- Returns:
- the ValidationActivity object itself.
-
setName
public ValidationActivity setName(String name)
Set the name property: Activity name.- Overrides:
setName
in classControlActivity
- Parameters:
name
- the name value to set.- Returns:
- the Activity object itself.
-
setDescription
public ValidationActivity setDescription(String description)
Set the description property: Activity description.- Overrides:
setDescription
in classControlActivity
- Parameters:
description
- the description value to set.- Returns:
- the Activity object itself.
-
setDependsOn
public ValidationActivity setDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.- Overrides:
setDependsOn
in classControlActivity
- Parameters:
dependsOn
- the dependsOn value to set.- Returns:
- the Activity object itself.
-
setUserProperties
public ValidationActivity setUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.- Overrides:
setUserProperties
in classControlActivity
- Parameters:
userProperties
- the userProperties value to set.- Returns:
- the Activity object itself.
-
-