@Generated(value="software.amazon.awssdk:codegen") public final class LifecycleEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LifecycleEvent.Builder,LifecycleEvent>
Information about a deployment lifecycle event.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LifecycleEvent.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LifecycleEvent.Builder |
builder() |
Diagnostics |
diagnostics()
Diagnostic information about the deployment lifecycle event.
|
Instant |
endTime()
A timestamp that indicates when the deployment lifecycle event ended.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
lifecycleEventName()
The deployment lifecycle event name, such as
ApplicationStop, BeforeInstall,
AfterInstall, ApplicationStart, or ValidateService. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends LifecycleEvent.Builder> |
serializableBuilderClass() |
Instant |
startTime()
A timestamp that indicates when the deployment lifecycle event started.
|
LifecycleEventStatus |
status()
The deployment lifecycle event status:
|
String |
statusAsString()
The deployment lifecycle event status:
|
LifecycleEvent.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String lifecycleEventName()
The deployment lifecycle event name, such as ApplicationStop, BeforeInstall,
AfterInstall, ApplicationStart, or ValidateService.
ApplicationStop, BeforeInstall,
AfterInstall, ApplicationStart, or ValidateService.public final Diagnostics diagnostics()
Diagnostic information about the deployment lifecycle event.
public final Instant startTime()
A timestamp that indicates when the deployment lifecycle event started.
public final Instant endTime()
A timestamp that indicates when the deployment lifecycle event ended.
public final 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.
If the service returns an enum value that is not available in the current SDK version, status will
return LifecycleEventStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
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.
LifecycleEventStatuspublic final String statusAsString()
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.
If the service returns an enum value that is not available in the current SDK version, status will
return LifecycleEventStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
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.
LifecycleEventStatuspublic LifecycleEvent.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LifecycleEvent.Builder,LifecycleEvent>public static LifecycleEvent.Builder builder()
public static Class<? extends LifecycleEvent.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.