ActivityPolicy Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. ActivityPolicy
- com.
Implements
public final class ActivityPolicy
implements JsonSerializable<ActivityPolicy>
Execution policy for an activity.
Constructor Summary
| Constructor | Description |
|---|---|
| ActivityPolicy() |
Creates an instance of Activity |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Map<String,Object> |
additionalProperties()
Get the additional |
|
static
Activity |
fromJson(JsonReader jsonReader)
Reads an instance of Activity |
| Object |
retry()
Get the retry property: Maximum ordinary retry attempts. |
| Integer |
retryIntervalInSeconds()
Get the retry |
| Boolean |
secureInput()
Get the secure |
| Boolean |
secureOutput()
Get the secure |
| Object |
timeout()
Get the timeout property: Specifies the timeout for the activity to run. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Activity |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
|
Activity |
withRetry(Object retry)
Set the retry property: Maximum ordinary retry attempts. |
|
Activity |
withRetryIntervalInSeconds(Integer retryIntervalInSeconds)
Set the retry |
|
Activity |
withSecureInput(Boolean secureInput)
Set the secure |
|
Activity |
withSecureOutput(Boolean secureOutput)
Set the secure |
|
Activity |
withTimeout(Object timeout)
Set the timeout property: Specifies the timeout for the activity to run. |
Methods inherited from java.lang.Object
Constructor Details
ActivityPolicy
public ActivityPolicy()
Creates an instance of ActivityPolicy class.
Method Details
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: Execution policy for an activity.
Returns:
fromJson
public static ActivityPolicy fromJson(JsonReader jsonReader)
Reads an instance of ActivityPolicy from the JsonReader.
Parameters:
Returns:
Throws:
retry
public Object retry()
Get the retry property: Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType integer), minimum: 0.
Returns:
retryIntervalInSeconds
public Integer retryIntervalInSeconds()
Get the retryIntervalInSeconds property: Interval between each retry attempt (in seconds). The default is 30 sec.
Returns:
secureInput
public Boolean secureInput()
Get the secureInput property: When set to true, Input from activity is considered as secure and will not be logged to monitoring.
Returns:
secureOutput
public Boolean secureOutput()
Get the secureOutput property: When set to true, Output from activity is considered as secure and will not be logged to monitoring.
Returns:
timeout
public Object timeout()
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:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public ActivityPolicy withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Execution policy for an activity.
Parameters:
Returns:
withRetry
public ActivityPolicy withRetry(Object retry)
Set the retry property: Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType integer), minimum: 0.
Parameters:
Returns:
withRetryIntervalInSeconds
public ActivityPolicy withRetryIntervalInSeconds(Integer retryIntervalInSeconds)
Set the retryIntervalInSeconds property: Interval between each retry attempt (in seconds). The default is 30 sec.
Parameters:
Returns:
withSecureInput
public ActivityPolicy withSecureInput(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:
Returns:
withSecureOutput
public ActivityPolicy withSecureOutput(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:
Returns:
withTimeout
public ActivityPolicy withTimeout(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:
Returns: