Interface ListLifecycleExecutionResourcesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListLifecycleExecutionResourcesResponse.Builder,
,ListLifecycleExecutionResourcesResponse> ImagebuilderResponse.Builder
,SdkBuilder<ListLifecycleExecutionResourcesResponse.Builder,
,ListLifecycleExecutionResourcesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListLifecycleExecutionResourcesResponse
-
Method Summary
Modifier and TypeMethodDescriptionlifecycleExecutionId
(String lifecycleExecutionId) Runtime details for the specified runtime instance of the lifecycle policy.lifecycleExecutionState
(Consumer<LifecycleExecutionState.Builder> lifecycleExecutionState) The current state of the lifecycle runtime instance.lifecycleExecutionState
(LifecycleExecutionState lifecycleExecutionState) The current state of the lifecycle runtime instance.The next token used for paginated responses.resources
(Collection<LifecycleExecutionResource> resources) A list of resources that were identified for lifecycle actions.resources
(Consumer<LifecycleExecutionResource.Builder>... resources) A list of resources that were identified for lifecycle actions.resources
(LifecycleExecutionResource... resources) A list of resources that were identified for lifecycle actions.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
lifecycleExecutionId
Runtime details for the specified runtime instance of the lifecycle policy.
- Parameters:
lifecycleExecutionId
- 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.
-
lifecycleExecutionState
ListLifecycleExecutionResourcesResponse.Builder lifecycleExecutionState(LifecycleExecutionState lifecycleExecutionState) The current state of the lifecycle runtime instance.
- Parameters:
lifecycleExecutionState
- The current state of the lifecycle runtime instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleExecutionState
default ListLifecycleExecutionResourcesResponse.Builder lifecycleExecutionState(Consumer<LifecycleExecutionState.Builder> lifecycleExecutionState) The current state of the lifecycle runtime instance.
This is a convenience method that creates an instance of theLifecycleExecutionState.Builder
avoiding the need to create one manually viaLifecycleExecutionState.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolifecycleExecutionState(LifecycleExecutionState)
.- Parameters:
lifecycleExecutionState
- 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:
-
resources
ListLifecycleExecutionResourcesResponse.Builder resources(Collection<LifecycleExecutionResource> resources) A list of resources that were identified for lifecycle actions.
- Parameters:
resources
- A list of resources that were identified for lifecycle actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
A list of resources that were identified for lifecycle actions.
- Parameters:
resources
- A list of resources that were identified for lifecycle actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
ListLifecycleExecutionResourcesResponse.Builder resources(Consumer<LifecycleExecutionResource.Builder>... resources) A list of resources that were identified for lifecycle actions.
This is a convenience method that creates an instance of theLifecycleExecutionResource.Builder
avoiding the need to create one manually viaLifecycleExecutionResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresources(List<LifecycleExecutionResource>)
.- Parameters:
resources
- a consumer that will call methods onLifecycleExecutionResource.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.
-