Interface OnExitLifecycle.Builder

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

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

    • events

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

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

      OnExitLifecycle.Builder events(Event... events)

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

      Parameters:
      events - Specifies the actions that are performed when the state is exited 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 exited 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: