Class LifecycleExecution
- java.lang.Object
-
- software.amazon.awssdk.services.imagebuilder.model.LifecycleExecution
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LifecycleExecution.Builder,LifecycleExecution>
@Generated("software.amazon.awssdk:codegen") public final class LifecycleExecution extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LifecycleExecution.Builder,LifecycleExecution>
Contains metadata from a runtime instance of a lifecycle policy.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLifecycleExecution.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LifecycleExecution.Builderbuilder()InstantendTime()The timestamp when the lifecycle runtime instance completed.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlifecycleExecutionId()Identifies the lifecycle policy runtime instance.StringlifecyclePolicyArn()The Amazon Resource Name (ARN) of the lifecycle policy that ran.LifecycleExecutionResourcesImpactedSummaryresourcesImpactedSummary()Contains information about associated resources that are identified for action by the runtime instance of the lifecycle policy.List<SdkField<?>>sdkFields()static Class<? extends LifecycleExecution.Builder>serializableBuilderClass()InstantstartTime()The timestamp when the lifecycle runtime instance started.LifecycleExecutionStatestate()Runtime state that reports if the policy action ran successfully, failed, or was skipped.LifecycleExecution.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
lifecycleExecutionId
public final String lifecycleExecutionId()
Identifies the lifecycle policy runtime instance.
- Returns:
- Identifies the lifecycle policy runtime instance.
-
lifecyclePolicyArn
public final String lifecyclePolicyArn()
The Amazon Resource Name (ARN) of the lifecycle policy that ran.
- Returns:
- The Amazon Resource Name (ARN) of the lifecycle policy that ran.
-
resourcesImpactedSummary
public final LifecycleExecutionResourcesImpactedSummary resourcesImpactedSummary()
Contains information about associated resources that are identified for action by the runtime instance of the lifecycle policy.
- Returns:
- Contains information about associated resources that are identified for action by the runtime instance of the lifecycle policy.
-
state
public final LifecycleExecutionState state()
Runtime state that reports if the policy action ran successfully, failed, or was skipped.
- Returns:
- Runtime state that reports if the policy action ran successfully, failed, or was skipped.
-
startTime
public final Instant startTime()
The timestamp when the lifecycle runtime instance started.
- Returns:
- The timestamp when the lifecycle runtime instance started.
-
endTime
public final Instant endTime()
The timestamp when the lifecycle runtime instance completed.
- Returns:
- The timestamp when the lifecycle runtime instance completed.
-
toBuilder
public LifecycleExecution.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LifecycleExecution.Builder,LifecycleExecution>
-
builder
public static LifecycleExecution.Builder builder()
-
serializableBuilderClass
public static Class<? extends LifecycleExecution.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-