Interface LifecycleEvent.Builder

    • Method Detail

      • 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.
      • 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

        LifecycleEvent.Builder status​(String 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:
        LifecycleEventStatus, LifecycleEventStatus
      • status

        LifecycleEvent.Builder status​(LifecycleEventStatus 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:
        LifecycleEventStatus, LifecycleEventStatus