Interface OnEnterLifecycle.Builder

All Superinterfaces:
Buildable, CopyableBuilder<OnEnterLifecycle.Builder,OnEnterLifecycle>, SdkBuilder<OnEnterLifecycle.Builder,OnEnterLifecycle>, SdkPojo
Enclosing class:
OnEnterLifecycle

public static interface OnEnterLifecycle.Builder extends SdkPojo, CopyableBuilder<OnEnterLifecycle.Builder,OnEnterLifecycle>
  • Method Details

    • events

      Specifies the actions that are performed when the state is entered and the condition is TRUE.

      Parameters:
      events - Specifies the actions that are performed when the state is entered and the condition is TRUE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • events

      OnEnterLifecycle.Builder events(Event... events)

      Specifies the actions that are performed when the state is entered and the condition is TRUE.

      Parameters:
      events - Specifies the actions that are performed when the state is entered and the condition is TRUE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • events

      Specifies the actions that are performed when the state is entered and the condition is TRUE.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to events(List<Event>).

      Parameters:
      events - a consumer that will call methods on Event.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: