Class DataGoogleComputeInstanceGroupManager.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.data_google_compute_instance_group_manager.DataGoogleComputeInstanceGroupManager.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataGoogleComputeInstanceGroupManager>
- Enclosing class:
- DataGoogleComputeInstanceGroupManager
@Stability(Stable) public static final class DataGoogleComputeInstanceGroupManager.Builder extends Object implements software.amazon.jsii.Builder<DataGoogleComputeInstanceGroupManager>
A fluent builder forDataGoogleComputeInstanceGroupManager.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DataGoogleComputeInstanceGroupManagerbuild()DataGoogleComputeInstanceGroupManager.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)DataGoogleComputeInstanceGroupManager.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)DataGoogleComputeInstanceGroupManager.Buildercount(com.hashicorp.cdktf.TerraformCount count)DataGoogleComputeInstanceGroupManager.Buildercount(Number count)static DataGoogleComputeInstanceGroupManager.Buildercreate(software.constructs.Construct scope, String id)DataGoogleComputeInstanceGroupManager.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)DataGoogleComputeInstanceGroupManager.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)DataGoogleComputeInstanceGroupManager.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/compute_instance_group_manager#id DataGoogleComputeInstanceGroupManager#id}.DataGoogleComputeInstanceGroupManager.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)DataGoogleComputeInstanceGroupManager.Buildername(String name)The name of the instance group manager.DataGoogleComputeInstanceGroupManager.Builderproject(String project)The ID of the project in which the resource belongs.DataGoogleComputeInstanceGroupManager.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)DataGoogleComputeInstanceGroupManager.Builderprovisioners(List<? extends Object> provisioners)DataGoogleComputeInstanceGroupManager.BuilderselfLink(String selfLink)The URL of the created resource.DataGoogleComputeInstanceGroupManager.Builderzone(String zone)The zone that instances in this group should be created in.
-
-
-
Method Detail
-
create
@Stability(Stable) public static DataGoogleComputeInstanceGroupManager.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.- Returns:
- a new instance of
DataGoogleComputeInstanceGroupManager.Builder.
-
connection
@Stability(Experimental) public DataGoogleComputeInstanceGroupManager.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public DataGoogleComputeInstanceGroupManager.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public DataGoogleComputeInstanceGroupManager.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public DataGoogleComputeInstanceGroupManager.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public DataGoogleComputeInstanceGroupManager.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public DataGoogleComputeInstanceGroupManager.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public DataGoogleComputeInstanceGroupManager.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public DataGoogleComputeInstanceGroupManager.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public DataGoogleComputeInstanceGroupManager.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
id
@Stability(Stable) public DataGoogleComputeInstanceGroupManager.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/compute_instance_group_manager#id DataGoogleComputeInstanceGroupManager#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.
- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/compute_instance_group_manager#id DataGoogleComputeInstanceGroupManager#id}. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public DataGoogleComputeInstanceGroupManager.Builder name(String name)
The name of the instance group manager.Must be 1-63 characters long and comply with RFC1035. Supported characters include lowercase letters, numbers, and hyphens. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/compute_instance_group_manager#name DataGoogleComputeInstanceGroupManager#name}
- Parameters:
name- The name of the instance group manager. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public DataGoogleComputeInstanceGroupManager.Builder project(String project)
The 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/data-sources/compute_instance_group_manager#project DataGoogleComputeInstanceGroupManager#project}
- Parameters:
project- The ID of the project in which the resource belongs. This parameter is required.- Returns:
this
-
selfLink
@Stability(Stable) public DataGoogleComputeInstanceGroupManager.Builder selfLink(String selfLink)
The URL of the created resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/compute_instance_group_manager#self_link DataGoogleComputeInstanceGroupManager#self_link}
- Parameters:
selfLink- The URL of the created resource. This parameter is required.- Returns:
this
-
zone
@Stability(Stable) public DataGoogleComputeInstanceGroupManager.Builder zone(String zone)
The zone that instances in this group should be created in.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/compute_instance_group_manager#zone DataGoogleComputeInstanceGroupManager#zone}
- Parameters:
zone- The zone that instances in this group should be created in. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public DataGoogleComputeInstanceGroupManager build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataGoogleComputeInstanceGroupManager>- Returns:
- a newly built instance of
DataGoogleComputeInstanceGroupManager.
-
-