Interface GetLifecycleExecutionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetLifecycleExecutionResponse.Builder,
,GetLifecycleExecutionResponse> ImagebuilderResponse.Builder
,SdkBuilder<GetLifecycleExecutionResponse.Builder,
,GetLifecycleExecutionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetLifecycleExecutionResponse
public static interface GetLifecycleExecutionResponse.Builder
extends ImagebuilderResponse.Builder, SdkPojo, CopyableBuilder<GetLifecycleExecutionResponse.Builder,GetLifecycleExecutionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlifecycleExecution
(Consumer<LifecycleExecution.Builder> lifecycleExecution) Runtime details for the specified runtime instance of the lifecycle policy.lifecycleExecution
(LifecycleExecution lifecycleExecution) Runtime details for the specified runtime instance of the lifecycle policy.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.imagebuilder.model.ImagebuilderResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
lifecycleExecution
Runtime details for the specified runtime instance of the lifecycle policy.
- Parameters:
lifecycleExecution
- Runtime details for the specified runtime instance of the lifecycle policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleExecution
default GetLifecycleExecutionResponse.Builder lifecycleExecution(Consumer<LifecycleExecution.Builder> lifecycleExecution) Runtime details for the specified runtime instance of the lifecycle policy.
This is a convenience method that creates an instance of theLifecycleExecution.Builder
avoiding the need to create one manually viaLifecycleExecution.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolifecycleExecution(LifecycleExecution)
.- Parameters:
lifecycleExecution
- a consumer that will call methods onLifecycleExecution.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-