Interface LifecycleExecution.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LifecycleExecution.Builder,,LifecycleExecution> SdkBuilder<LifecycleExecution.Builder,,LifecycleExecution> SdkPojo
- Enclosing class:
LifecycleExecution
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp when the lifecycle runtime instance completed.lifecycleExecutionId(String lifecycleExecutionId) Identifies the lifecycle policy runtime instance.lifecyclePolicyArn(String lifecyclePolicyArn) The Amazon Resource Name (ARN) of the lifecycle policy that ran.default LifecycleExecution.BuilderresourcesImpactedSummary(Consumer<LifecycleExecutionResourcesImpactedSummary.Builder> resourcesImpactedSummary) A summary flag that indicates whether the lifecycle execution identified any resources to take lifecycle actions on.resourcesImpactedSummary(LifecycleExecutionResourcesImpactedSummary resourcesImpactedSummary) A summary flag that indicates whether the lifecycle execution identified any resources to take lifecycle actions on.The timestamp when the lifecycle runtime instance started.default LifecycleExecution.BuilderRuntime state that reports whether the lifecycle execution is in progress, succeeded, or failed.state(LifecycleExecutionState state) Runtime state that reports whether the lifecycle execution is in progress, succeeded, or failed.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
lifecycleExecutionId
Identifies the lifecycle policy runtime instance.
- Parameters:
lifecycleExecutionId- Identifies the lifecycle policy runtime instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecyclePolicyArn
The Amazon Resource Name (ARN) of the lifecycle policy that ran.
- Parameters:
lifecyclePolicyArn- The Amazon Resource Name (ARN) of the lifecycle policy that ran.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourcesImpactedSummary
LifecycleExecution.Builder resourcesImpactedSummary(LifecycleExecutionResourcesImpactedSummary resourcesImpactedSummary) A summary flag that indicates whether the lifecycle execution identified any resources to take lifecycle actions on.
- Parameters:
resourcesImpactedSummary- A summary flag that indicates whether the lifecycle execution identified any resources to take lifecycle actions on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourcesImpactedSummary
default LifecycleExecution.Builder resourcesImpactedSummary(Consumer<LifecycleExecutionResourcesImpactedSummary.Builder> resourcesImpactedSummary) A summary flag that indicates whether the lifecycle execution identified any resources to take lifecycle actions on.
This is a convenience method that creates an instance of theLifecycleExecutionResourcesImpactedSummary.Builderavoiding the need to create one manually viaLifecycleExecutionResourcesImpactedSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourcesImpactedSummary(LifecycleExecutionResourcesImpactedSummary).- Parameters:
resourcesImpactedSummary- a consumer that will call methods onLifecycleExecutionResourcesImpactedSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
Runtime state that reports whether the lifecycle execution is in progress, succeeded, or failed.
- Parameters:
state- Runtime state that reports whether the lifecycle execution is in progress, succeeded, or failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
Runtime state that reports whether the lifecycle execution is in progress, succeeded, or failed.
This is a convenience method that creates an instance of theLifecycleExecutionState.Builderavoiding the need to create one manually viaLifecycleExecutionState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostate(LifecycleExecutionState).- Parameters:
state- a consumer that will call methods onLifecycleExecutionState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
The timestamp when the lifecycle runtime instance started.
- Parameters:
startTime- The timestamp when the lifecycle runtime instance started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The timestamp when the lifecycle runtime instance completed.
- Parameters:
endTime- The timestamp when the lifecycle runtime instance completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-