Interface LifecycleExecution.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LifecycleExecution.Builder,LifecycleExecution>,SdkBuilder<LifecycleExecution.Builder,LifecycleExecution>,SdkPojo
- Enclosing class:
- LifecycleExecution
public static interface LifecycleExecution.Builder extends SdkPojo, CopyableBuilder<LifecycleExecution.Builder,LifecycleExecution>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description LifecycleExecution.BuilderendTime(Instant endTime)The timestamp when the lifecycle runtime instance completed.LifecycleExecution.BuilderlifecycleExecutionId(String lifecycleExecutionId)Identifies the lifecycle policy runtime instance.LifecycleExecution.BuilderlifecyclePolicyArn(String lifecyclePolicyArn)The Amazon Resource Name (ARN) of the lifecycle policy that ran.default LifecycleExecution.BuilderresourcesImpactedSummary(Consumer<LifecycleExecutionResourcesImpactedSummary.Builder> resourcesImpactedSummary)Contains information about associated resources that are identified for action by the runtime instance of the lifecycle policy.LifecycleExecution.BuilderresourcesImpactedSummary(LifecycleExecutionResourcesImpactedSummary resourcesImpactedSummary)Contains information about associated resources that are identified for action by the runtime instance of the lifecycle policy.LifecycleExecution.BuilderstartTime(Instant startTime)The timestamp when the lifecycle runtime instance started.default LifecycleExecution.Builderstate(Consumer<LifecycleExecutionState.Builder> state)Runtime state that reports if the policy action ran successfully, failed, or was skipped.LifecycleExecution.Builderstate(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, sdkFields
-
-
-
-
Method Detail
-
lifecycleExecutionId
LifecycleExecution.Builder lifecycleExecutionId(String 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
LifecycleExecution.Builder lifecyclePolicyArn(String 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.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:
resourcesImpactedSummary(LifecycleExecutionResourcesImpactedSummary)
-
state
LifecycleExecution.Builder state(LifecycleExecutionState 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
default LifecycleExecution.Builder state(Consumer<LifecycleExecutionState.Builder> 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.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:
state(LifecycleExecutionState)
-
startTime
LifecycleExecution.Builder startTime(Instant 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
LifecycleExecution.Builder endTime(Instant 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.
-
-