Interface LifecycleEvent.Builder

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

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

    • lifecycleEventName

      LifecycleEvent.Builder lifecycleEventName(String lifecycleEventName)

      The deployment lifecycle event name, such as ApplicationStop, BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.

      Parameters:
      lifecycleEventName - The deployment lifecycle event name, such as ApplicationStop, BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • diagnostics

      LifecycleEvent.Builder diagnostics(Diagnostics diagnostics)

      Diagnostic information about the deployment lifecycle event.

      Parameters:
      diagnostics - Diagnostic information about the deployment lifecycle event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • diagnostics

      default LifecycleEvent.Builder diagnostics(Consumer<Diagnostics.Builder> diagnostics)

      Diagnostic information about the deployment lifecycle event.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to diagnostics(Diagnostics).

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

      LifecycleEvent.Builder startTime(Instant startTime)

      A timestamp that indicates when the deployment lifecycle event started.

      Parameters:
      startTime - A timestamp that indicates when the deployment lifecycle event started.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      LifecycleEvent.Builder endTime(Instant endTime)

      A timestamp that indicates when the deployment lifecycle event ended.

      Parameters:
      endTime - A timestamp that indicates when the deployment lifecycle event ended.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The deployment lifecycle event status:

      • Pending: The deployment lifecycle event is pending.

      • InProgress: The deployment lifecycle event is in progress.

      • Succeeded: The deployment lifecycle event ran successfully.

      • Failed: The deployment lifecycle event has failed.

      • Skipped: The deployment lifecycle event has been skipped.

      • Unknown: The deployment lifecycle event is unknown.

      Parameters:
      status - The deployment lifecycle event status:

      • Pending: The deployment lifecycle event is pending.

      • InProgress: The deployment lifecycle event is in progress.

      • Succeeded: The deployment lifecycle event ran successfully.

      • Failed: The deployment lifecycle event has failed.

      • Skipped: The deployment lifecycle event has been skipped.

      • Unknown: The deployment lifecycle event is unknown.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The deployment lifecycle event status:

      • Pending: The deployment lifecycle event is pending.

      • InProgress: The deployment lifecycle event is in progress.

      • Succeeded: The deployment lifecycle event ran successfully.

      • Failed: The deployment lifecycle event has failed.

      • Skipped: The deployment lifecycle event has been skipped.

      • Unknown: The deployment lifecycle event is unknown.

      Parameters:
      status - The deployment lifecycle event status:

      • Pending: The deployment lifecycle event is pending.

      • InProgress: The deployment lifecycle event is in progress.

      • Succeeded: The deployment lifecycle event ran successfully.

      • Failed: The deployment lifecycle event has failed.

      • Skipped: The deployment lifecycle event has been skipped.

      • Unknown: The deployment lifecycle event is unknown.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: