Class UntilActivityTypeProperties
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.fluent.models.UntilActivityTypeProperties
-
public final class UntilActivityTypeProperties extends Object
Until activity properties.
-
-
Constructor Summary
Constructors Constructor Description UntilActivityTypeProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Activity>activities()Get the activities property: List of activities to execute.Expressionexpression()Get the expression property: An expression that would evaluate to Boolean.Objecttimeout()Get the timeout property: Specifies the timeout for the activity to run.voidvalidate()Validates the instance.UntilActivityTypePropertieswithActivities(List<Activity> activities)Set the activities property: List of activities to execute.UntilActivityTypePropertieswithExpression(Expression expression)Set the expression property: An expression that would evaluate to Boolean.UntilActivityTypePropertieswithTimeout(Object timeout)Set the timeout property: Specifies the timeout for the activity to run.
-
-
-
Method Detail
-
expression
public Expression 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
public UntilActivityTypeProperties withExpression(Expression expression)
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
public Object 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
public UntilActivityTypeProperties withTimeout(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])). 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
public List<Activity> activities()
Get the activities property: List of activities to execute.- Returns:
- the activities value.
-
withActivities
public UntilActivityTypeProperties withActivities(List<Activity> activities)
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.
-
-