Class Share.CreateUserShareBuilder

  • Enclosing class:
    Share

    public static class Share.CreateUserShareBuilder
    extends java.lang.Object
    A convenience class for creating a Share with the necessary fields to create a ShareType.USER Share. You must set one and only of of emailAddress and userId.
    • Constructor Detail

      • CreateUserShareBuilder

        public CreateUserShareBuilder()
    • Method Detail

      • getEmailAddress

        public java.lang.String getEmailAddress()
        Gets the email address.
        Returns:
        the email address
      • getAccessLevel

        public AccessLevel getAccessLevel()
        Gets the access level
        Returns:
        the access level
      • build

        public Share build()
        Builds the Share object.
        Returns:
        the share