Class RetryPolicy
java.lang.Object
com.azure.resourcemanager.datafactory.models.RetryPolicy
Execution policy for an activity.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncount()
Get the count property: Maximum ordinary retry attempts.Get the intervalInSeconds property: Interval between retries in seconds.void
validate()
Validates the instance.Set the count property: Maximum ordinary retry attempts.withIntervalInSeconds
(Integer intervalInSeconds) Set the intervalInSeconds property: Interval between retries in seconds.
-
Constructor Details
-
RetryPolicy
public RetryPolicy()Creates an instance of RetryPolicy class.
-
-
Method Details
-
count
Get the count property: Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType integer), minimum: 0.- Returns:
- the count value.
-
withCount
Set the count property: Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType integer), minimum: 0.- Parameters:
count
- the count value to set.- Returns:
- the RetryPolicy object itself.
-
intervalInSeconds
Get the intervalInSeconds property: Interval between retries in seconds. Default is 30.- Returns:
- the intervalInSeconds value.
-
withIntervalInSeconds
Set the intervalInSeconds property: Interval between retries in seconds. Default is 30.- Parameters:
intervalInSeconds
- the intervalInSeconds value to set.- Returns:
- the RetryPolicy object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-