Class NetappBackupVaultConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.netapp_backup_vault.NetappBackupVaultConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NetappBackupVaultConfig>
- Enclosing interface:
- NetappBackupVaultConfig
@Stability(Stable) public static final class NetappBackupVaultConfig.Builder extends Object implements software.amazon.jsii.Builder<NetappBackupVaultConfig>
A builder forNetappBackupVaultConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetappBackupVaultConfigbuild()Builds the configured instance.NetappBackupVaultConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()NetappBackupVaultConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()NetappBackupVaultConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()NetappBackupVaultConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()NetappBackupVaultConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()NetappBackupVaultConfig.Builderdescription(String description)Sets the value ofNetappBackupVaultConfig.getDescription()NetappBackupVaultConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()NetappBackupVaultConfig.Builderid(String id)Sets the value ofNetappBackupVaultConfig.getId()NetappBackupVaultConfig.Builderlabels(Map<String,String> labels)Sets the value ofNetappBackupVaultConfig.getLabels()NetappBackupVaultConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()NetappBackupVaultConfig.Builderlocation(String location)Sets the value ofNetappBackupVaultConfig.getLocation()NetappBackupVaultConfig.Buildername(String name)Sets the value ofNetappBackupVaultConfig.getName()NetappBackupVaultConfig.Builderproject(String project)Sets the value ofNetappBackupVaultConfig.getProject()NetappBackupVaultConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()NetappBackupVaultConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()NetappBackupVaultConfig.Buildertimeouts(NetappBackupVaultTimeouts timeouts)Sets the value ofNetappBackupVaultConfig.getTimeouts()
-
-
-
Method Detail
-
location
@Stability(Stable) public NetappBackupVaultConfig.Builder location(String location)
Sets the value ofNetappBackupVaultConfig.getLocation()- Parameters:
location- Location (region) of the backup vault. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_backup_vault#location NetappBackupVault#location}- Returns:
this
-
name
@Stability(Stable) public NetappBackupVaultConfig.Builder name(String name)
Sets the value ofNetappBackupVaultConfig.getName()- Parameters:
name- The resource name of the backup vault. Needs to be unique per location. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_backup_vault#name NetappBackupVault#name}- Returns:
this
-
description
@Stability(Stable) public NetappBackupVaultConfig.Builder description(String description)
Sets the value ofNetappBackupVaultConfig.getDescription()- Parameters:
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}- Returns:
this
-
id
@Stability(Stable) public NetappBackupVaultConfig.Builder id(String id)
Sets the value ofNetappBackupVaultConfig.getId()- 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}. 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.- Returns:
this
-
labels
@Stability(Stable) public NetappBackupVaultConfig.Builder labels(Map<String,String> labels)
Sets the value ofNetappBackupVaultConfig.getLabels()- Parameters:
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}- Returns:
this
-
project
@Stability(Stable) public NetappBackupVaultConfig.Builder project(String project)
Sets the value ofNetappBackupVaultConfig.getProject()- 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}.- Returns:
this
-
timeouts
@Stability(Stable) public NetappBackupVaultConfig.Builder timeouts(NetappBackupVaultTimeouts timeouts)
Sets the value ofNetappBackupVaultConfig.getTimeouts()- Parameters:
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}- Returns:
this
-
connection
@Stability(Experimental) public NetappBackupVaultConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public NetappBackupVaultConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public NetappBackupVaultConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public NetappBackupVaultConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public NetappBackupVaultConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public NetappBackupVaultConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public NetappBackupVaultConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public NetappBackupVaultConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public NetappBackupVaultConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public NetappBackupVaultConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NetappBackupVaultConfig>- Returns:
- a new instance of
NetappBackupVaultConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-