Class NetappActiveDirectoryConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.netapp_active_directory.NetappActiveDirectoryConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NetappActiveDirectoryConfig>
- Enclosing interface:
- NetappActiveDirectoryConfig
@Stability(Stable) public static final class NetappActiveDirectoryConfig.Builder extends Object implements software.amazon.jsii.Builder<NetappActiveDirectoryConfig>
A builder forNetappActiveDirectoryConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
dns
@Stability(Stable) public NetappActiveDirectoryConfig.Builder dns(String dns)
Sets the value ofNetappActiveDirectoryConfig.getDns()- 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)
Sets the value ofNetappActiveDirectoryConfig.getDomain()- 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)
Sets the value ofNetappActiveDirectoryConfig.getLocation()- 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)
Sets the value ofNetappActiveDirectoryConfig.getName()- 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)
Sets the value ofNetappActiveDirectoryConfig.getNetBiosPrefix()- 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)
Sets the value ofNetappActiveDirectoryConfig.getPassword()- 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)
Sets the value ofNetappActiveDirectoryConfig.getUsername()- 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)
Sets the value ofNetappActiveDirectoryConfig.getAdministrators()- 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)
Sets the value ofNetappActiveDirectoryConfig.getAesEncryption()- 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)
Sets the value ofNetappActiveDirectoryConfig.getAesEncryption()- 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)
Sets the value ofNetappActiveDirectoryConfig.getBackupOperators()- 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)
Sets the value ofNetappActiveDirectoryConfig.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_active_directory#description NetappActiveDirectory#description}- Returns:
this
-
encryptDcConnections
@Stability(Stable) public NetappActiveDirectoryConfig.Builder encryptDcConnections(Boolean encryptDcConnections)
Sets the value ofNetappActiveDirectoryConfig.getEncryptDcConnections()- 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)
Sets the value ofNetappActiveDirectoryConfig.getEncryptDcConnections()- 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)
Sets the value ofNetappActiveDirectoryConfig.getId()- 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)
Sets the value ofNetappActiveDirectoryConfig.getKdcHostname()- 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)
Sets the value ofNetappActiveDirectoryConfig.getKdcIp()- 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)
Sets the value ofNetappActiveDirectoryConfig.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_active_directory#labels NetappActiveDirectory#labels}- Returns:
this
-
ldapSigning
@Stability(Stable) public NetappActiveDirectoryConfig.Builder ldapSigning(Boolean ldapSigning)
Sets the value ofNetappActiveDirectoryConfig.getLdapSigning()- 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)
Sets the value ofNetappActiveDirectoryConfig.getLdapSigning()- 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)
Sets the value ofNetappActiveDirectoryConfig.getNfsUsersWithLdap()- 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)
Sets the value ofNetappActiveDirectoryConfig.getNfsUsersWithLdap()- 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)
Sets the value ofNetappActiveDirectoryConfig.getOrganizationalUnit()- 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
-
project
@Stability(Stable) public NetappActiveDirectoryConfig.Builder project(String project)
Sets the value ofNetappActiveDirectoryConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#project NetappActiveDirectory#project}.- Returns:
this
-
securityOperators
@Stability(Stable) public NetappActiveDirectoryConfig.Builder securityOperators(List<String> securityOperators)
Sets the value ofNetappActiveDirectoryConfig.getSecurityOperators()- 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)
Sets the value ofNetappActiveDirectoryConfig.getSite()- 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
-
timeouts
@Stability(Stable) public NetappActiveDirectoryConfig.Builder timeouts(NetappActiveDirectoryTimeouts timeouts)
Sets the value ofNetappActiveDirectoryConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/netapp_active_directory#timeouts NetappActiveDirectory#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public NetappActiveDirectoryConfig.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 NetappActiveDirectoryConfig.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 NetappActiveDirectoryConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.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 ofTerraformMetaArguments.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 ofTerraformMetaArguments.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 ofTerraformMetaArguments.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 ofTerraformMetaArguments.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 ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public NetappActiveDirectoryConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public NetappActiveDirectoryConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NetappActiveDirectoryConfig>- Returns:
- a new instance of
NetappActiveDirectoryConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-