Class Share.UpdateShareBuilder

  • Enclosing class:
    Share

    public static class Share.UpdateShareBuilder
    extends java.lang.Object
    A convenience class for creating a Share with the necessary fields to update a specific share.
    • Constructor Detail

      • UpdateShareBuilder

        public UpdateShareBuilder()
    • Method Detail

      • getShareId

        public java.lang.String getShareId()
        Share Id for this specific share.
        Returns:
        the builder
      • setAccessLevel

        public Share.UpdateShareBuilder setAccessLevel​(AccessLevel accessLevel)
        Access level for the share.
        Parameters:
        accessLevel - the access level
        Returns:
        the update share builder
      • getAccessLevel

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

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