ExportPolicyRule Class

  • java.lang.Object
    • com.azure.resourcemanager.netapp.models.ExportPolicyRule

public final class ExportPolicyRule

Volume Export Policy Rule.

Constructor Summary

Constructor Description
ExportPolicyRule()

Creates an instance of ExportPolicyRule class.

Method Summary

Modifier and Type Method and Description
String allowedClients()

Get the allowedClients property: Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names.

ChownMode chownMode()

Get the chownMode property: This parameter specifies who is authorized to change the ownership of a file.

Boolean cifs()

Get the cifs property: Allows CIFS protocol.

Boolean hasRootAccess()

Get the hasRootAccess property: Has root access to volume.

Boolean kerberos5IReadOnly()

Get the kerberos5IReadOnly property: Kerberos5i Read only access.

Boolean kerberos5IReadWrite()

Get the kerberos5IReadWrite property: Kerberos5i Read and write access.

Boolean kerberos5PReadOnly()

Get the kerberos5PReadOnly property: Kerberos5p Read only access.

Boolean kerberos5PReadWrite()

Get the kerberos5PReadWrite property: Kerberos5p Read and write access.

Boolean kerberos5ReadOnly()

Get the kerberos5ReadOnly property: Kerberos5 Read only access.

Boolean kerberos5ReadWrite()

Get the kerberos5ReadWrite property: Kerberos5 Read and write access.

Boolean nfsv3()

Get the nfsv3 property: Allows NFSv3 protocol.

Boolean nfsv41()

Get the nfsv41 property: Allows NFSv4.1 protocol.

Integer ruleIndex()

Get the ruleIndex property: Order index.

Boolean unixReadOnly()

Get the unixReadOnly property: Read only access.

Boolean unixReadWrite()

Get the unixReadWrite property: Read and write access.

void validate()

Validates the instance.

ExportPolicyRule withAllowedClients(String allowedClients)

Set the allowedClients property: Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names.

ExportPolicyRule withChownMode(ChownMode chownMode)

Set the chownMode property: This parameter specifies who is authorized to change the ownership of a file.

ExportPolicyRule withCifs(Boolean cifs)

Set the cifs property: Allows CIFS protocol.

ExportPolicyRule withHasRootAccess(Boolean hasRootAccess)

Set the hasRootAccess property: Has root access to volume.

ExportPolicyRule withKerberos5IReadOnly(Boolean kerberos5IReadOnly)

Set the kerberos5IReadOnly property: Kerberos5i Read only access.

ExportPolicyRule withKerberos5IReadWrite(Boolean kerberos5IReadWrite)

Set the kerberos5IReadWrite property: Kerberos5i Read and write access.

ExportPolicyRule withKerberos5PReadOnly(Boolean kerberos5PReadOnly)

Set the kerberos5PReadOnly property: Kerberos5p Read only access.

ExportPolicyRule withKerberos5PReadWrite(Boolean kerberos5PReadWrite)

Set the kerberos5PReadWrite property: Kerberos5p Read and write access.

ExportPolicyRule withKerberos5ReadOnly(Boolean kerberos5ReadOnly)

Set the kerberos5ReadOnly property: Kerberos5 Read only access.

ExportPolicyRule withKerberos5ReadWrite(Boolean kerberos5ReadWrite)

Set the kerberos5ReadWrite property: Kerberos5 Read and write access.

ExportPolicyRule withNfsv3(Boolean nfsv3)

Set the nfsv3 property: Allows NFSv3 protocol.

ExportPolicyRule withNfsv41(Boolean nfsv41)

Set the nfsv41 property: Allows NFSv4.1 protocol.

ExportPolicyRule withRuleIndex(Integer ruleIndex)

Set the ruleIndex property: Order index.

ExportPolicyRule withUnixReadOnly(Boolean unixReadOnly)

Set the unixReadOnly property: Read only access.

ExportPolicyRule withUnixReadWrite(Boolean unixReadWrite)

Set the unixReadWrite property: Read and write access.

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:

the allowedClients value.

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:

the chownMode value.

cifs

public Boolean cifs()

Get the cifs property: Allows CIFS protocol.

Returns:

the cifs value.

hasRootAccess

public Boolean hasRootAccess()

Get the hasRootAccess property: Has root access to volume.

Returns:

the hasRootAccess value.

kerberos5IReadOnly

public Boolean kerberos5IReadOnly()

Get the kerberos5IReadOnly property: Kerberos5i Read only access. To be use with swagger version 2020-05-01 or later.

Returns:

the kerberos5IReadOnly value.

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:

the kerberos5IReadWrite value.

kerberos5PReadOnly

public Boolean kerberos5PReadOnly()

Get the kerberos5PReadOnly property: Kerberos5p Read only access. To be use with swagger version 2020-05-01 or later.

Returns:

the kerberos5PReadOnly value.

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:

the kerberos5PReadWrite value.

kerberos5ReadOnly

public Boolean kerberos5ReadOnly()

Get the kerberos5ReadOnly property: Kerberos5 Read only access. To be use with swagger version 2020-05-01 or later.

Returns:

the kerberos5ReadOnly value.

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:

the kerberos5ReadWrite value.

nfsv3

public Boolean nfsv3()

Get the nfsv3 property: Allows NFSv3 protocol. Enable only for NFSv3 type volumes.

Returns:

the nfsv3 value.

nfsv41

public Boolean nfsv41()

Get the nfsv41 property: Allows NFSv4.1 protocol. Enable only for NFSv4.1 type volumes.

Returns:

the nfsv41 value.

ruleIndex

public Integer ruleIndex()

Get the ruleIndex property: Order index.

Returns:

the ruleIndex value.

unixReadOnly

public Boolean unixReadOnly()

Get the unixReadOnly property: Read only access.

Returns:

the unixReadOnly value.

unixReadWrite

public Boolean unixReadWrite()

Get the unixReadWrite property: Read and write access.

Returns:

the unixReadWrite value.

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:

allowedClients - the allowedClients value to set.

Returns:

the ExportPolicyRule object itself.

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:

chownMode - the chownMode value to set.

Returns:

the ExportPolicyRule object itself.

withCifs

public ExportPolicyRule withCifs(Boolean cifs)

Set the cifs property: Allows CIFS protocol.

Parameters:

cifs - the cifs value to set.

Returns:

the ExportPolicyRule object itself.

withHasRootAccess

public ExportPolicyRule withHasRootAccess(Boolean hasRootAccess)

Set the hasRootAccess property: Has root access to volume.

Parameters:

hasRootAccess - the hasRootAccess value to set.

Returns:

the ExportPolicyRule object itself.

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:

kerberos5IReadOnly - the kerberos5IReadOnly value to set.

Returns:

the ExportPolicyRule object itself.

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:

kerberos5IReadWrite - the kerberos5IReadWrite value to set.

Returns:

the ExportPolicyRule object itself.

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:

kerberos5PReadOnly - the kerberos5PReadOnly value to set.

Returns:

the ExportPolicyRule object itself.

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:

kerberos5PReadWrite - the kerberos5PReadWrite value to set.

Returns:

the ExportPolicyRule object itself.

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:

kerberos5ReadOnly - the kerberos5ReadOnly value to set.

Returns:

the ExportPolicyRule object itself.

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:

kerberos5ReadWrite - the kerberos5ReadWrite value to set.

Returns:

the ExportPolicyRule object itself.

withNfsv3

public ExportPolicyRule withNfsv3(Boolean nfsv3)

Set the nfsv3 property: Allows NFSv3 protocol. Enable only for NFSv3 type volumes.

Parameters:

nfsv3 - the nfsv3 value to set.

Returns:

the ExportPolicyRule object itself.

withNfsv41

public ExportPolicyRule withNfsv41(Boolean nfsv41)

Set the nfsv41 property: Allows NFSv4.1 protocol. Enable only for NFSv4.1 type volumes.

Parameters:

nfsv41 - the nfsv41 value to set.

Returns:

the ExportPolicyRule object itself.

withRuleIndex

public ExportPolicyRule withRuleIndex(Integer ruleIndex)

Set the ruleIndex property: Order index.

Parameters:

ruleIndex - the ruleIndex value to set.

Returns:

the ExportPolicyRule object itself.

withUnixReadOnly

public ExportPolicyRule withUnixReadOnly(Boolean unixReadOnly)

Set the unixReadOnly property: Read only access.

Parameters:

unixReadOnly - the unixReadOnly value to set.

Returns:

the ExportPolicyRule object itself.

withUnixReadWrite

public ExportPolicyRule withUnixReadWrite(Boolean unixReadWrite)

Set the unixReadWrite property: Read and write access.

Parameters:

unixReadWrite - the unixReadWrite value to set.

Returns:

the ExportPolicyRule object itself.

Applies to