Class AddFileMemberBuilder

    • Method Detail

      • withCustomMessage

        public AddFileMemberBuilder withCustomMessage​(java.lang.String customMessage)
        Set value for optional field.
        Parameters:
        customMessage - Message to send to added members in their invitation.
        Returns:
        this builder
      • withQuiet

        public AddFileMemberBuilder withQuiet​(java.lang.Boolean quiet)
        Set value for optional field.

        If left unset or set to null, defaults to false.

        Parameters:
        quiet - Whether added members should be notified via email and device notifications of their invitation. Defaults to false when set to null.
        Returns:
        this builder
      • withAccessLevel

        public AddFileMemberBuilder withAccessLevel​(AccessLevel accessLevel)
        Set value for optional field.

        If left unset or set to null, defaults to AccessLevel.VIEWER.

        Parameters:
        accessLevel - AccessLevel union object, describing what access level we want to give new members. Must not be null. Defaults to AccessLevel.VIEWER when set to null.
        Returns:
        this builder
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
      • withAddMessageAsComment

        public AddFileMemberBuilder withAddMessageAsComment​(java.lang.Boolean addMessageAsComment)
        Set value for optional field.

        If left unset or set to null, defaults to false.

        Parameters:
        addMessageAsComment - If the custom message should be added as a comment on the file. Defaults to false when set to null.
        Returns:
        this builder