Class NetappActiveDirectoryConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • dns

        @Stability(Stable)
        public NetappActiveDirectoryConfig.Builder dns​(String dns)
        Parameters:
        dns - Comma separated list of DNS server IP addresses for the Active Directory domain. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#dns NetappActiveDirectory#dns}
        Returns:
        this
      • domain

        @Stability(Stable)
        public NetappActiveDirectoryConfig.Builder domain​(String domain)
        Parameters:
        domain - Fully qualified domain name for the Active Directory domain. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#domain NetappActiveDirectory#domain}
        Returns:
        this
      • location

        @Stability(Stable)
        public NetappActiveDirectoryConfig.Builder location​(String location)
        Parameters:
        location - Name of the region for the policy to apply to. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#location NetappActiveDirectory#location}
        Returns:
        this
      • name

        @Stability(Stable)
        public NetappActiveDirectoryConfig.Builder name​(String name)
        Parameters:
        name - The resource name of the Active Directory pool. 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_active_directory#name NetappActiveDirectory#name}
        Returns:
        this
      • netBiosPrefix

        @Stability(Stable)
        public NetappActiveDirectoryConfig.Builder netBiosPrefix​(String netBiosPrefix)
        Parameters:
        netBiosPrefix - NetBIOS name prefix of the server to be created. This parameter is required. A five-character random ID is generated automatically, for example, -6f9a, and appended to the prefix. The full UNC share path will have the following format: '\NetBIOS_PREFIX-ABCD.DOMAIN_NAME\SHARE_NAME' Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#net_bios_prefix NetappActiveDirectory#net_bios_prefix}
        Returns:
        this
      • password

        @Stability(Stable)
        public NetappActiveDirectoryConfig.Builder password​(String password)
        Parameters:
        password - Password for specified username. This parameter is required. Note - Manual changes done to the password will not be detected. Terraform will not re-apply the password, unless you use a new password in Terraform. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#password NetappActiveDirectory#password}
        Returns:
        this
      • username

        @Stability(Stable)
        public NetappActiveDirectoryConfig.Builder username​(String username)
        Parameters:
        username - Username for the Active Directory account with permissions to create the compute account within the specified organizational unit. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#username NetappActiveDirectory#username}
        Returns:
        this
      • administrators

        @Stability(Stable)
        public NetappActiveDirectoryConfig.Builder administrators​(List<String> administrators)
        Parameters:
        administrators - Domain user accounts to be added to the local Administrators group of the SMB service. Comma-separated list of domain users or groups. The Domain Admin group is automatically added when the service joins your domain as a hidden group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#administrators NetappActiveDirectory#administrators}
        Returns:
        this
      • aesEncryption

        @Stability(Stable)
        public NetappActiveDirectoryConfig.Builder aesEncryption​(Boolean aesEncryption)
        Parameters:
        aesEncryption - Enables AES-128 and AES-256 encryption for Kerberos-based communication with Active Directory. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#aes_encryption NetappActiveDirectory#aes_encryption}
        Returns:
        this
      • aesEncryption

        @Stability(Stable)
        public NetappActiveDirectoryConfig.Builder aesEncryption​(com.hashicorp.cdktf.IResolvable aesEncryption)
        Parameters:
        aesEncryption - Enables AES-128 and AES-256 encryption for Kerberos-based communication with Active Directory. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#aes_encryption NetappActiveDirectory#aes_encryption}
        Returns:
        this
      • backupOperators

        @Stability(Stable)
        public NetappActiveDirectoryConfig.Builder backupOperators​(List<String> backupOperators)
        Parameters:
        backupOperators - Domain user/group accounts to be added to the Backup Operators group of the SMB service. The Backup Operators group allows members to backup and restore files regardless of whether they have read or write access to the files. Comma-separated list. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#backup_operators NetappActiveDirectory#backup_operators}
        Returns:
        this
      • description

        @Stability(Stable)
        public NetappActiveDirectoryConfig.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_active_directory#description NetappActiveDirectory#description}
        Returns:
        this
      • encryptDcConnections

        @Stability(Stable)
        public NetappActiveDirectoryConfig.Builder encryptDcConnections​(Boolean encryptDcConnections)
        Parameters:
        encryptDcConnections - If enabled, traffic between the SMB server to Domain Controller (DC) will be encrypted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#encrypt_dc_connections NetappActiveDirectory#encrypt_dc_connections}
        Returns:
        this
      • encryptDcConnections

        @Stability(Stable)
        public NetappActiveDirectoryConfig.Builder encryptDcConnections​(com.hashicorp.cdktf.IResolvable encryptDcConnections)
        Parameters:
        encryptDcConnections - If enabled, traffic between the SMB server to Domain Controller (DC) will be encrypted. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#encrypt_dc_connections NetappActiveDirectory#encrypt_dc_connections}
        Returns:
        this
      • id

        @Stability(Stable)
        public NetappActiveDirectoryConfig.Builder id​(String id)
        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#id NetappActiveDirectory#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
      • kdcHostname

        @Stability(Stable)
        public NetappActiveDirectoryConfig.Builder kdcHostname​(String kdcHostname)
        Parameters:
        kdcHostname - Hostname of the Active Directory server used as Kerberos Key Distribution Center. Only requried for volumes using kerberized NFSv4.1. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#kdc_hostname NetappActiveDirectory#kdc_hostname}
        Returns:
        this
      • kdcIp

        @Stability(Stable)
        public NetappActiveDirectoryConfig.Builder kdcIp​(String kdcIp)
        Parameters:
        kdcIp - IP address of the Active Directory server used as Kerberos Key Distribution Center. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#kdc_ip NetappActiveDirectory#kdc_ip}
        Returns:
        this
      • labels

        @Stability(Stable)
        public NetappActiveDirectoryConfig.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_active_directory#labels NetappActiveDirectory#labels}
        Returns:
        this
      • ldapSigning

        @Stability(Stable)
        public NetappActiveDirectoryConfig.Builder ldapSigning​(Boolean ldapSigning)
        Parameters:
        ldapSigning - Specifies whether or not the LDAP traffic needs to be signed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#ldap_signing NetappActiveDirectory#ldap_signing}
        Returns:
        this
      • ldapSigning

        @Stability(Stable)
        public NetappActiveDirectoryConfig.Builder ldapSigning​(com.hashicorp.cdktf.IResolvable ldapSigning)
        Parameters:
        ldapSigning - Specifies whether or not the LDAP traffic needs to be signed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#ldap_signing NetappActiveDirectory#ldap_signing}
        Returns:
        this
      • nfsUsersWithLdap

        @Stability(Stable)
        public NetappActiveDirectoryConfig.Builder nfsUsersWithLdap​(Boolean nfsUsersWithLdap)
        Parameters:
        nfsUsersWithLdap - Local UNIX users on clients without valid user information in Active Directory are blocked from access to LDAP enabled volumes. This option can be used to temporarily switch such volumes to AUTH_SYS authentication (user ID + 1-16 groups). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#nfs_users_with_ldap NetappActiveDirectory#nfs_users_with_ldap}
        Returns:
        this
      • nfsUsersWithLdap

        @Stability(Stable)
        public NetappActiveDirectoryConfig.Builder nfsUsersWithLdap​(com.hashicorp.cdktf.IResolvable nfsUsersWithLdap)
        Parameters:
        nfsUsersWithLdap - Local UNIX users on clients without valid user information in Active Directory are blocked from access to LDAP enabled volumes. This option can be used to temporarily switch such volumes to AUTH_SYS authentication (user ID + 1-16 groups). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#nfs_users_with_ldap NetappActiveDirectory#nfs_users_with_ldap}
        Returns:
        this
      • organizationalUnit

        @Stability(Stable)
        public NetappActiveDirectoryConfig.Builder organizationalUnit​(String organizationalUnit)
        Parameters:
        organizationalUnit - Name of the Organizational Unit where you intend to create the computer account for NetApp Volumes. Defaults to 'CN=Computers' if left empty. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#organizational_unit NetappActiveDirectory#organizational_unit}
        Returns:
        this
      • securityOperators

        @Stability(Stable)
        public NetappActiveDirectoryConfig.Builder securityOperators​(List<String> securityOperators)
        Parameters:
        securityOperators - Domain accounts that require elevated privileges such as 'SeSecurityPrivilege' to manage security logs. Comma-separated list. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#security_operators NetappActiveDirectory#security_operators}
        Returns:
        this
      • site

        @Stability(Stable)
        public NetappActiveDirectoryConfig.Builder site​(String site)
        Parameters:
        site - Specifies an Active Directory site to manage domain controller selection. Use when Active Directory domain controllers in multiple regions are configured. Defaults to 'Default-First-Site-Name' if left empty. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#site NetappActiveDirectory#site}
        Returns:
        this
      • connection

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

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