Class NetappStoragePoolConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.netapp_storage_pool.NetappStoragePoolConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NetappStoragePoolConfig>
- Enclosing interface:
- NetappStoragePoolConfig
@Stability(Stable) public static final class NetappStoragePoolConfig.Builder extends Object implements software.amazon.jsii.Builder<NetappStoragePoolConfig>
A builder forNetappStoragePoolConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
capacityGib
@Stability(Stable) public NetappStoragePoolConfig.Builder capacityGib(String capacityGib)
Sets the value ofNetappStoragePoolConfig.getCapacityGib()- Parameters:
capacityGib- Capacity of the storage pool (in GiB). This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_storage_pool#capacity_gib NetappStoragePool#capacity_gib}- Returns:
this
-
location
@Stability(Stable) public NetappStoragePoolConfig.Builder location(String location)
Sets the value ofNetappStoragePoolConfig.getLocation()- Parameters:
location- Name of the location. For zonal Flex pools specify a zone name, in all other cases a region name. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_storage_pool#location NetappStoragePool#location}- Returns:
this
-
name
@Stability(Stable) public NetappStoragePoolConfig.Builder name(String name)
Sets the value ofNetappStoragePoolConfig.getName()- Parameters:
name- The resource name of the storage pool. Needs to be unique per location/region. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_storage_pool#name NetappStoragePool#name}- Returns:
this
-
network
@Stability(Stable) public NetappStoragePoolConfig.Builder network(String network)
Sets the value ofNetappStoragePoolConfig.getNetwork()- Parameters:
network- VPC network name with format: 'projects/{{project}}/global/networks/{{network}}'. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_storage_pool#network NetappStoragePool#network}- Returns:
this
-
serviceLevel
@Stability(Stable) public NetappStoragePoolConfig.Builder serviceLevel(String serviceLevel)
Sets the value ofNetappStoragePoolConfig.getServiceLevel()- Parameters:
serviceLevel- Service level of the storage pool. Possible values: ["PREMIUM", "EXTREME", "STANDARD", "FLEX"]. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_storage_pool#service_level NetappStoragePool#service_level}- Returns:
this
-
activeDirectory
@Stability(Stable) public NetappStoragePoolConfig.Builder activeDirectory(String activeDirectory)
Sets the value ofNetappStoragePoolConfig.getActiveDirectory()- Parameters:
activeDirectory- Specifies the Active Directory policy to be used. Format: 'projects/{{project}}/locations/{{location}}/activeDirectories/{{name}}'. The policy needs to be in the same location as the storage pool. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_storage_pool#active_directory NetappStoragePool#active_directory}- Returns:
this
-
description
@Stability(Stable) public NetappStoragePoolConfig.Builder description(String description)
Sets the value ofNetappStoragePoolConfig.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_storage_pool#description NetappStoragePool#description}- Returns:
this
-
id
@Stability(Stable) public NetappStoragePoolConfig.Builder id(String id)
Sets the value ofNetappStoragePoolConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_storage_pool#id NetappStoragePool#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
-
kmsConfig
@Stability(Stable) public NetappStoragePoolConfig.Builder kmsConfig(String kmsConfig)
Sets the value ofNetappStoragePoolConfig.getKmsConfig()- Parameters:
kmsConfig- Specifies the CMEK policy to be used for volume encryption. Format: 'projects/{{project}}/locations/{{location}}/kmsConfigs/{{name}}'. The policy needs to be in the same location as the storage pool. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_storage_pool#kms_config NetappStoragePool#kms_config}- Returns:
this
-
labels
@Stability(Stable) public NetappStoragePoolConfig.Builder labels(Map<String,String> labels)
Sets the value ofNetappStoragePoolConfig.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_storage_pool#labels NetappStoragePool#labels}- Returns:
this
-
ldapEnabled
@Stability(Stable) public NetappStoragePoolConfig.Builder ldapEnabled(Boolean ldapEnabled)
Sets the value ofNetappStoragePoolConfig.getLdapEnabled()- Parameters:
ldapEnabled- When enabled, the volumes uses Active Directory as LDAP name service for UID/GID lookups. Required to enable extended group support for NFSv3, using security identifiers for NFSv4.1 or principal names for kerberized NFSv4.1. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_storage_pool#ldap_enabled NetappStoragePool#ldap_enabled}- Returns:
this
-
ldapEnabled
@Stability(Stable) public NetappStoragePoolConfig.Builder ldapEnabled(com.hashicorp.cdktf.IResolvable ldapEnabled)
Sets the value ofNetappStoragePoolConfig.getLdapEnabled()- Parameters:
ldapEnabled- When enabled, the volumes uses Active Directory as LDAP name service for UID/GID lookups. Required to enable extended group support for NFSv3, using security identifiers for NFSv4.1 or principal names for kerberized NFSv4.1. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_storage_pool#ldap_enabled NetappStoragePool#ldap_enabled}- Returns:
this
-
project
@Stability(Stable) public NetappStoragePoolConfig.Builder project(String project)
Sets the value ofNetappStoragePoolConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_storage_pool#project NetappStoragePool#project}.- Returns:
this
-
timeouts
@Stability(Stable) public NetappStoragePoolConfig.Builder timeouts(NetappStoragePoolTimeouts timeouts)
Sets the value ofNetappStoragePoolConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_storage_pool#timeouts NetappStoragePool#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public NetappStoragePoolConfig.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 NetappStoragePoolConfig.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 NetappStoragePoolConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public NetappStoragePoolConfig.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 NetappStoragePoolConfig.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 NetappStoragePoolConfig.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 NetappStoragePoolConfig.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 NetappStoragePoolConfig.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 NetappStoragePoolConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public NetappStoragePoolConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NetappStoragePoolConfig>- Returns:
- a new instance of
NetappStoragePoolConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-