Interface Event.Builder

    • Method Detail

      • eventName

        Event.Builder eventName​(String eventName)

        The name of the event.

        Parameters:
        eventName - The name of the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • condition

        Event.Builder condition​(String condition)

        Optional. The Boolean expression that, when TRUE, causes the actions to be performed. If not present, the actions are performed (=TRUE). If the expression result is not a Boolean value, the actions are not performed (=FALSE).

        Parameters:
        condition - Optional. The Boolean expression that, when TRUE, causes the actions to be performed. If not present, the actions are performed (=TRUE). If the expression result is not a Boolean value, the actions are not performed (=FALSE).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actions

        Event.Builder actions​(Collection<Action> actions)

        The actions to be performed.

        Parameters:
        actions - The actions to be performed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actions

        Event.Builder actions​(Action... actions)

        The actions to be performed.

        Parameters:
        actions - The actions to be performed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actions

        Event.Builder actions​(Consumer<Action.Builder>... actions)

        The actions to be performed.

        This is a convenience method that creates an instance of the Action.Builder avoiding the need to create one manually via Action.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #actions(List).

        Parameters:
        actions - a consumer that will call methods on Action.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #actions(java.util.Collection)