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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListLifecycleExecutionsResponse.BuilderlifecycleExecutions(Collection<LifecycleExecution> lifecycleExecutions)A list of lifecycle runtime instances for the specified resource.ListLifecycleExecutionsResponse.BuilderlifecycleExecutions(Consumer<LifecycleExecution.Builder>... lifecycleExecutions)A list of lifecycle runtime instances for the specified resource.ListLifecycleExecutionsResponse.BuilderlifecycleExecutions(LifecycleExecution... lifecycleExecutions)A list of lifecycle runtime instances for the specified resource.ListLifecycleExecutionsResponse.BuildernextToken(String nextToken)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 Detail
-
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.Builderavoiding the need to create one manually viaLifecycleExecution.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#lifecycleExecutions(List.) - 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:
#lifecycleExecutions(java.util.Collection)
-
nextToken
ListLifecycleExecutionsResponse.Builder nextToken(String 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.
-
-