@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LifecycleExecution extends Object implements Serializable, Cloneable, StructuredPojo
Contains metadata from a runtime instance of a lifecycle policy.
Constructor and Description |
---|
LifecycleExecution() |
Modifier and Type | Method and Description |
---|---|
LifecycleExecution |
clone() |
boolean |
equals(Object obj) |
Date |
getEndTime()
The timestamp when the lifecycle runtime instance completed.
|
String |
getLifecycleExecutionId()
Identifies the lifecycle policy runtime instance.
|
String |
getLifecyclePolicyArn()
The Amazon Resource Name (ARN) of the lifecycle policy that ran.
|
LifecycleExecutionResourcesImpactedSummary |
getResourcesImpactedSummary()
Contains information about associated resources that are identified for action by the runtime instance of the
lifecycle policy.
|
Date |
getStartTime()
The timestamp when the lifecycle runtime instance started.
|
LifecycleExecutionState |
getState()
Runtime state that reports if the policy action ran successfully, failed, or was skipped.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndTime(Date endTime)
The timestamp when the lifecycle runtime instance completed.
|
void |
setLifecycleExecutionId(String lifecycleExecutionId)
Identifies the lifecycle policy runtime instance.
|
void |
setLifecyclePolicyArn(String lifecyclePolicyArn)
The Amazon Resource Name (ARN) of the lifecycle policy that ran.
|
void |
setResourcesImpactedSummary(LifecycleExecutionResourcesImpactedSummary resourcesImpactedSummary)
Contains information about associated resources that are identified for action by the runtime instance of the
lifecycle policy.
|
void |
setStartTime(Date startTime)
The timestamp when the lifecycle runtime instance started.
|
void |
setState(LifecycleExecutionState state)
Runtime state that reports if the policy action ran successfully, failed, or was skipped.
|
String |
toString()
Returns a string representation of this object.
|
LifecycleExecution |
withEndTime(Date endTime)
The timestamp when the lifecycle runtime instance completed.
|
LifecycleExecution |
withLifecycleExecutionId(String lifecycleExecutionId)
Identifies the lifecycle policy runtime instance.
|
LifecycleExecution |
withLifecyclePolicyArn(String lifecyclePolicyArn)
The Amazon Resource Name (ARN) of the lifecycle policy that ran.
|
LifecycleExecution |
withResourcesImpactedSummary(LifecycleExecutionResourcesImpactedSummary resourcesImpactedSummary)
Contains information about associated resources that are identified for action by the runtime instance of the
lifecycle policy.
|
LifecycleExecution |
withStartTime(Date startTime)
The timestamp when the lifecycle runtime instance started.
|
LifecycleExecution |
withState(LifecycleExecutionState state)
Runtime state that reports if the policy action ran successfully, failed, or was skipped.
|
public void setLifecycleExecutionId(String lifecycleExecutionId)
Identifies the lifecycle policy runtime instance.
lifecycleExecutionId
- Identifies the lifecycle policy runtime instance.public String getLifecycleExecutionId()
Identifies the lifecycle policy runtime instance.
public LifecycleExecution withLifecycleExecutionId(String lifecycleExecutionId)
Identifies the lifecycle policy runtime instance.
lifecycleExecutionId
- Identifies the lifecycle policy runtime instance.public void setLifecyclePolicyArn(String lifecyclePolicyArn)
The Amazon Resource Name (ARN) of the lifecycle policy that ran.
lifecyclePolicyArn
- The Amazon Resource Name (ARN) of the lifecycle policy that ran.public String getLifecyclePolicyArn()
The Amazon Resource Name (ARN) of the lifecycle policy that ran.
public LifecycleExecution withLifecyclePolicyArn(String lifecyclePolicyArn)
The Amazon Resource Name (ARN) of the lifecycle policy that ran.
lifecyclePolicyArn
- The Amazon Resource Name (ARN) of the lifecycle policy that ran.public void setResourcesImpactedSummary(LifecycleExecutionResourcesImpactedSummary resourcesImpactedSummary)
Contains information about associated resources that are identified for action by the runtime instance of the lifecycle policy.
resourcesImpactedSummary
- Contains information about associated resources that are identified for action by the runtime instance of
the lifecycle policy.public LifecycleExecutionResourcesImpactedSummary getResourcesImpactedSummary()
Contains information about associated resources that are identified for action by the runtime instance of the lifecycle policy.
public LifecycleExecution withResourcesImpactedSummary(LifecycleExecutionResourcesImpactedSummary resourcesImpactedSummary)
Contains information about associated resources that are identified for action by the runtime instance of the lifecycle policy.
resourcesImpactedSummary
- Contains information about associated resources that are identified for action by the runtime instance of
the lifecycle policy.public void setState(LifecycleExecutionState state)
Runtime state that reports if the policy action ran successfully, failed, or was skipped.
state
- Runtime state that reports if the policy action ran successfully, failed, or was skipped.public LifecycleExecutionState getState()
Runtime state that reports if the policy action ran successfully, failed, or was skipped.
public LifecycleExecution withState(LifecycleExecutionState state)
Runtime state that reports if the policy action ran successfully, failed, or was skipped.
state
- Runtime state that reports if the policy action ran successfully, failed, or was skipped.public void setStartTime(Date startTime)
The timestamp when the lifecycle runtime instance started.
startTime
- The timestamp when the lifecycle runtime instance started.public Date getStartTime()
The timestamp when the lifecycle runtime instance started.
public LifecycleExecution withStartTime(Date startTime)
The timestamp when the lifecycle runtime instance started.
startTime
- The timestamp when the lifecycle runtime instance started.public void setEndTime(Date endTime)
The timestamp when the lifecycle runtime instance completed.
endTime
- The timestamp when the lifecycle runtime instance completed.public Date getEndTime()
The timestamp when the lifecycle runtime instance completed.
public LifecycleExecution withEndTime(Date endTime)
The timestamp when the lifecycle runtime instance completed.
endTime
- The timestamp when the lifecycle runtime instance completed.public String toString()
toString
in class Object
Object.toString()
public LifecycleExecution clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.