Class LifecycleExecution

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

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)