Class NetappBackupVault.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.netapp_backup_vault.NetappBackupVault.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NetappBackupVault>
- Enclosing class:
- NetappBackupVault
@Stability(Stable) public static final class NetappBackupVault.Builder extends Object implements software.amazon.jsii.Builder<NetappBackupVault>
A fluent builder forNetappBackupVault.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NetappBackupVaultbuild()NetappBackupVault.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)NetappBackupVault.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)NetappBackupVault.Buildercount(com.hashicorp.cdktf.TerraformCount count)NetappBackupVault.Buildercount(Number count)static NetappBackupVault.Buildercreate(software.constructs.Construct scope, String id)NetappBackupVault.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)NetappBackupVault.Builderdescription(String description)An optional description of this resource.NetappBackupVault.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)NetappBackupVault.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_backup_vault#id NetappBackupVault#id}.NetappBackupVault.Builderlabels(Map<String,String> labels)Labels as key value pairs.NetappBackupVault.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)NetappBackupVault.Builderlocation(String location)Location (region) of the backup vault.NetappBackupVault.Buildername(String name)The resource name of the backup vault.NetappBackupVault.Builderproject(String project)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_backup_vault#project NetappBackupVault#project}.NetappBackupVault.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)NetappBackupVault.Builderprovisioners(List<? extends Object> provisioners)NetappBackupVault.Buildertimeouts(NetappBackupVaultTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static NetappBackupVault.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
NetappBackupVault.Builder.
-
connection
@Stability(Experimental) public NetappBackupVault.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public NetappBackupVault.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public NetappBackupVault.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public NetappBackupVault.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public NetappBackupVault.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public NetappBackupVault.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public NetappBackupVault.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public NetappBackupVault.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public NetappBackupVault.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
location
@Stability(Stable) public NetappBackupVault.Builder location(String location)
Location (region) of the backup vault.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_backup_vault#location NetappBackupVault#location}
- Parameters:
location- Location (region) of the backup vault. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public NetappBackupVault.Builder name(String name)
The resource name of the backup vault. Needs to be unique per location.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_backup_vault#name NetappBackupVault#name}
- Parameters:
name- The resource name of the backup vault. Needs to be unique per location. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public NetappBackupVault.Builder description(String description)
An optional description of this resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_backup_vault#description NetappBackupVault#description}
- Parameters:
description- An optional description of this resource. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public NetappBackupVault.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_backup_vault#id NetappBackupVault#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_backup_vault#id NetappBackupVault#id}. This parameter is required.- Returns:
this
-
labels
@Stability(Stable) public NetappBackupVault.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_backup_vault#labels NetappBackupVault#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 NetappBackupVault.Builder project(String project)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_backup_vault#project NetappBackupVault#project}.- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_backup_vault#project NetappBackupVault#project}. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public NetappBackupVault.Builder timeouts(NetappBackupVaultTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_backup_vault#timeouts NetappBackupVault#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public NetappBackupVault build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NetappBackupVault>- Returns:
- a newly built instance of
NetappBackupVault.
-
-