Class ActivityPolicy
java.lang.Object
com.azure.analytics.synapse.artifacts.models.ActivityPolicy
Execution policy for an activity.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: Execution policy for an activity.getRetry()
Get the retry property: Maximum ordinary retry attempts.Get the retryIntervalInSeconds property: Interval between each retry attempt (in seconds).Get the timeout property: Specifies the timeout for the activity to run.Get the secureInput property: When set to true, Input from activity is considered as secure and will not be logged to monitoring.Get the secureOutput property: When set to true, Output from activity is considered as secure and will not be logged to monitoring.setAdditionalProperties
(Map<String, Object> additionalProperties) Set the additionalProperties property: Execution policy for an activity.Set the retry property: Maximum ordinary retry attempts.setRetryIntervalInSeconds
(Integer retryIntervalInSeconds) Set the retryIntervalInSeconds property: Interval between each retry attempt (in seconds).setSecureInput
(Boolean secureInput) Set the secureInput property: When set to true, Input from activity is considered as secure and will not be logged to monitoring.setSecureOutput
(Boolean secureOutput) Set the secureOutput property: When set to true, Output from activity is considered as secure and will not be logged to monitoring.setTimeout
(Object timeout) Set the timeout property: Specifies the timeout for the activity to run.
-
Constructor Details
-
ActivityPolicy
public ActivityPolicy()
-
-
Method Details
-
getTimeout
Get the timeout property: Specifies the timeout for the activity to run. The default timeout is 7 days. 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.
-
setTimeout
Set the timeout property: Specifies the timeout for the activity to run. The default timeout is 7 days. 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 ActivityPolicy object itself.
-
getRetry
Get the retry property: Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType integer), minimum: 0.- Returns:
- the retry value.
-
setRetry
Set the retry property: Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType integer), minimum: 0.- Parameters:
retry
- the retry value to set.- Returns:
- the ActivityPolicy object itself.
-
getRetryIntervalInSeconds
Get the retryIntervalInSeconds property: Interval between each retry attempt (in seconds). The default is 30 sec.- Returns:
- the retryIntervalInSeconds value.
-
setRetryIntervalInSeconds
Set the retryIntervalInSeconds property: Interval between each retry attempt (in seconds). The default is 30 sec.- Parameters:
retryIntervalInSeconds
- the retryIntervalInSeconds value to set.- Returns:
- the ActivityPolicy object itself.
-
isSecureInput
Get the secureInput property: When set to true, Input from activity is considered as secure and will not be logged to monitoring.- Returns:
- the secureInput value.
-
setSecureInput
Set the secureInput property: When set to true, Input from activity is considered as secure and will not be logged to monitoring.- Parameters:
secureInput
- the secureInput value to set.- Returns:
- the ActivityPolicy object itself.
-
isSecureOutput
Get the secureOutput property: When set to true, Output from activity is considered as secure and will not be logged to monitoring.- Returns:
- the secureOutput value.
-
setSecureOutput
Set the secureOutput property: When set to true, Output from activity is considered as secure and will not be logged to monitoring.- Parameters:
secureOutput
- the secureOutput value to set.- Returns:
- the ActivityPolicy object itself.
-
getAdditionalProperties
Get the additionalProperties property: Execution policy for an activity.- Returns:
- the additionalProperties value.
-
setAdditionalProperties
Set the additionalProperties property: Execution policy for an activity.- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the ActivityPolicy object itself.
-