Class RetryPolicy
- java.lang.Object
-
- com.azure.analytics.synapse.artifacts.models.RetryPolicy
-
public final class RetryPolicy extends Object
Execution policy for an activity.
-
-
Constructor Summary
Constructors Constructor Description RetryPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getCount()
Get the count property: Maximum ordinary retry attempts.Integer
getIntervalInSeconds()
Get the intervalInSeconds property: Interval between retries in seconds.RetryPolicy
setCount(Object count)
Set the count property: Maximum ordinary retry attempts.RetryPolicy
setIntervalInSeconds(Integer intervalInSeconds)
Set the intervalInSeconds property: Interval between retries in seconds.
-
-
-
Method Detail
-
getCount
public Object getCount()
Get the count property: Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType integer), minimum: 0.- Returns:
- the count value.
-
setCount
public RetryPolicy setCount(Object count)
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.
-
getIntervalInSeconds
public Integer getIntervalInSeconds()
Get the intervalInSeconds property: Interval between retries in seconds. Default is 30.- Returns:
- the intervalInSeconds value.
-
setIntervalInSeconds
public RetryPolicy setIntervalInSeconds(Integer intervalInSeconds)
Set the intervalInSeconds property: Interval between retries in seconds. Default is 30.- Parameters:
intervalInSeconds
- the intervalInSeconds value to set.- Returns:
- the RetryPolicy object itself.
-
-