Class NetappVolumeExportPolicyRules.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.netapp_volume.NetappVolumeExportPolicyRules.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NetappVolumeExportPolicyRules>
- Enclosing interface:
- NetappVolumeExportPolicyRules
@Stability(Stable) public static final class NetappVolumeExportPolicyRules.Builder extends Object implements software.amazon.jsii.Builder<NetappVolumeExportPolicyRules>
A builder forNetappVolumeExportPolicyRules
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
accessType
@Stability(Stable) public NetappVolumeExportPolicyRules.Builder accessType(String accessType)
Sets the value ofNetappVolumeExportPolicyRules.getAccessType()- 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)
Sets the value ofNetappVolumeExportPolicyRules.getAllowedClients()- 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)
Sets the value ofNetappVolumeExportPolicyRules.getHasRootAccess()- 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)
Sets the value ofNetappVolumeExportPolicyRules.getKerberos5IReadOnly()- 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)
Sets the value ofNetappVolumeExportPolicyRules.getKerberos5IReadOnly()- 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)
Sets the value ofNetappVolumeExportPolicyRules.getKerberos5IReadWrite()- 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)
Sets the value ofNetappVolumeExportPolicyRules.getKerberos5IReadWrite()- 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)
Sets the value ofNetappVolumeExportPolicyRules.getKerberos5PReadOnly()- 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)
Sets the value ofNetappVolumeExportPolicyRules.getKerberos5PReadOnly()- 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)
Sets the value ofNetappVolumeExportPolicyRules.getKerberos5PReadWrite()- 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)
Sets the value ofNetappVolumeExportPolicyRules.getKerberos5PReadWrite()- 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)
Sets the value ofNetappVolumeExportPolicyRules.getKerberos5ReadOnly()- 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)
Sets the value ofNetappVolumeExportPolicyRules.getKerberos5ReadOnly()- 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)
Sets the value ofNetappVolumeExportPolicyRules.getKerberos5ReadWrite()- 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)
Sets the value ofNetappVolumeExportPolicyRules.getKerberos5ReadWrite()- 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(Boolean nfsv3)
Sets the value ofNetappVolumeExportPolicyRules.getNfsv3()- 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
-
nfsv3
@Stability(Stable) public NetappVolumeExportPolicyRules.Builder nfsv3(com.hashicorp.cdktf.IResolvable nfsv3)
Sets the value ofNetappVolumeExportPolicyRules.getNfsv3()- 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(Boolean nfsv4)
Sets the value ofNetappVolumeExportPolicyRules.getNfsv4()- 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
-
nfsv4
@Stability(Stable) public NetappVolumeExportPolicyRules.Builder nfsv4(com.hashicorp.cdktf.IResolvable nfsv4)
Sets the value ofNetappVolumeExportPolicyRules.getNfsv4()- 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
-
build
@Stability(Stable) public NetappVolumeExportPolicyRules build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NetappVolumeExportPolicyRules>- Returns:
- a new instance of
NetappVolumeExportPolicyRules - Throws:
NullPointerException- if any required attribute was not provided
-
-