Class CloudTasksQueueConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.cloud_tasks_queue.CloudTasksQueueConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudTasksQueueConfig>
- Enclosing interface:
- CloudTasksQueueConfig
@Stability(Stable) public static final class CloudTasksQueueConfig.Builder extends Object implements software.amazon.jsii.Builder<CloudTasksQueueConfig>
A builder forCloudTasksQueueConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudTasksQueueConfig.BuilderappEngineRoutingOverride(CloudTasksQueueAppEngineRoutingOverride appEngineRoutingOverride)Sets the value ofCloudTasksQueueConfig.getAppEngineRoutingOverride()CloudTasksQueueConfigbuild()Builds the configured instance.CloudTasksQueueConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()CloudTasksQueueConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()CloudTasksQueueConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()CloudTasksQueueConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()CloudTasksQueueConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()CloudTasksQueueConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()CloudTasksQueueConfig.Builderid(String id)Sets the value ofCloudTasksQueueConfig.getId()CloudTasksQueueConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()CloudTasksQueueConfig.Builderlocation(String location)Sets the value ofCloudTasksQueueConfig.getLocation()CloudTasksQueueConfig.Buildername(String name)Sets the value ofCloudTasksQueueConfig.getName()CloudTasksQueueConfig.Builderproject(String project)Sets the value ofCloudTasksQueueConfig.getProject()CloudTasksQueueConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()CloudTasksQueueConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()CloudTasksQueueConfig.BuilderrateLimits(CloudTasksQueueRateLimits rateLimits)Sets the value ofCloudTasksQueueConfig.getRateLimits()CloudTasksQueueConfig.BuilderretryConfig(CloudTasksQueueRetryConfig retryConfig)Sets the value ofCloudTasksQueueConfig.getRetryConfig()CloudTasksQueueConfig.BuilderstackdriverLoggingConfig(CloudTasksQueueStackdriverLoggingConfig stackdriverLoggingConfig)Sets the value ofCloudTasksQueueConfig.getStackdriverLoggingConfig()CloudTasksQueueConfig.Buildertimeouts(CloudTasksQueueTimeouts timeouts)Sets the value ofCloudTasksQueueConfig.getTimeouts()
-
-
-
Method Detail
-
location
@Stability(Stable) public CloudTasksQueueConfig.Builder location(String location)
Sets the value ofCloudTasksQueueConfig.getLocation()- Parameters:
location- The location of the queue. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_tasks_queue#location CloudTasksQueue#location}- Returns:
this
-
appEngineRoutingOverride
@Stability(Stable) public CloudTasksQueueConfig.Builder appEngineRoutingOverride(CloudTasksQueueAppEngineRoutingOverride appEngineRoutingOverride)
Sets the value ofCloudTasksQueueConfig.getAppEngineRoutingOverride()- Parameters:
appEngineRoutingOverride- app_engine_routing_override block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_tasks_queue#app_engine_routing_override CloudTasksQueue#app_engine_routing_override}- Returns:
this
-
id
@Stability(Stable) public CloudTasksQueueConfig.Builder id(String id)
Sets the value ofCloudTasksQueueConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_tasks_queue#id CloudTasksQueue#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
name
@Stability(Stable) public CloudTasksQueueConfig.Builder name(String name)
Sets the value ofCloudTasksQueueConfig.getName()- Parameters:
name- The queue name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_tasks_queue#name CloudTasksQueue#name}- Returns:
this
-
project
@Stability(Stable) public CloudTasksQueueConfig.Builder project(String project)
Sets the value ofCloudTasksQueueConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_tasks_queue#project CloudTasksQueue#project}.- Returns:
this
-
rateLimits
@Stability(Stable) public CloudTasksQueueConfig.Builder rateLimits(CloudTasksQueueRateLimits rateLimits)
Sets the value ofCloudTasksQueueConfig.getRateLimits()- Parameters:
rateLimits- rate_limits block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_tasks_queue#rate_limits CloudTasksQueue#rate_limits}- Returns:
this
-
retryConfig
@Stability(Stable) public CloudTasksQueueConfig.Builder retryConfig(CloudTasksQueueRetryConfig retryConfig)
Sets the value ofCloudTasksQueueConfig.getRetryConfig()- Parameters:
retryConfig- retry_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_tasks_queue#retry_config CloudTasksQueue#retry_config}- Returns:
this
-
stackdriverLoggingConfig
@Stability(Stable) public CloudTasksQueueConfig.Builder stackdriverLoggingConfig(CloudTasksQueueStackdriverLoggingConfig stackdriverLoggingConfig)
Sets the value ofCloudTasksQueueConfig.getStackdriverLoggingConfig()- Parameters:
stackdriverLoggingConfig- stackdriver_logging_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_tasks_queue#stackdriver_logging_config CloudTasksQueue#stackdriver_logging_config}- Returns:
this
-
timeouts
@Stability(Stable) public CloudTasksQueueConfig.Builder timeouts(CloudTasksQueueTimeouts timeouts)
Sets the value ofCloudTasksQueueConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_tasks_queue#timeouts CloudTasksQueue#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public CloudTasksQueueConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public CloudTasksQueueConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public CloudTasksQueueConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public CloudTasksQueueConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public CloudTasksQueueConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public CloudTasksQueueConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public CloudTasksQueueConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public CloudTasksQueueConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public CloudTasksQueueConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public CloudTasksQueueConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CloudTasksQueueConfig>- Returns:
- a new instance of
CloudTasksQueueConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-