Class ComputeTargetPoolConfig.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_target_pool.ComputeTargetPoolConfig.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeTargetPoolConfig,com.hashicorp.cdktf.TerraformMetaArguments,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeTargetPoolConfig
@Stability(Stable) @Internal public static final class ComputeTargetPoolConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeTargetPoolConfig
An implementation forComputeTargetPoolConfig
-
-
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.compute_target_pool.ComputeTargetPoolConfig
ComputeTargetPoolConfig.Builder, ComputeTargetPoolConfig.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeTargetPoolConfig.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeTargetPoolConfig.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)StringgetBackupPool()URL to the backup target pool.ObjectgetConnection()ObjectgetCount()List<com.hashicorp.cdktf.ITerraformDependable>getDependsOn()StringgetDescription()Textual description field.NumbergetFailoverRatio()Ratio (0 to 1) of failed nodes before using the backup pool (which must also be set).com.hashicorp.cdktf.ITerraformIteratorgetForEach()List<String>getHealthChecks()List of zero or one health check name or self_link.StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_target_pool#id ComputeTargetPool#id}.List<String>getInstances()List of instances in the pool.com.hashicorp.cdktf.TerraformResourceLifecyclegetLifecycle()StringgetName()A unique name for the resource, required by GCE.StringgetProject()The ID of the project in which the resource belongs.com.hashicorp.cdktf.TerraformProvidergetProvider()List<Object>getProvisioners()StringgetRegion()Where the target pool resides.StringgetSessionAffinity()How to distribute load.ComputeTargetPoolTimeoutsgetTimeouts()timeouts block.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(ComputeTargetPoolConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeTargetPoolConfig.Builder.
-
-
Method Detail
-
getName
public final String getName()
Description copied from interface:ComputeTargetPoolConfigA unique name for the resource, required by GCE. Changing this forces a new resource to be created.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_target_pool#name ComputeTargetPool#name}
- Specified by:
getNamein interfaceComputeTargetPoolConfig
-
getBackupPool
public final String getBackupPool()
Description copied from interface:ComputeTargetPoolConfigURL to the backup target pool. Must also set failover_ratio.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_target_pool#backup_pool ComputeTargetPool#backup_pool}
- Specified by:
getBackupPoolin interfaceComputeTargetPoolConfig
-
getDescription
public final String getDescription()
Description copied from interface:ComputeTargetPoolConfigTextual description field.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_target_pool#description ComputeTargetPool#description}
- Specified by:
getDescriptionin interfaceComputeTargetPoolConfig
-
getFailoverRatio
public final Number getFailoverRatio()
Description copied from interface:ComputeTargetPoolConfigRatio (0 to 1) of failed nodes before using the backup pool (which must also be set).Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_target_pool#failover_ratio ComputeTargetPool#failover_ratio}
- Specified by:
getFailoverRatioin interfaceComputeTargetPoolConfig
-
getHealthChecks
public final List<String> getHealthChecks()
Description copied from interface:ComputeTargetPoolConfigList of zero or one health check name or self_link. Only legacy google_compute_http_health_check is supported.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_target_pool#health_checks ComputeTargetPool#health_checks}
- Specified by:
getHealthChecksin interfaceComputeTargetPoolConfig
-
getId
public final String getId()
Description copied from interface:ComputeTargetPoolConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_target_pool#id ComputeTargetPool#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.
- Specified by:
getIdin interfaceComputeTargetPoolConfig
-
getInstances
public final List<String> getInstances()
Description copied from interface:ComputeTargetPoolConfigList of instances in the pool.They can be given as URLs, or in the form of "zone/name". Note that the instances need not exist at the time of target pool creation, so there is no need to use the Terraform interpolators to create a dependency on the instances from the target pool. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_target_pool#instances ComputeTargetPool#instances}
- Specified by:
getInstancesin interfaceComputeTargetPoolConfig
-
getProject
public final String getProject()
Description copied from interface:ComputeTargetPoolConfigThe ID of the project in which the resource belongs.If it is not provided, the provider project is used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_target_pool#project ComputeTargetPool#project}
- Specified by:
getProjectin interfaceComputeTargetPoolConfig
-
getRegion
public final String getRegion()
Description copied from interface:ComputeTargetPoolConfigWhere the target pool resides. Defaults to project region.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_target_pool#region ComputeTargetPool#region}
- Specified by:
getRegionin interfaceComputeTargetPoolConfig
-
getSessionAffinity
public final String getSessionAffinity()
Description copied from interface:ComputeTargetPoolConfigHow to distribute load.Options are "NONE" (no affinity). "CLIENT_IP" (hash of the source/dest addresses / ports), and "CLIENT_IP_PROTO" also includes the protocol (default "NONE"). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_target_pool#session_affinity ComputeTargetPool#session_affinity}
- Specified by:
getSessionAffinityin interfaceComputeTargetPoolConfig
-
getTimeouts
public final ComputeTargetPoolTimeouts getTimeouts()
Description copied from interface:ComputeTargetPoolConfigtimeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_target_pool#timeouts ComputeTargetPool#timeouts}
- Specified by:
getTimeoutsin interfaceComputeTargetPoolConfig
-
getConnection
public final Object getConnection()
- Specified by:
getConnectionin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getCount
public final Object getCount()
- Specified by:
getCountin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getDependsOn
public final List<com.hashicorp.cdktf.ITerraformDependable> getDependsOn()
- Specified by:
getDependsOnin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getForEach
public final com.hashicorp.cdktf.ITerraformIterator getForEach()
- Specified by:
getForEachin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getLifecycle
public final com.hashicorp.cdktf.TerraformResourceLifecycle getLifecycle()
- Specified by:
getLifecyclein interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getProvider
public final com.hashicorp.cdktf.TerraformProvider getProvider()
- Specified by:
getProviderin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getProvisioners
public final List<Object> getProvisioners()
- Specified by:
getProvisionersin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-