Class UntilActivityTypeProperties
java.lang.Object
com.azure.resourcemanager.datafactory.fluent.models.UntilActivityTypeProperties
Until activity properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the activities property: List of activities to execute.Get the expression property: An expression that would evaluate to Boolean.timeout()
Get the timeout property: Specifies the timeout for the activity to run.void
validate()
Validates the instance.withActivities
(List<Activity> activities) Set the activities property: List of activities to execute.withExpression
(Expression expression) Set the expression property: An expression that would evaluate to Boolean.withTimeout
(Object timeout) Set the timeout property: Specifies the timeout for the activity to run.
-
Constructor Details
-
UntilActivityTypeProperties
public UntilActivityTypeProperties()
-
-
Method Details
-
expression
Get the expression property: An expression that would evaluate to Boolean. The loop will continue until this expression evaluates to true.- Returns:
- the expression value.
-
withExpression
Set the expression property: An expression that would evaluate to Boolean. The loop will continue until this expression evaluates to true.- Parameters:
expression
- the expression value to set.- Returns:
- the UntilActivityTypeProperties object itself.
-
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])). 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])). 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 UntilActivityTypeProperties object itself.
-
activities
Get the activities property: List of activities to execute.- Returns:
- the activities value.
-
withActivities
Set the activities property: List of activities to execute.- Parameters:
activities
- the activities value to set.- Returns:
- the UntilActivityTypeProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-