Class UpdateExportDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • isIdmapGroupsForSysAuth

        public UpdateExportDetails.Builder isIdmapGroupsForSysAuth​(Boolean isIdmapGroupsForSysAuth)
        Whether or not the export should use ID mapping for Unix groups rather than the group list provided within an NFS request’s RPC header.

        When this flag is true the Unix UID from the RPC header is used to retrieve the list of secondary groups from a the ID mapping subsystem. The primary GID is always taken from the RPC header. If ID mapping is not configured, incorrectly configured, unavailable, or cannot be used to determine a list of secondary groups then an empty secondary group list is used for authorization. If the number of groups exceeds the limit of 256 groups, the list retrieved from LDAP is truncated to the first 256 groups read.

        Parameters:
        isIdmapGroupsForSysAuth - the value to set
        Returns:
        this builder
      • exportOptions

        public UpdateExportDetails.Builder exportOptions​(List<ClientOptions> exportOptions)
        New export options for the export.

        *Setting to the empty array will make the export invisible to all clients.**

        Leaving unset will leave the exportOptions unchanged.

        Parameters:
        exportOptions - the value to set
        Returns:
        this builder