ExportPolicyRule Class
- java.
lang. Object - com.
azure. resourcemanager. netapp. models. ExportPolicyRule
- com.
public final class ExportPolicyRule
Volume Export Policy Rule.
Constructor Summary
Constructor | Description |
---|---|
ExportPolicyRule() |
Creates an instance of Export |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
allowedClients()
Get the allowed |
Chown |
chownMode()
Get the chown |
Boolean |
cifs()
Get the cifs property: Allows CIFS protocol. |
Boolean |
hasRootAccess()
Get the has |
Boolean |
kerberos5IReadOnly()
Get the kerberos5IRead |
Boolean |
kerberos5IReadWrite()
Get the kerberos5IRead |
Boolean |
kerberos5PReadOnly()
Get the kerberos5PRead |
Boolean |
kerberos5PReadWrite()
Get the kerberos5PRead |
Boolean |
kerberos5ReadOnly()
Get the kerberos5Read |
Boolean |
kerberos5ReadWrite()
Get the kerberos5Read |
Boolean |
nfsv3()
Get the nfsv3 property: Allows NFSv3 protocol. |
Boolean |
nfsv41()
Get the nfsv41 property: Allows NFSv4.1 protocol. |
Integer |
ruleIndex()
Get the rule |
Boolean |
unixReadOnly()
Get the unix |
Boolean |
unixReadWrite()
Get the unix |
void |
validate()
Validates the instance. |
Export |
withAllowedClients(String allowedClients)
Set the allowed |
Export |
withChownMode(ChownMode chownMode)
Set the chown |
Export |
withCifs(Boolean cifs)
Set the cifs property: Allows CIFS protocol. |
Export |
withHasRootAccess(Boolean hasRootAccess)
Set the has |
Export |
withKerberos5IReadOnly(Boolean kerberos5IReadOnly)
Set the kerberos5IRead |
Export |
withKerberos5IReadWrite(Boolean kerberos5IReadWrite)
Set the kerberos5IRead |
Export |
withKerberos5PReadOnly(Boolean kerberos5PReadOnly)
Set the kerberos5PRead |
Export |
withKerberos5PReadWrite(Boolean kerberos5PReadWrite)
Set the kerberos5PRead |
Export |
withKerberos5ReadOnly(Boolean kerberos5ReadOnly)
Set the kerberos5Read |
Export |
withKerberos5ReadWrite(Boolean kerberos5ReadWrite)
Set the kerberos5Read |
Export |
withNfsv3(Boolean nfsv3)
Set the nfsv3 property: Allows NFSv3 protocol. |
Export |
withNfsv41(Boolean nfsv41)
Set the nfsv41 property: Allows NFSv4.1 protocol. |
Export |
withRuleIndex(Integer ruleIndex)
Set the rule |
Export |
withUnixReadOnly(Boolean unixReadOnly)
Set the unix |
Export |
withUnixReadWrite(Boolean unixReadWrite)
Set the unix |
Methods inherited from java.lang.Object
Constructor Details
ExportPolicyRule
public ExportPolicyRule()
Creates an instance of ExportPolicyRule class.
Method Details
allowedClients
public String allowedClients()
Get the allowedClients property: Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names.
Returns:
chownMode
public ChownMode chownMode()
Get the chownMode property: This parameter specifies who is authorized to change the ownership of a file. restricted - Only root user can change the ownership of the file. unrestricted - Non-root users can change ownership of files that they own.
Returns:
cifs
public Boolean cifs()
Get the cifs property: Allows CIFS protocol.
Returns:
hasRootAccess
public Boolean hasRootAccess()
Get the hasRootAccess property: Has root access to volume.
Returns:
kerberos5IReadOnly
public Boolean kerberos5IReadOnly()
Get the kerberos5IReadOnly property: Kerberos5i Read only access. To be use with swagger version 2020-05-01 or later.
Returns:
kerberos5IReadWrite
public Boolean kerberos5IReadWrite()
Get the kerberos5IReadWrite property: Kerberos5i Read and write access. To be use with swagger version 2020-05-01 or later.
Returns:
kerberos5PReadOnly
public Boolean kerberos5PReadOnly()
Get the kerberos5PReadOnly property: Kerberos5p Read only access. To be use with swagger version 2020-05-01 or later.
Returns:
kerberos5PReadWrite
public Boolean kerberos5PReadWrite()
Get the kerberos5PReadWrite property: Kerberos5p Read and write access. To be use with swagger version 2020-05-01 or later.
Returns:
kerberos5ReadOnly
public Boolean kerberos5ReadOnly()
Get the kerberos5ReadOnly property: Kerberos5 Read only access. To be use with swagger version 2020-05-01 or later.
Returns:
kerberos5ReadWrite
public Boolean kerberos5ReadWrite()
Get the kerberos5ReadWrite property: Kerberos5 Read and write access. To be use with swagger version 2020-05-01 or later.
Returns:
nfsv3
public Boolean nfsv3()
Get the nfsv3 property: Allows NFSv3 protocol. Enable only for NFSv3 type volumes.
Returns:
nfsv41
public Boolean nfsv41()
Get the nfsv41 property: Allows NFSv4.1 protocol. Enable only for NFSv4.1 type volumes.
Returns:
ruleIndex
public Integer ruleIndex()
Get the ruleIndex property: Order index.
Returns:
unixReadOnly
public Boolean unixReadOnly()
Get the unixReadOnly property: Read only access.
Returns:
unixReadWrite
public Boolean unixReadWrite()
Get the unixReadWrite property: Read and write access.
Returns:
validate
public void validate()
Validates the instance.
withAllowedClients
public ExportPolicyRule withAllowedClients(String allowedClients)
Set the allowedClients property: Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names.
Parameters:
Returns:
withChownMode
public ExportPolicyRule withChownMode(ChownMode chownMode)
Set the chownMode property: This parameter specifies who is authorized to change the ownership of a file. restricted - Only root user can change the ownership of the file. unrestricted - Non-root users can change ownership of files that they own.
Parameters:
Returns:
withCifs
public ExportPolicyRule withCifs(Boolean cifs)
Set the cifs property: Allows CIFS protocol.
Parameters:
Returns:
withHasRootAccess
public ExportPolicyRule withHasRootAccess(Boolean hasRootAccess)
Set the hasRootAccess property: Has root access to volume.
Parameters:
Returns:
withKerberos5IReadOnly
public ExportPolicyRule withKerberos5IReadOnly(Boolean kerberos5IReadOnly)
Set the kerberos5IReadOnly property: Kerberos5i Read only access. To be use with swagger version 2020-05-01 or later.
Parameters:
Returns:
withKerberos5IReadWrite
public ExportPolicyRule withKerberos5IReadWrite(Boolean kerberos5IReadWrite)
Set the kerberos5IReadWrite property: Kerberos5i Read and write access. To be use with swagger version 2020-05-01 or later.
Parameters:
Returns:
withKerberos5PReadOnly
public ExportPolicyRule withKerberos5PReadOnly(Boolean kerberos5PReadOnly)
Set the kerberos5PReadOnly property: Kerberos5p Read only access. To be use with swagger version 2020-05-01 or later.
Parameters:
Returns:
withKerberos5PReadWrite
public ExportPolicyRule withKerberos5PReadWrite(Boolean kerberos5PReadWrite)
Set the kerberos5PReadWrite property: Kerberos5p Read and write access. To be use with swagger version 2020-05-01 or later.
Parameters:
Returns:
withKerberos5ReadOnly
public ExportPolicyRule withKerberos5ReadOnly(Boolean kerberos5ReadOnly)
Set the kerberos5ReadOnly property: Kerberos5 Read only access. To be use with swagger version 2020-05-01 or later.
Parameters:
Returns:
withKerberos5ReadWrite
public ExportPolicyRule withKerberos5ReadWrite(Boolean kerberos5ReadWrite)
Set the kerberos5ReadWrite property: Kerberos5 Read and write access. To be use with swagger version 2020-05-01 or later.
Parameters:
Returns:
withNfsv3
public ExportPolicyRule withNfsv3(Boolean nfsv3)
Set the nfsv3 property: Allows NFSv3 protocol. Enable only for NFSv3 type volumes.
Parameters:
Returns:
withNfsv41
public ExportPolicyRule withNfsv41(Boolean nfsv41)
Set the nfsv41 property: Allows NFSv4.1 protocol. Enable only for NFSv4.1 type volumes.
Parameters:
Returns:
withRuleIndex
public ExportPolicyRule withRuleIndex(Integer ruleIndex)
Set the ruleIndex property: Order index.
Parameters:
Returns:
withUnixReadOnly
public ExportPolicyRule withUnixReadOnly(Boolean unixReadOnly)
Set the unixReadOnly property: Read only access.
Parameters:
Returns:
withUnixReadWrite
public ExportPolicyRule withUnixReadWrite(Boolean unixReadWrite)
Set the unixReadWrite property: Read and write access.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for