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