@Generated(value="software.amazon.awssdk:codegen") public interface LambdaAsyncWaiter extends SdkAutoCloseable
builder()
methodModifier and Type | Interface and Description |
---|---|
static interface |
LambdaAsyncWaiter.Builder |
close
default CompletableFuture<WaiterResponse<GetFunctionConfigurationResponse>> waitUntilFunctionActive(GetFunctionConfigurationRequest getFunctionConfigurationRequest)
LambdaAsyncClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)
API until the desired condition FunctionActive
is met, or until it is determined that the resource will never enter into the desired stategetFunctionConfigurationRequest
- the request to be used for pollingdefault CompletableFuture<WaiterResponse<GetFunctionConfigurationResponse>> waitUntilFunctionActive(Consumer<GetFunctionConfigurationRequest.Builder> getFunctionConfigurationRequest)
LambdaAsyncClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)
API until the desired condition FunctionActive
is met, or until it is determined that the resource will never enter into the desired state.
This is a convenience method to create an instance of the request builder without the need to create one manually
using GetFunctionConfigurationRequest.builder()
getFunctionConfigurationRequest
- The consumer that will configure the request to be used for pollingdefault CompletableFuture<WaiterResponse<GetFunctionConfigurationResponse>> waitUntilFunctionActive(GetFunctionConfigurationRequest getFunctionConfigurationRequest, WaiterOverrideConfiguration overrideConfig)
LambdaAsyncClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)
API until the desired condition FunctionActive
is met, or until it is determined that the resource will never enter into the desired stategetFunctionConfigurationRequest
- The request to be used for pollingoverrideConfig
- Per request override configuration for waitersdefault CompletableFuture<WaiterResponse<GetFunctionConfigurationResponse>> waitUntilFunctionActive(Consumer<GetFunctionConfigurationRequest.Builder> getFunctionConfigurationRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
LambdaAsyncClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)
API until the desired condition FunctionActive
is met, or until it is determined that the resource will never enter into the desired state.
This is a convenience method to create an instance of the request builder and instance of the override config builder
getFunctionConfigurationRequest
- The consumer that will configure the request to be used for pollingoverrideConfig
- The consumer that will configure the per request override configuration for waitersdefault CompletableFuture<WaiterResponse<GetFunctionResponse>> waitUntilFunctionActiveV2(GetFunctionRequest getFunctionRequest)
LambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired condition FunctionActiveV2
is met, or
until it is determined that the resource will never enter into the desired stategetFunctionRequest
- the request to be used for pollingdefault CompletableFuture<WaiterResponse<GetFunctionResponse>> waitUntilFunctionActiveV2(Consumer<GetFunctionRequest.Builder> getFunctionRequest)
LambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired condition FunctionActiveV2
is met, or
until it is determined that the resource will never enter into the desired state.
This is a convenience method to create an instance of the request builder without the need to create one manually
using GetFunctionRequest.builder()
getFunctionRequest
- The consumer that will configure the request to be used for pollingdefault CompletableFuture<WaiterResponse<GetFunctionResponse>> waitUntilFunctionActiveV2(GetFunctionRequest getFunctionRequest, WaiterOverrideConfiguration overrideConfig)
LambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired condition FunctionActiveV2
is met, or
until it is determined that the resource will never enter into the desired stategetFunctionRequest
- The request to be used for pollingoverrideConfig
- Per request override configuration for waitersdefault CompletableFuture<WaiterResponse<GetFunctionResponse>> waitUntilFunctionActiveV2(Consumer<GetFunctionRequest.Builder> getFunctionRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
LambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired condition FunctionActiveV2
is met, or
until it is determined that the resource will never enter into the desired state.
This is a convenience method to create an instance of the request builder and instance of the override config builder
getFunctionRequest
- The consumer that will configure the request to be used for pollingoverrideConfig
- The consumer that will configure the per request override configuration for waitersdefault CompletableFuture<WaiterResponse<GetFunctionResponse>> waitUntilFunctionExists(GetFunctionRequest getFunctionRequest)
LambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired condition FunctionExists
is met, or
until it is determined that the resource will never enter into the desired stategetFunctionRequest
- the request to be used for pollingdefault CompletableFuture<WaiterResponse<GetFunctionResponse>> waitUntilFunctionExists(Consumer<GetFunctionRequest.Builder> getFunctionRequest)
LambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired condition FunctionExists
is met, or
until it is determined that the resource will never enter into the desired state.
This is a convenience method to create an instance of the request builder without the need to create one manually
using GetFunctionRequest.builder()
getFunctionRequest
- The consumer that will configure the request to be used for pollingdefault CompletableFuture<WaiterResponse<GetFunctionResponse>> waitUntilFunctionExists(GetFunctionRequest getFunctionRequest, WaiterOverrideConfiguration overrideConfig)
LambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired condition FunctionExists
is met, or
until it is determined that the resource will never enter into the desired stategetFunctionRequest
- The request to be used for pollingoverrideConfig
- Per request override configuration for waitersdefault CompletableFuture<WaiterResponse<GetFunctionResponse>> waitUntilFunctionExists(Consumer<GetFunctionRequest.Builder> getFunctionRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
LambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired condition FunctionExists
is met, or
until it is determined that the resource will never enter into the desired state.
This is a convenience method to create an instance of the request builder and instance of the override config builder
getFunctionRequest
- The consumer that will configure the request to be used for pollingoverrideConfig
- The consumer that will configure the per request override configuration for waitersdefault CompletableFuture<WaiterResponse<GetFunctionConfigurationResponse>> waitUntilFunctionUpdated(GetFunctionConfigurationRequest getFunctionConfigurationRequest)
LambdaAsyncClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)
API until the desired condition FunctionUpdated
is met, or until it is determined that the resource will never enter into the desired stategetFunctionConfigurationRequest
- the request to be used for pollingdefault CompletableFuture<WaiterResponse<GetFunctionConfigurationResponse>> waitUntilFunctionUpdated(Consumer<GetFunctionConfigurationRequest.Builder> getFunctionConfigurationRequest)
LambdaAsyncClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)
API until the desired condition FunctionUpdated
is met, or until it is determined that the resource will never enter into the desired state.
This is a convenience method to create an instance of the request builder without the need to create one manually
using GetFunctionConfigurationRequest.builder()
getFunctionConfigurationRequest
- The consumer that will configure the request to be used for pollingdefault CompletableFuture<WaiterResponse<GetFunctionConfigurationResponse>> waitUntilFunctionUpdated(GetFunctionConfigurationRequest getFunctionConfigurationRequest, WaiterOverrideConfiguration overrideConfig)
LambdaAsyncClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)
API until the desired condition FunctionUpdated
is met, or until it is determined that the resource will never enter into the desired stategetFunctionConfigurationRequest
- The request to be used for pollingoverrideConfig
- Per request override configuration for waitersdefault CompletableFuture<WaiterResponse<GetFunctionConfigurationResponse>> waitUntilFunctionUpdated(Consumer<GetFunctionConfigurationRequest.Builder> getFunctionConfigurationRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
LambdaAsyncClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)
API until the desired condition FunctionUpdated
is met, or until it is determined that the resource will never enter into the desired state.
This is a convenience method to create an instance of the request builder and instance of the override config builder
getFunctionConfigurationRequest
- The consumer that will configure the request to be used for pollingoverrideConfig
- The consumer that will configure the per request override configuration for waitersdefault CompletableFuture<WaiterResponse<GetFunctionResponse>> waitUntilFunctionUpdatedV2(GetFunctionRequest getFunctionRequest)
LambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired condition FunctionUpdatedV2
is met, or
until it is determined that the resource will never enter into the desired stategetFunctionRequest
- the request to be used for pollingdefault CompletableFuture<WaiterResponse<GetFunctionResponse>> waitUntilFunctionUpdatedV2(Consumer<GetFunctionRequest.Builder> getFunctionRequest)
LambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired condition FunctionUpdatedV2
is met, or
until it is determined that the resource will never enter into the desired state.
This is a convenience method to create an instance of the request builder without the need to create one manually
using GetFunctionRequest.builder()
getFunctionRequest
- The consumer that will configure the request to be used for pollingdefault CompletableFuture<WaiterResponse<GetFunctionResponse>> waitUntilFunctionUpdatedV2(GetFunctionRequest getFunctionRequest, WaiterOverrideConfiguration overrideConfig)
LambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired condition FunctionUpdatedV2
is met, or
until it is determined that the resource will never enter into the desired stategetFunctionRequest
- The request to be used for pollingoverrideConfig
- Per request override configuration for waitersdefault CompletableFuture<WaiterResponse<GetFunctionResponse>> waitUntilFunctionUpdatedV2(Consumer<GetFunctionRequest.Builder> getFunctionRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
LambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired condition FunctionUpdatedV2
is met, or
until it is determined that the resource will never enter into the desired state.
This is a convenience method to create an instance of the request builder and instance of the override config builder
getFunctionRequest
- The consumer that will configure the request to be used for pollingoverrideConfig
- The consumer that will configure the per request override configuration for waitersstatic LambdaAsyncWaiter.Builder builder()
LambdaAsyncWaiter
.static LambdaAsyncWaiter create()
LambdaAsyncWaiter
with the default configuration.
A default LambdaAsyncClient
will be created to poll resources. It is recommended to share a single
instance of the waiter created via this method. If it is not desirable to share a waiter instance, invoke
SdkAutoCloseable.close()
to release the resources once the waiter is not needed.
LambdaAsyncWaiter
Copyright © 2022. All rights reserved.