Interface LifecycleEvent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LifecycleEvent.Builder,
,LifecycleEvent> SdkBuilder<LifecycleEvent.Builder,
,LifecycleEvent> SdkPojo
- Enclosing class:
LifecycleEvent
-
Method Summary
Modifier and TypeMethodDescriptiondefault LifecycleEvent.Builder
diagnostics
(Consumer<Diagnostics.Builder> diagnostics) Diagnostic information about the deployment lifecycle event.diagnostics
(Diagnostics diagnostics) Diagnostic information about the deployment lifecycle event.A timestamp that indicates when the deployment lifecycle event ended.lifecycleEventName
(String lifecycleEventName) The deployment lifecycle event name, such asApplicationStop
,BeforeInstall
,AfterInstall
,ApplicationStart
, orValidateService
.A timestamp that indicates when the deployment lifecycle event started.The deployment lifecycle event status:status
(LifecycleEventStatus status) The deployment lifecycle event status:Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
lifecycleEventName
The deployment lifecycle event name, such as
ApplicationStop
,BeforeInstall
,AfterInstall
,ApplicationStart
, orValidateService
.- Parameters:
lifecycleEventName
- The deployment lifecycle event name, such asApplicationStop
,BeforeInstall
,AfterInstall
,ApplicationStart
, orValidateService
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
Diagnostic information about the deployment lifecycle event.
This is a convenience method that creates an instance of theDiagnostics.Builder
avoiding the need to create one manually viaDiagnostics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todiagnostics(Diagnostics)
.- Parameters:
diagnostics
- a consumer that will call methods onDiagnostics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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:
-
-