Class AliasRequest.Builder

  • Enclosing class:
    AliasRequest

    public static class AliasRequest.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • destinationMpid

        public AliasRequest.Builder destinationMpid​(long mpid)
        set the user which the sourceUser will be "copied" onto
        Parameters:
        mpid - the destination user's mpid
        Returns:
      • sourceMpid

        public AliasRequest.Builder sourceMpid​(long mpid)
        set the mpid of the user which is to be "copied" over
        Returns:
        the source user's mpid
      • startTime

        public AliasRequest.Builder startTime​(long startTime)
        set a time indicating the beginning of the window of activity which should be aliased
        Parameters:
        startTime - the time, in milliseconds
        Returns:
      • endTime

        public AliasRequest.Builder endTime​(long endTime)
        set a time indicating the end of the window of activity which should be aliased
        Parameters:
        endTime - the time, in milliseconds