public final class ActivityPolicy extends Object
| Constructor and Description |
|---|
ActivityPolicy() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
additionalProperties()
Get the additionalProperties property: Execution policy for an activity.
|
Object |
retry()
Get the retry property: Maximum ordinary retry attempts.
|
Integer |
retryIntervalInSeconds()
Get the retryIntervalInSeconds property: Interval between each retry attempt (in seconds).
|
Boolean |
secureInput()
Get the secureInput property: When set to true, Input from activity is considered as secure and will not be
logged to monitoring.
|
Boolean |
secureOutput()
Get the secureOutput property: When set to true, Output from activity is considered as secure and will not be
logged to monitoring.
|
Object |
timeout()
Get the timeout property: Specifies the timeout for the activity to run.
|
void |
validate()
Validates the instance.
|
ActivityPolicy |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Execution policy for an activity.
|
ActivityPolicy |
withRetry(Object retry)
Set the retry property: Maximum ordinary retry attempts.
|
ActivityPolicy |
withRetryIntervalInSeconds(Integer retryIntervalInSeconds)
Set the retryIntervalInSeconds property: Interval between each retry attempt (in seconds).
|
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.
|
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.
|
ActivityPolicy |
withTimeout(Object timeout)
Set the timeout property: Specifies the timeout for the activity to run.
|
public Object timeout()
public ActivityPolicy withTimeout(Object timeout)
timeout - the timeout value to set.public Object retry()
public ActivityPolicy withRetry(Object retry)
retry - the retry value to set.public Integer retryIntervalInSeconds()
public ActivityPolicy withRetryIntervalInSeconds(Integer retryIntervalInSeconds)
retryIntervalInSeconds - the retryIntervalInSeconds value to set.public Boolean secureInput()
public ActivityPolicy withSecureInput(Boolean secureInput)
secureInput - the secureInput value to set.public Boolean secureOutput()
public ActivityPolicy withSecureOutput(Boolean secureOutput)
secureOutput - the secureOutput value to set.public Map<String,Object> additionalProperties()
public ActivityPolicy withAdditionalProperties(Map<String,Object> additionalProperties)
additionalProperties - the additionalProperties value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.