EnterpriseCrmEventbusProtoFailurePolicyArgs

data class EnterpriseCrmEventbusProtoFailurePolicyArgs(val intervalInSeconds: Output<String>? = null, val maxNumRetries: Output<Int>? = null, val retryStrategy: Output<EnterpriseCrmEventbusProtoFailurePolicyRetryStrategy>? = null) : ConvertibleToJava<EnterpriseCrmEventbusProtoFailurePolicyArgs>

Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a retry_strategy of NONE will be applied).

Constructors

constructor(intervalInSeconds: Output<String>? = null, maxNumRetries: Output<Int>? = null, retryStrategy: Output<EnterpriseCrmEventbusProtoFailurePolicyRetryStrategy>? = null)

Properties

Link copied to clipboard
val intervalInSeconds: Output<String>? = null

Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.

Link copied to clipboard
val maxNumRetries: Output<Int>? = null

Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.

Link copied to clipboard

Defines what happens to the task upon failure.

Functions

Link copied to clipboard
open override fun toJava(): EnterpriseCrmEventbusProtoFailurePolicyArgs