Interface EventBuilder

    • Method Detail

      • merge

        EventBuilder merge​(EventBuilder other)
        Merges another EventBuilder into this EventBuilder. This should be used to combine multiple events on the same resource.
        Parameters:
        other - another EventBuilder
        Returns:
        this builder
      • withBaseUrl

        EventBuilder withBaseUrl​(String baseUrl)
        Sets the baseUrl of the requests
        Parameters:
        baseUrl - the base url
        Returns:
        this builder
      • withUserAgent

        EventBuilder withUserAgent​(String userAgent)
        Sets the user's user-agent
        Parameters:
        userAgent - the user's user-agent
        Returns:
        this builder
      • build

        Event build()
        Constructs a new Event object from the details in the builder.
        Returns:
        new event