Class DataGoogleComputeSnapshot.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.data_google_compute_snapshot.DataGoogleComputeSnapshot.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataGoogleComputeSnapshot>
- Enclosing class:
- DataGoogleComputeSnapshot
@Stability(Stable) public static final class DataGoogleComputeSnapshot.Builder extends Object implements software.amazon.jsii.Builder<DataGoogleComputeSnapshot>
A fluent builder forDataGoogleComputeSnapshot.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DataGoogleComputeSnapshotbuild()DataGoogleComputeSnapshot.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)DataGoogleComputeSnapshot.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)DataGoogleComputeSnapshot.Buildercount(com.hashicorp.cdktf.TerraformCount count)DataGoogleComputeSnapshot.Buildercount(Number count)static DataGoogleComputeSnapshot.Buildercreate(software.constructs.Construct scope, String id)DataGoogleComputeSnapshot.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)DataGoogleComputeSnapshot.Builderfilter(String filter)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/compute_snapshot#filter DataGoogleComputeSnapshot#filter}.DataGoogleComputeSnapshot.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)DataGoogleComputeSnapshot.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/compute_snapshot#id DataGoogleComputeSnapshot#id}.DataGoogleComputeSnapshot.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)DataGoogleComputeSnapshot.BuildermostRecent(com.hashicorp.cdktf.IResolvable mostRecent)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/compute_snapshot#most_recent DataGoogleComputeSnapshot#most_recent}.DataGoogleComputeSnapshot.BuildermostRecent(Boolean mostRecent)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/compute_snapshot#most_recent DataGoogleComputeSnapshot#most_recent}.DataGoogleComputeSnapshot.Buildername(String name)Name of the resource;DataGoogleComputeSnapshot.Builderproject(String project)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/compute_snapshot#project DataGoogleComputeSnapshot#project}.DataGoogleComputeSnapshot.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)DataGoogleComputeSnapshot.Builderprovisioners(List<? extends Object> provisioners)
-
-
-
Method Detail
-
create
@Stability(Stable) public static DataGoogleComputeSnapshot.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
DataGoogleComputeSnapshot.Builder.
-
connection
@Stability(Experimental) public DataGoogleComputeSnapshot.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public DataGoogleComputeSnapshot.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public DataGoogleComputeSnapshot.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public DataGoogleComputeSnapshot.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public DataGoogleComputeSnapshot.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public DataGoogleComputeSnapshot.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public DataGoogleComputeSnapshot.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public DataGoogleComputeSnapshot.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public DataGoogleComputeSnapshot.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
filter
@Stability(Stable) public DataGoogleComputeSnapshot.Builder filter(String filter)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/compute_snapshot#filter DataGoogleComputeSnapshot#filter}.- Parameters:
filter- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/compute_snapshot#filter DataGoogleComputeSnapshot#filter}. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public DataGoogleComputeSnapshot.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/compute_snapshot#id DataGoogleComputeSnapshot#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_snapshot#id DataGoogleComputeSnapshot#id}. This parameter is required.- Returns:
this
-
mostRecent
@Stability(Stable) public DataGoogleComputeSnapshot.Builder mostRecent(Boolean mostRecent)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/compute_snapshot#most_recent DataGoogleComputeSnapshot#most_recent}.- Parameters:
mostRecent- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/compute_snapshot#most_recent DataGoogleComputeSnapshot#most_recent}. This parameter is required.- Returns:
this
-
mostRecent
@Stability(Stable) public DataGoogleComputeSnapshot.Builder mostRecent(com.hashicorp.cdktf.IResolvable mostRecent)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/compute_snapshot#most_recent DataGoogleComputeSnapshot#most_recent}.- Parameters:
mostRecent- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/compute_snapshot#most_recent DataGoogleComputeSnapshot#most_recent}. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public DataGoogleComputeSnapshot.Builder name(String name)
Name of the resource;provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression '[a-z](%5B-a-z0-9%5D*%5Ba-z0-9%5D)?' which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/compute_snapshot#name DataGoogleComputeSnapshot#name}
- Parameters:
name- Name of the resource;. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public DataGoogleComputeSnapshot.Builder project(String project)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/compute_snapshot#project DataGoogleComputeSnapshot#project}.- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/compute_snapshot#project DataGoogleComputeSnapshot#project}. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public DataGoogleComputeSnapshot build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataGoogleComputeSnapshot>- Returns:
- a newly built instance of
DataGoogleComputeSnapshot.
-
-