Interface ListLifecycleExecutionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListLifecycleExecutionsResponse.Builder,
,ListLifecycleExecutionsResponse> ImagebuilderResponse.Builder
,SdkBuilder<ListLifecycleExecutionsResponse.Builder,
,ListLifecycleExecutionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListLifecycleExecutionsResponse
public static interface ListLifecycleExecutionsResponse.Builder
extends ImagebuilderResponse.Builder, SdkPojo, CopyableBuilder<ListLifecycleExecutionsResponse.Builder,ListLifecycleExecutionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlifecycleExecutions
(Collection<LifecycleExecution> lifecycleExecutions) A list of lifecycle runtime instances for the specified resource.lifecycleExecutions
(Consumer<LifecycleExecution.Builder>... lifecycleExecutions) A list of lifecycle runtime instances for the specified resource.lifecycleExecutions
(LifecycleExecution... lifecycleExecutions) A list of lifecycle runtime instances for the specified resource.The next token used for paginated responses.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
-
lifecycleExecutions
ListLifecycleExecutionsResponse.Builder lifecycleExecutions(Collection<LifecycleExecution> lifecycleExecutions) A list of lifecycle runtime instances for the specified resource.
- Parameters:
lifecycleExecutions
- A list of lifecycle runtime instances for the specified resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleExecutions
ListLifecycleExecutionsResponse.Builder lifecycleExecutions(LifecycleExecution... lifecycleExecutions) A list of lifecycle runtime instances for the specified resource.
- Parameters:
lifecycleExecutions
- A list of lifecycle runtime instances for the specified resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleExecutions
ListLifecycleExecutionsResponse.Builder lifecycleExecutions(Consumer<LifecycleExecution.Builder>... lifecycleExecutions) A list of lifecycle runtime instances for the specified resource.
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 tolifecycleExecutions(List<LifecycleExecution>)
.- Parameters:
lifecycleExecutions
- 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:
-
nextToken
The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
- Parameters:
nextToken
- The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-