Class NetappStoragePoolConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • capacityGib

        @Stability(Stable)
        public NetappStoragePoolConfig.Builder capacityGib​(String capacityGib)
        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)
        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)
        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)
        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)
        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)
        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)
        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)
        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)
        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)
        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)
        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)
        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
      • connection

        @Stability(Experimental)
        public NetappStoragePoolConfig.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.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 of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public NetappStoragePoolConfig.Builder count​(Number count)
        Sets the value of TerraformMetaArguments.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 of TerraformMetaArguments.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 of TerraformMetaArguments.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 of TerraformMetaArguments.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 of TerraformMetaArguments.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 of TerraformMetaArguments.getProvider()
        Parameters:
        provider - the value to be set.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public NetappStoragePoolConfig.Builder provisioners​(List<? extends Object> provisioners)
        Sets the value of TerraformMetaArguments.getProvisioners()
        Parameters:
        provisioners - the value to be set.
        Returns:
        this