Class NfsAccessRuleResponse


  • public final class NfsAccessRuleResponse
    extends java.lang.Object
    • Method Detail

      • access

        public java.lang.String access()
        Returns:
        Access allowed by this rule.
      • anonymousGID

        public java.util.Optional<java.lang.String> anonymousGID()
        Returns:
        GID value that replaces 0 when rootSquash is true. This will use the value of anonymousUID if not provided.
      • anonymousUID

        public java.util.Optional<java.lang.String> anonymousUID()
        Returns:
        UID value that replaces 0 when rootSquash is true. 65534 will be used if not provided.
      • filter

        public java.util.Optional<java.lang.String> filter()
        Returns:
        Filter applied to the scope for this rule. The filter's format depends on its scope. 'default' scope matches all clients and has no filter value. 'network' scope takes a filter in CIDR format (for example, 10.99.1.0/24). 'host' takes an IP address or fully qualified domain name as filter. If a client does not match any filter rule and there is no default rule, access is denied.
      • rootSquash

        public java.util.Optional<java.lang.Boolean> rootSquash()
        Returns:
        Map root accesses to anonymousUID and anonymousGID.
      • scope

        public java.lang.String scope()
        Returns:
        Scope for this rule. The scope and filter determine which clients match the rule.
      • submountAccess

        public java.util.Optional<java.lang.Boolean> submountAccess()
        Returns:
        For the default policy, allow access to subdirectories under the root export. If this is set to no, clients can only mount the path '/'. If set to yes, clients can mount a deeper path, like '/a/b'.
      • suid

        public java.util.Optional<java.lang.Boolean> suid()
        Returns:
        Allow SUID semantics.