Class MemberAccessLevelResult.Builder

    • Constructor Detail

      • Builder

        protected Builder()
    • Method Detail

      • withAccessLevel

        public MemberAccessLevelResult.Builder withAccessLevel​(AccessLevel accessLevel)
        Set value for optional field.
        Parameters:
        accessLevel - The member still has this level of access to the content through a parent folder.
        Returns:
        this builder
      • withWarning

        public MemberAccessLevelResult.Builder withWarning​(java.lang.String warning)
        Set value for optional field.
        Parameters:
        warning - A localized string with additional information about why the user has this access level to the content.
        Returns:
        this builder
      • withAccessDetails

        public MemberAccessLevelResult.Builder withAccessDetails​(java.util.List<ParentFolderAccessInfo> accessDetails)
        Set value for optional field.
        Parameters:
        accessDetails - The parent folders that a member has access to. The field is present if the user has access to the first parent folder where the member gains access. Must not contain a null item.
        Returns:
        this builder
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.