Class ValidationActivityTypeProperties
java.lang.Object
com.azure.resourcemanager.datafactory.fluent.models.ValidationActivityTypeProperties
Validation activity properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the childItems property: Can be used if dataset points to a folder.dataset()
Get the dataset property: Validation activity dataset reference.Get the minimumSize property: Can be used if dataset points to a file.sleep()
Get the sleep property: A delay in seconds between validation attempts.timeout()
Get the timeout property: Specifies the timeout for the activity to run.void
validate()
Validates the instance.withChildItems
(Object childItems) Set the childItems property: Can be used if dataset points to a folder.withDataset
(DatasetReference dataset) Set the dataset property: Validation activity dataset reference.withMinimumSize
(Object minimumSize) Set the minimumSize property: Can be used if dataset points to a file.Set the sleep property: A delay in seconds between validation attempts.withTimeout
(Object timeout) Set the timeout property: Specifies the timeout for the activity to run.
-
Constructor Details
-
ValidationActivityTypeProperties
public ValidationActivityTypeProperties()
-
-
Method Details
-
timeout
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.
-
withTimeout
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 ValidationActivityTypeProperties object itself.
-
sleep
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.
-
withSleep
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 ValidationActivityTypeProperties object itself.
-
minimumSize
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.
-
withMinimumSize
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 ValidationActivityTypeProperties object itself.
-
childItems
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.
-
withChildItems
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 ValidationActivityTypeProperties object itself.
-
dataset
Get the dataset property: Validation activity dataset reference.- Returns:
- the dataset value.
-
withDataset
Set the dataset property: Validation activity dataset reference.- Parameters:
dataset
- the dataset value to set.- Returns:
- the ValidationActivityTypeProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-