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.Builder
resourcesImpactedSummary
(Consumer<LifecycleExecutionResourcesImpactedSummary.Builder> resourcesImpactedSummary) Contains information about associated resources that are identified for action by the runtime instance of the lifecycle policy.resourcesImpactedSummary
(LifecycleExecutionResourcesImpactedSummary resourcesImpactedSummary) Contains information about associated resources that are identified for action by the runtime instance of the lifecycle policy.The timestamp when the lifecycle runtime instance started.default LifecycleExecution.Builder
Runtime state that reports if the policy action ran successfully, failed, or was skipped.state
(LifecycleExecutionState state) Runtime state that reports if the policy action ran successfully, failed, or was skipped.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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) Contains information about associated resources that are identified for action by the runtime instance of the lifecycle policy.
- Parameters:
resourcesImpactedSummary
- Contains information about associated resources that are identified for action by the runtime instance of the lifecycle policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourcesImpactedSummary
default LifecycleExecution.Builder resourcesImpactedSummary(Consumer<LifecycleExecutionResourcesImpactedSummary.Builder> resourcesImpactedSummary) Contains information about associated resources that are identified for action by the runtime instance of the lifecycle policy.
This is a convenience method that creates an instance of theLifecycleExecutionResourcesImpactedSummary.Builder
avoiding the need to create one manually viaLifecycleExecutionResourcesImpactedSummary.builder()
.When the
Consumer
completes,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 if the policy action ran successfully, failed, or was skipped.
- Parameters:
state
- Runtime state that reports if the policy action ran successfully, failed, or was skipped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
Runtime state that reports if the policy action ran successfully, failed, or was skipped.
This is a convenience method that creates an instance of theLifecycleExecutionState.Builder
avoiding the need to create one manually viaLifecycleExecutionState.builder()
.When the
Consumer
completes,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.
-