Class DataGoogleContainerCluster.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.data_google_container_cluster.DataGoogleContainerCluster.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataGoogleContainerCluster>
- Enclosing class:
- DataGoogleContainerCluster
@Stability(Stable) public static final class DataGoogleContainerCluster.Builder extends Object implements software.amazon.jsii.Builder<DataGoogleContainerCluster>
A fluent builder forDataGoogleContainerCluster.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DataGoogleContainerClusterbuild()DataGoogleContainerCluster.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)DataGoogleContainerCluster.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)DataGoogleContainerCluster.Buildercount(com.hashicorp.cdktf.TerraformCount count)DataGoogleContainerCluster.Buildercount(Number count)static DataGoogleContainerCluster.Buildercreate(software.constructs.Construct scope, String id)DataGoogleContainerCluster.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)DataGoogleContainerCluster.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)DataGoogleContainerCluster.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/container_cluster#id DataGoogleContainerCluster#id}.DataGoogleContainerCluster.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)DataGoogleContainerCluster.Builderlocation(String location)The location (region or zone) in which the cluster master will be created, as well as the default node location.DataGoogleContainerCluster.Buildername(String name)The name of the cluster, unique within the project and location.DataGoogleContainerCluster.Builderproject(String project)The ID of the project in which the resource belongs.DataGoogleContainerCluster.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)DataGoogleContainerCluster.Builderprovisioners(List<? extends Object> provisioners)
-
-
-
Method Detail
-
create
@Stability(Stable) public static DataGoogleContainerCluster.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
DataGoogleContainerCluster.Builder.
-
connection
@Stability(Experimental) public DataGoogleContainerCluster.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public DataGoogleContainerCluster.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public DataGoogleContainerCluster.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public DataGoogleContainerCluster.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public DataGoogleContainerCluster.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public DataGoogleContainerCluster.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public DataGoogleContainerCluster.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public DataGoogleContainerCluster.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public DataGoogleContainerCluster.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
name
@Stability(Stable) public DataGoogleContainerCluster.Builder name(String name)
The name of the cluster, unique within the project and location.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/container_cluster#name DataGoogleContainerCluster#name}
- Parameters:
name- The name of the cluster, unique within the project and location. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public DataGoogleContainerCluster.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/container_cluster#id DataGoogleContainerCluster#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/container_cluster#id DataGoogleContainerCluster#id}. This parameter is required.- Returns:
this
-
location
@Stability(Stable) public DataGoogleContainerCluster.Builder location(String location)
The location (region or zone) in which the cluster master will be created, as well as the default node location.If you specify a zone (such as us-central1-a), the cluster will be a zonal cluster with a single cluster master. If you specify a region (such as us-west1), the cluster will be a regional cluster with multiple masters spread across zones in the region, and with default node locations in those zones as well. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/container_cluster#location DataGoogleContainerCluster#location}
- Parameters:
location- The location (region or zone) in which the cluster master will be created, as well as the default node location. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public DataGoogleContainerCluster.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/container_cluster#project DataGoogleContainerCluster#project}
- Parameters:
project- The ID of the project in which the resource belongs. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public DataGoogleContainerCluster build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataGoogleContainerCluster>- Returns:
- a newly built instance of
DataGoogleContainerCluster.
-
-