@Generated(value="software.amazon.awssdk:codegen") public class LifecycleEvent extends Object implements StructuredPojo, 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 indicating when the deployment lifecycle event ended.
|
boolean |
equals(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.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends LifecycleEvent.Builder> |
serializableBuilderClass() |
Instant |
startTime()
A timestamp indicating when the deployment lifecycle event started.
|
LifecycleEventStatus |
status()
The deployment lifecycle event status:
|
String |
statusString()
The deployment lifecycle event status:
|
LifecycleEvent.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String lifecycleEventName()
The deployment lifecycle event name, such as ApplicationStop, BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.
public Diagnostics diagnostics()
Diagnostic information about the deployment lifecycle event.
public Instant startTime()
A timestamp indicating when the deployment lifecycle event started.
public Instant endTime()
A timestamp indicating when the deployment lifecycle event ended.
public 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 statusString()
.
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.
LifecycleEventStatus
public String statusString()
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 statusString()
.
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.
LifecycleEventStatus
public LifecycleEvent.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<LifecycleEvent.Builder,LifecycleEvent>
public static LifecycleEvent.Builder builder()
public static Class<? extends LifecycleEvent.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.