Interface CloudTasksQueueRetryConfig
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CloudTasksQueueRetryConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:18.041Z") @Stability(Stable) public interface CloudTasksQueueRetryConfig extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCloudTasksQueueRetryConfig.BuilderA builder forCloudTasksQueueRetryConfigstatic classCloudTasksQueueRetryConfig.Jsii$ProxyAn implementation forCloudTasksQueueRetryConfig
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static CloudTasksQueueRetryConfig.Builderbuilder()default NumbergetMaxAttempts()Number of attempts per task.default StringgetMaxBackoff()A task will be scheduled for retry between minBackoff and maxBackoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried.default NumbergetMaxDoublings()The time between retries will double maxDoublings times.default StringgetMaxRetryDuration()If positive, maxRetryDuration specifies the time limit for retrying a failed task, measured from when the task was first attempted.default StringgetMinBackoff()A task will be scheduled for retry between minBackoff and maxBackoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried.
-
-
-
Method Detail
-
getMaxAttempts
@Stability(Stable) @Nullable default Number getMaxAttempts()
Number of attempts per task.Cloud Tasks will attempt the task maxAttempts times (that is, if the first attempt fails, then there will be maxAttempts - 1 retries). Must be >= -1. If unspecified when the queue is created, Cloud Tasks will pick the default. -1 indicates unlimited attempts. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_tasks_queue#max_attempts CloudTasksQueue#max_attempts}
-
getMaxBackoff
@Stability(Stable) @Nullable default String getMaxBackoff()
A task will be scheduled for retry between minBackoff and maxBackoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_tasks_queue#max_backoff CloudTasksQueue#max_backoff}
-
getMaxDoublings
@Stability(Stable) @Nullable default Number getMaxDoublings()
The time between retries will double maxDoublings times.A task's retry interval starts at minBackoff, then doubles maxDoublings times, then increases linearly, and finally retries retries at intervals of maxBackoff up to maxAttempts times. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_tasks_queue#max_doublings CloudTasksQueue#max_doublings}
-
getMaxRetryDuration
@Stability(Stable) @Nullable default String getMaxRetryDuration()
If positive, maxRetryDuration specifies the time limit for retrying a failed task, measured from when the task was first attempted.Once maxRetryDuration time has passed and the task has been attempted maxAttempts times, no further attempts will be made and the task will be deleted. If zero, then the task age is unlimited. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_tasks_queue#max_retry_duration CloudTasksQueue#max_retry_duration}
-
getMinBackoff
@Stability(Stable) @Nullable default String getMinBackoff()
A task will be scheduled for retry between minBackoff and maxBackoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_tasks_queue#min_backoff CloudTasksQueue#min_backoff}
-
builder
@Stability(Stable) static CloudTasksQueueRetryConfig.Builder builder()
- Returns:
- a
CloudTasksQueueRetryConfig.BuilderofCloudTasksQueueRetryConfig
-
-