Interface GetLifecycleExecutionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetLifecycleExecutionResponse.Builder,,GetLifecycleExecutionResponse> ImagebuilderResponse.Builder,SdkBuilder<GetLifecycleExecutionResponse.Builder,,GetLifecycleExecutionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetLifecycleExecutionResponse
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.services.imagebuilder.model.ImagebuilderResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaLifecycleExecution.builder().When the
Consumercompletes,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:
-