Class NetappVolumeSnapshot.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.netapp_volume_snapshot.NetappVolumeSnapshot.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NetappVolumeSnapshot>
- Enclosing class:
- NetappVolumeSnapshot
@Stability(Stable) public static final class NetappVolumeSnapshot.Builder extends Object implements software.amazon.jsii.Builder<NetappVolumeSnapshot>
A fluent builder forNetappVolumeSnapshot.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NetappVolumeSnapshotbuild()NetappVolumeSnapshot.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)NetappVolumeSnapshot.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)NetappVolumeSnapshot.Buildercount(com.hashicorp.cdktf.TerraformCount count)NetappVolumeSnapshot.Buildercount(Number count)static NetappVolumeSnapshot.Buildercreate(software.constructs.Construct scope, String id)NetappVolumeSnapshot.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)NetappVolumeSnapshot.Builderdescription(String description)Description for the snapshot.NetappVolumeSnapshot.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)NetappVolumeSnapshot.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume_snapshot#id NetappVolumeSnapshot#id}.NetappVolumeSnapshot.Builderlabels(Map<String,String> labels)Labels as key value pairs.NetappVolumeSnapshot.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)NetappVolumeSnapshot.Builderlocation(String location)Name of the snapshot location.NetappVolumeSnapshot.Buildername(String name)The name of the snapshot.NetappVolumeSnapshot.Builderproject(String project)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume_snapshot#project NetappVolumeSnapshot#project}.NetappVolumeSnapshot.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)NetappVolumeSnapshot.Builderprovisioners(List<? extends Object> provisioners)NetappVolumeSnapshot.Buildertimeouts(NetappVolumeSnapshotTimeouts timeouts)timeouts block.NetappVolumeSnapshot.BuildervolumeName(String volumeName)The name of the volume to create the snapshot in.
-
-
-
Method Detail
-
create
@Stability(Stable) public static NetappVolumeSnapshot.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
NetappVolumeSnapshot.Builder.
-
connection
@Stability(Experimental) public NetappVolumeSnapshot.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public NetappVolumeSnapshot.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public NetappVolumeSnapshot.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public NetappVolumeSnapshot.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public NetappVolumeSnapshot.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public NetappVolumeSnapshot.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public NetappVolumeSnapshot.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public NetappVolumeSnapshot.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public NetappVolumeSnapshot.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
location
@Stability(Stable) public NetappVolumeSnapshot.Builder location(String location)
Name of the snapshot location. Snapshots are child resources of volumes and live in the same location.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume_snapshot#location NetappVolumeSnapshot#location}
- Parameters:
location- Name of the snapshot location. Snapshots are child resources of volumes and live in the same location. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public NetappVolumeSnapshot.Builder name(String name)
The name of the snapshot.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume_snapshot#name NetappVolumeSnapshot#name}
- Parameters:
name- The name of the snapshot. This parameter is required.- Returns:
this
-
volumeName
@Stability(Stable) public NetappVolumeSnapshot.Builder volumeName(String volumeName)
The name of the volume to create the snapshot in.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume_snapshot#volume_name NetappVolumeSnapshot#volume_name}
- Parameters:
volumeName- The name of the volume to create the snapshot in. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public NetappVolumeSnapshot.Builder description(String description)
Description for the snapshot.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume_snapshot#description NetappVolumeSnapshot#description}
- Parameters:
description- Description for the snapshot. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public NetappVolumeSnapshot.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume_snapshot#id NetappVolumeSnapshot#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/resources/netapp_volume_snapshot#id NetappVolumeSnapshot#id}. This parameter is required.- Returns:
this
-
labels
@Stability(Stable) public NetappVolumeSnapshot.Builder labels(Map<String,String> labels)
Labels as key value pairs. Example: '{ "owner": "Bob", "department": "finance", "purpose": "testing" }'.**Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume_snapshot#labels NetappVolumeSnapshot#labels}
- Parameters:
labels- Labels as key value pairs. Example: '{ "owner": "Bob", "department": "finance", "purpose": "testing" }'. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public NetappVolumeSnapshot.Builder project(String project)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume_snapshot#project NetappVolumeSnapshot#project}.- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume_snapshot#project NetappVolumeSnapshot#project}. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public NetappVolumeSnapshot.Builder timeouts(NetappVolumeSnapshotTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume_snapshot#timeouts NetappVolumeSnapshot#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public NetappVolumeSnapshot build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NetappVolumeSnapshot>- Returns:
- a newly built instance of
NetappVolumeSnapshot.
-
-