Class NetappVolumeExportPolicyRules.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • accessType

        @Stability(Stable)
        public NetappVolumeExportPolicyRules.Builder accessType​(String accessType)
        Parameters:
        accessType - Defines the access type for clients matching the 'allowedClients' specification. Possible values: ["READ_ONLY", "READ_WRITE", "READ_NONE"]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume#access_type NetappVolume#access_type}
        Returns:
        this
      • allowedClients

        @Stability(Stable)
        public NetappVolumeExportPolicyRules.Builder allowedClients​(String allowedClients)
        Parameters:
        allowedClients - Defines the client ingress specification (allowed clients) as a comma seperated list with IPv4 CIDRs or IPv4 host addresses. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume#allowed_clients NetappVolume#allowed_clients}
        Returns:
        this
      • hasRootAccess

        @Stability(Stable)
        public NetappVolumeExportPolicyRules.Builder hasRootAccess​(String hasRootAccess)
        Parameters:
        hasRootAccess - If enabled, the root user (UID = 0) of the specified clients doesn't get mapped to nobody (UID = 65534). This is also known as no_root_squash. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume#has_root_access NetappVolume#has_root_access}
        Returns:
        this
      • kerberos5IReadOnly

        @Stability(Stable)
        public NetappVolumeExportPolicyRules.Builder kerberos5IReadOnly​(Boolean kerberos5IReadOnly)
        Parameters:
        kerberos5IReadOnly - If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'integrity' kerberos security mode. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume#kerberos5i_read_only NetappVolume#kerberos5i_read_only}
        Returns:
        this
      • kerberos5IReadOnly

        @Stability(Stable)
        public NetappVolumeExportPolicyRules.Builder kerberos5IReadOnly​(com.hashicorp.cdktf.IResolvable kerberos5IReadOnly)
        Parameters:
        kerberos5IReadOnly - If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'integrity' kerberos security mode. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume#kerberos5i_read_only NetappVolume#kerberos5i_read_only}
        Returns:
        this
      • kerberos5IReadWrite

        @Stability(Stable)
        public NetappVolumeExportPolicyRules.Builder kerberos5IReadWrite​(Boolean kerberos5IReadWrite)
        Parameters:
        kerberos5IReadWrite - If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'integrity' kerberos security mode. The 'kerberos5iReadOnly' value is ignored if this is enabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume#kerberos5i_read_write NetappVolume#kerberos5i_read_write}
        Returns:
        this
      • kerberos5IReadWrite

        @Stability(Stable)
        public NetappVolumeExportPolicyRules.Builder kerberos5IReadWrite​(com.hashicorp.cdktf.IResolvable kerberos5IReadWrite)
        Parameters:
        kerberos5IReadWrite - If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'integrity' kerberos security mode. The 'kerberos5iReadOnly' value is ignored if this is enabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume#kerberos5i_read_write NetappVolume#kerberos5i_read_write}
        Returns:
        this
      • kerberos5PReadOnly

        @Stability(Stable)
        public NetappVolumeExportPolicyRules.Builder kerberos5PReadOnly​(Boolean kerberos5PReadOnly)
        Parameters:
        kerberos5PReadOnly - If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'privacy' kerberos security mode. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume#kerberos5p_read_only NetappVolume#kerberos5p_read_only}
        Returns:
        this
      • kerberos5PReadOnly

        @Stability(Stable)
        public NetappVolumeExportPolicyRules.Builder kerberos5PReadOnly​(com.hashicorp.cdktf.IResolvable kerberos5PReadOnly)
        Parameters:
        kerberos5PReadOnly - If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'privacy' kerberos security mode. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume#kerberos5p_read_only NetappVolume#kerberos5p_read_only}
        Returns:
        this
      • kerberos5PReadWrite

        @Stability(Stable)
        public NetappVolumeExportPolicyRules.Builder kerberos5PReadWrite​(Boolean kerberos5PReadWrite)
        Parameters:
        kerberos5PReadWrite - If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'privacy' kerberos security mode. The 'kerberos5pReadOnly' value is ignored if this is enabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume#kerberos5p_read_write NetappVolume#kerberos5p_read_write}
        Returns:
        this
      • kerberos5PReadWrite

        @Stability(Stable)
        public NetappVolumeExportPolicyRules.Builder kerberos5PReadWrite​(com.hashicorp.cdktf.IResolvable kerberos5PReadWrite)
        Parameters:
        kerberos5PReadWrite - If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'privacy' kerberos security mode. The 'kerberos5pReadOnly' value is ignored if this is enabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume#kerberos5p_read_write NetappVolume#kerberos5p_read_write}
        Returns:
        this
      • kerberos5ReadOnly

        @Stability(Stable)
        public NetappVolumeExportPolicyRules.Builder kerberos5ReadOnly​(Boolean kerberos5ReadOnly)
        Parameters:
        kerberos5ReadOnly - If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'authentication' kerberos security mode. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume#kerberos5_read_only NetappVolume#kerberos5_read_only}
        Returns:
        this
      • kerberos5ReadOnly

        @Stability(Stable)
        public NetappVolumeExportPolicyRules.Builder kerberos5ReadOnly​(com.hashicorp.cdktf.IResolvable kerberos5ReadOnly)
        Parameters:
        kerberos5ReadOnly - If enabled (true) the rule defines a read only access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'authentication' kerberos security mode. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume#kerberos5_read_only NetappVolume#kerberos5_read_only}
        Returns:
        this
      • kerberos5ReadWrite

        @Stability(Stable)
        public NetappVolumeExportPolicyRules.Builder kerberos5ReadWrite​(Boolean kerberos5ReadWrite)
        Parameters:
        kerberos5ReadWrite - If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'authentication' kerberos security mode. The 'kerberos5ReadOnly' value is ignored if this is enabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume#kerberos5_read_write NetappVolume#kerberos5_read_write}
        Returns:
        this
      • kerberos5ReadWrite

        @Stability(Stable)
        public NetappVolumeExportPolicyRules.Builder kerberos5ReadWrite​(com.hashicorp.cdktf.IResolvable kerberos5ReadWrite)
        Parameters:
        kerberos5ReadWrite - If enabled (true) the rule defines read and write access for clients matching the 'allowedClients' specification. It enables nfs clients to mount using 'authentication' kerberos security mode. The 'kerberos5ReadOnly' value is ignored if this is enabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume#kerberos5_read_write NetappVolume#kerberos5_read_write}
        Returns:
        this
      • nfsv3

        @Stability(Stable)
        public NetappVolumeExportPolicyRules.Builder nfsv3​(com.hashicorp.cdktf.IResolvable nfsv3)
        Parameters:
        nfsv3 - Enable to apply the export rule to NFSV3 clients. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume#nfsv3 NetappVolume#nfsv3}
        Returns:
        this
      • nfsv4

        @Stability(Stable)
        public NetappVolumeExportPolicyRules.Builder nfsv4​(com.hashicorp.cdktf.IResolvable nfsv4)
        Parameters:
        nfsv4 - Enable to apply the export rule to NFSV4.1 clients. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_volume#nfsv4 NetappVolume#nfsv4}
        Returns:
        this