Class CloudTasksQueueRetryConfig.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.cloud_tasks_queue.CloudTasksQueueRetryConfig.Jsii$Proxy
-
- All Implemented Interfaces:
CloudTasksQueueRetryConfig,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CloudTasksQueueRetryConfig
@Stability(Stable) @Internal public static final class CloudTasksQueueRetryConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CloudTasksQueueRetryConfig
An implementation forCloudTasksQueueRetryConfig
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.cloud_tasks_queue.CloudTasksQueueRetryConfig
CloudTasksQueueRetryConfig.Builder, CloudTasksQueueRetryConfig.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(CloudTasksQueueRetryConfig.Builder builder)Constructor that initializes the object based on literal property values passed by theCloudTasksQueueRetryConfig.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)NumbergetMaxAttempts()Number of attempts per task.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.NumbergetMaxDoublings()The time between retries will double maxDoublings times.StringgetMaxRetryDuration()If positive, maxRetryDuration specifies the time limit for retrying a failed task, measured from when the task was first attempted.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.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(CloudTasksQueueRetryConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by theCloudTasksQueueRetryConfig.Builder.
-
-
Method Detail
-
getMaxAttempts
public final Number getMaxAttempts()
Description copied from interface:CloudTasksQueueRetryConfigNumber 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}
- Specified by:
getMaxAttemptsin interfaceCloudTasksQueueRetryConfig
-
getMaxBackoff
public final String getMaxBackoff()
Description copied from interface:CloudTasksQueueRetryConfigA 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}
- Specified by:
getMaxBackoffin interfaceCloudTasksQueueRetryConfig
-
getMaxDoublings
public final Number getMaxDoublings()
Description copied from interface:CloudTasksQueueRetryConfigThe 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}
- Specified by:
getMaxDoublingsin interfaceCloudTasksQueueRetryConfig
-
getMaxRetryDuration
public final String getMaxRetryDuration()
Description copied from interface:CloudTasksQueueRetryConfigIf 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}
- Specified by:
getMaxRetryDurationin interfaceCloudTasksQueueRetryConfig
-
getMinBackoff
public final String getMinBackoff()
Description copied from interface:CloudTasksQueueRetryConfigA 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}
- Specified by:
getMinBackoffin interfaceCloudTasksQueueRetryConfig
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-