Interface NimbleAsyncWaiter
-
- All Superinterfaces:
AutoCloseable,SdkAutoCloseable
@Generated("software.amazon.awssdk:codegen") public interface NimbleAsyncWaiter extends SdkAutoCloseable
Waiter utility class that polls a resource until a desired state is reached or until it is determined that the resource will never enter into the desired state. This can be created using the staticbuilder()method
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceNimbleAsyncWaiter.Builder
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
-
-
-
Method Detail
-
waitUntilLaunchProfileDeleted
default CompletableFuture<WaiterResponse<GetLaunchProfileResponse>> waitUntilLaunchProfileDeleted(GetLaunchProfileRequest getLaunchProfileRequest)
PollsNimbleAsyncClient.getLaunchProfile(software.amazon.awssdk.services.nimble.model.GetLaunchProfileRequest)API until the desired conditionLaunchProfileDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getLaunchProfileRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilLaunchProfileDeleted
default CompletableFuture<WaiterResponse<GetLaunchProfileResponse>> waitUntilLaunchProfileDeleted(Consumer<GetLaunchProfileRequest.Builder> getLaunchProfileRequest)
PollsNimbleAsyncClient.getLaunchProfile(software.amazon.awssdk.services.nimble.model.GetLaunchProfileRequest)API until the desired conditionLaunchProfileDeletedis 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
GetLaunchProfileRequest.builder()- Parameters:
getLaunchProfileRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilLaunchProfileDeleted
default CompletableFuture<WaiterResponse<GetLaunchProfileResponse>> waitUntilLaunchProfileDeleted(GetLaunchProfileRequest getLaunchProfileRequest, WaiterOverrideConfiguration overrideConfig)
PollsNimbleAsyncClient.getLaunchProfile(software.amazon.awssdk.services.nimble.model.GetLaunchProfileRequest)API until the desired conditionLaunchProfileDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getLaunchProfileRequest- The request to be used for pollingoverrideConfig- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilLaunchProfileDeleted
default CompletableFuture<WaiterResponse<GetLaunchProfileResponse>> waitUntilLaunchProfileDeleted(Consumer<GetLaunchProfileRequest.Builder> getLaunchProfileRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsNimbleAsyncClient.getLaunchProfile(software.amazon.awssdk.services.nimble.model.GetLaunchProfileRequest)API until the desired conditionLaunchProfileDeletedis 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
- Parameters:
getLaunchProfileRequest- The consumer that will configure the request to be used for pollingoverrideConfig- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilLaunchProfileReady
default CompletableFuture<WaiterResponse<GetLaunchProfileResponse>> waitUntilLaunchProfileReady(GetLaunchProfileRequest getLaunchProfileRequest)
PollsNimbleAsyncClient.getLaunchProfile(software.amazon.awssdk.services.nimble.model.GetLaunchProfileRequest)API until the desired conditionLaunchProfileReadyis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getLaunchProfileRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilLaunchProfileReady
default CompletableFuture<WaiterResponse<GetLaunchProfileResponse>> waitUntilLaunchProfileReady(Consumer<GetLaunchProfileRequest.Builder> getLaunchProfileRequest)
PollsNimbleAsyncClient.getLaunchProfile(software.amazon.awssdk.services.nimble.model.GetLaunchProfileRequest)API until the desired conditionLaunchProfileReadyis 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
GetLaunchProfileRequest.builder()- Parameters:
getLaunchProfileRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilLaunchProfileReady
default CompletableFuture<WaiterResponse<GetLaunchProfileResponse>> waitUntilLaunchProfileReady(GetLaunchProfileRequest getLaunchProfileRequest, WaiterOverrideConfiguration overrideConfig)
PollsNimbleAsyncClient.getLaunchProfile(software.amazon.awssdk.services.nimble.model.GetLaunchProfileRequest)API until the desired conditionLaunchProfileReadyis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getLaunchProfileRequest- The request to be used for pollingoverrideConfig- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilLaunchProfileReady
default CompletableFuture<WaiterResponse<GetLaunchProfileResponse>> waitUntilLaunchProfileReady(Consumer<GetLaunchProfileRequest.Builder> getLaunchProfileRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsNimbleAsyncClient.getLaunchProfile(software.amazon.awssdk.services.nimble.model.GetLaunchProfileRequest)API until the desired conditionLaunchProfileReadyis 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
- Parameters:
getLaunchProfileRequest- The consumer that will configure the request to be used for pollingoverrideConfig- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStreamingImageDeleted
default CompletableFuture<WaiterResponse<GetStreamingImageResponse>> waitUntilStreamingImageDeleted(GetStreamingImageRequest getStreamingImageRequest)
PollsNimbleAsyncClient.getStreamingImage(software.amazon.awssdk.services.nimble.model.GetStreamingImageRequest)API until the desired conditionStreamingImageDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getStreamingImageRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilStreamingImageDeleted
default CompletableFuture<WaiterResponse<GetStreamingImageResponse>> waitUntilStreamingImageDeleted(Consumer<GetStreamingImageRequest.Builder> getStreamingImageRequest)
PollsNimbleAsyncClient.getStreamingImage(software.amazon.awssdk.services.nimble.model.GetStreamingImageRequest)API until the desired conditionStreamingImageDeletedis 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
GetStreamingImageRequest.builder()- Parameters:
getStreamingImageRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStreamingImageDeleted
default CompletableFuture<WaiterResponse<GetStreamingImageResponse>> waitUntilStreamingImageDeleted(GetStreamingImageRequest getStreamingImageRequest, WaiterOverrideConfiguration overrideConfig)
PollsNimbleAsyncClient.getStreamingImage(software.amazon.awssdk.services.nimble.model.GetStreamingImageRequest)API until the desired conditionStreamingImageDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getStreamingImageRequest- The request to be used for pollingoverrideConfig- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStreamingImageDeleted
default CompletableFuture<WaiterResponse<GetStreamingImageResponse>> waitUntilStreamingImageDeleted(Consumer<GetStreamingImageRequest.Builder> getStreamingImageRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsNimbleAsyncClient.getStreamingImage(software.amazon.awssdk.services.nimble.model.GetStreamingImageRequest)API until the desired conditionStreamingImageDeletedis 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
- Parameters:
getStreamingImageRequest- The consumer that will configure the request to be used for pollingoverrideConfig- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStreamingImageReady
default CompletableFuture<WaiterResponse<GetStreamingImageResponse>> waitUntilStreamingImageReady(GetStreamingImageRequest getStreamingImageRequest)
PollsNimbleAsyncClient.getStreamingImage(software.amazon.awssdk.services.nimble.model.GetStreamingImageRequest)API until the desired conditionStreamingImageReadyis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getStreamingImageRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilStreamingImageReady
default CompletableFuture<WaiterResponse<GetStreamingImageResponse>> waitUntilStreamingImageReady(Consumer<GetStreamingImageRequest.Builder> getStreamingImageRequest)
PollsNimbleAsyncClient.getStreamingImage(software.amazon.awssdk.services.nimble.model.GetStreamingImageRequest)API until the desired conditionStreamingImageReadyis 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
GetStreamingImageRequest.builder()- Parameters:
getStreamingImageRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStreamingImageReady
default CompletableFuture<WaiterResponse<GetStreamingImageResponse>> waitUntilStreamingImageReady(GetStreamingImageRequest getStreamingImageRequest, WaiterOverrideConfiguration overrideConfig)
PollsNimbleAsyncClient.getStreamingImage(software.amazon.awssdk.services.nimble.model.GetStreamingImageRequest)API until the desired conditionStreamingImageReadyis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getStreamingImageRequest- The request to be used for pollingoverrideConfig- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStreamingImageReady
default CompletableFuture<WaiterResponse<GetStreamingImageResponse>> waitUntilStreamingImageReady(Consumer<GetStreamingImageRequest.Builder> getStreamingImageRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsNimbleAsyncClient.getStreamingImage(software.amazon.awssdk.services.nimble.model.GetStreamingImageRequest)API until the desired conditionStreamingImageReadyis 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
- Parameters:
getStreamingImageRequest- The consumer that will configure the request to be used for pollingoverrideConfig- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStreamingSessionDeleted
default CompletableFuture<WaiterResponse<GetStreamingSessionResponse>> waitUntilStreamingSessionDeleted(GetStreamingSessionRequest getStreamingSessionRequest)
PollsNimbleAsyncClient.getStreamingSession(software.amazon.awssdk.services.nimble.model.GetStreamingSessionRequest)API until the desired conditionStreamingSessionDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getStreamingSessionRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilStreamingSessionDeleted
default CompletableFuture<WaiterResponse<GetStreamingSessionResponse>> waitUntilStreamingSessionDeleted(Consumer<GetStreamingSessionRequest.Builder> getStreamingSessionRequest)
PollsNimbleAsyncClient.getStreamingSession(software.amazon.awssdk.services.nimble.model.GetStreamingSessionRequest)API until the desired conditionStreamingSessionDeletedis 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
GetStreamingSessionRequest.builder()- Parameters:
getStreamingSessionRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStreamingSessionDeleted
default CompletableFuture<WaiterResponse<GetStreamingSessionResponse>> waitUntilStreamingSessionDeleted(GetStreamingSessionRequest getStreamingSessionRequest, WaiterOverrideConfiguration overrideConfig)
PollsNimbleAsyncClient.getStreamingSession(software.amazon.awssdk.services.nimble.model.GetStreamingSessionRequest)API until the desired conditionStreamingSessionDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getStreamingSessionRequest- The request to be used for pollingoverrideConfig- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStreamingSessionDeleted
default CompletableFuture<WaiterResponse<GetStreamingSessionResponse>> waitUntilStreamingSessionDeleted(Consumer<GetStreamingSessionRequest.Builder> getStreamingSessionRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsNimbleAsyncClient.getStreamingSession(software.amazon.awssdk.services.nimble.model.GetStreamingSessionRequest)API until the desired conditionStreamingSessionDeletedis 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
- Parameters:
getStreamingSessionRequest- The consumer that will configure the request to be used for pollingoverrideConfig- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStreamingSessionReady
default CompletableFuture<WaiterResponse<GetStreamingSessionResponse>> waitUntilStreamingSessionReady(GetStreamingSessionRequest getStreamingSessionRequest)
PollsNimbleAsyncClient.getStreamingSession(software.amazon.awssdk.services.nimble.model.GetStreamingSessionRequest)API until the desired conditionStreamingSessionReadyis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getStreamingSessionRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilStreamingSessionReady
default CompletableFuture<WaiterResponse<GetStreamingSessionResponse>> waitUntilStreamingSessionReady(Consumer<GetStreamingSessionRequest.Builder> getStreamingSessionRequest)
PollsNimbleAsyncClient.getStreamingSession(software.amazon.awssdk.services.nimble.model.GetStreamingSessionRequest)API until the desired conditionStreamingSessionReadyis 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
GetStreamingSessionRequest.builder()- Parameters:
getStreamingSessionRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStreamingSessionReady
default CompletableFuture<WaiterResponse<GetStreamingSessionResponse>> waitUntilStreamingSessionReady(GetStreamingSessionRequest getStreamingSessionRequest, WaiterOverrideConfiguration overrideConfig)
PollsNimbleAsyncClient.getStreamingSession(software.amazon.awssdk.services.nimble.model.GetStreamingSessionRequest)API until the desired conditionStreamingSessionReadyis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getStreamingSessionRequest- The request to be used for pollingoverrideConfig- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStreamingSessionReady
default CompletableFuture<WaiterResponse<GetStreamingSessionResponse>> waitUntilStreamingSessionReady(Consumer<GetStreamingSessionRequest.Builder> getStreamingSessionRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsNimbleAsyncClient.getStreamingSession(software.amazon.awssdk.services.nimble.model.GetStreamingSessionRequest)API until the desired conditionStreamingSessionReadyis 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
- Parameters:
getStreamingSessionRequest- The consumer that will configure the request to be used for pollingoverrideConfig- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStreamingSessionStopped
default CompletableFuture<WaiterResponse<GetStreamingSessionResponse>> waitUntilStreamingSessionStopped(GetStreamingSessionRequest getStreamingSessionRequest)
PollsNimbleAsyncClient.getStreamingSession(software.amazon.awssdk.services.nimble.model.GetStreamingSessionRequest)API until the desired conditionStreamingSessionStoppedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getStreamingSessionRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilStreamingSessionStopped
default CompletableFuture<WaiterResponse<GetStreamingSessionResponse>> waitUntilStreamingSessionStopped(Consumer<GetStreamingSessionRequest.Builder> getStreamingSessionRequest)
PollsNimbleAsyncClient.getStreamingSession(software.amazon.awssdk.services.nimble.model.GetStreamingSessionRequest)API until the desired conditionStreamingSessionStoppedis 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
GetStreamingSessionRequest.builder()- Parameters:
getStreamingSessionRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStreamingSessionStopped
default CompletableFuture<WaiterResponse<GetStreamingSessionResponse>> waitUntilStreamingSessionStopped(GetStreamingSessionRequest getStreamingSessionRequest, WaiterOverrideConfiguration overrideConfig)
PollsNimbleAsyncClient.getStreamingSession(software.amazon.awssdk.services.nimble.model.GetStreamingSessionRequest)API until the desired conditionStreamingSessionStoppedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getStreamingSessionRequest- The request to be used for pollingoverrideConfig- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStreamingSessionStopped
default CompletableFuture<WaiterResponse<GetStreamingSessionResponse>> waitUntilStreamingSessionStopped(Consumer<GetStreamingSessionRequest.Builder> getStreamingSessionRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsNimbleAsyncClient.getStreamingSession(software.amazon.awssdk.services.nimble.model.GetStreamingSessionRequest)API until the desired conditionStreamingSessionStoppedis 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
- Parameters:
getStreamingSessionRequest- The consumer that will configure the request to be used for pollingoverrideConfig- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStreamingSessionStreamReady
default CompletableFuture<WaiterResponse<GetStreamingSessionStreamResponse>> waitUntilStreamingSessionStreamReady(GetStreamingSessionStreamRequest getStreamingSessionStreamRequest)
PollsNimbleAsyncClient.getStreamingSessionStream(software.amazon.awssdk.services.nimble.model.GetStreamingSessionStreamRequest)API until the desired conditionStreamingSessionStreamReadyis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getStreamingSessionStreamRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilStreamingSessionStreamReady
default CompletableFuture<WaiterResponse<GetStreamingSessionStreamResponse>> waitUntilStreamingSessionStreamReady(Consumer<GetStreamingSessionStreamRequest.Builder> getStreamingSessionStreamRequest)
PollsNimbleAsyncClient.getStreamingSessionStream(software.amazon.awssdk.services.nimble.model.GetStreamingSessionStreamRequest)API until the desired conditionStreamingSessionStreamReadyis 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
GetStreamingSessionStreamRequest.builder()- Parameters:
getStreamingSessionStreamRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStreamingSessionStreamReady
default CompletableFuture<WaiterResponse<GetStreamingSessionStreamResponse>> waitUntilStreamingSessionStreamReady(GetStreamingSessionStreamRequest getStreamingSessionStreamRequest, WaiterOverrideConfiguration overrideConfig)
PollsNimbleAsyncClient.getStreamingSessionStream(software.amazon.awssdk.services.nimble.model.GetStreamingSessionStreamRequest)API until the desired conditionStreamingSessionStreamReadyis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getStreamingSessionStreamRequest- The request to be used for pollingoverrideConfig- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStreamingSessionStreamReady
default CompletableFuture<WaiterResponse<GetStreamingSessionStreamResponse>> waitUntilStreamingSessionStreamReady(Consumer<GetStreamingSessionStreamRequest.Builder> getStreamingSessionStreamRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsNimbleAsyncClient.getStreamingSessionStream(software.amazon.awssdk.services.nimble.model.GetStreamingSessionStreamRequest)API until the desired conditionStreamingSessionStreamReadyis 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
- Parameters:
getStreamingSessionStreamRequest- The consumer that will configure the request to be used for pollingoverrideConfig- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStudioComponentDeleted
default CompletableFuture<WaiterResponse<GetStudioComponentResponse>> waitUntilStudioComponentDeleted(GetStudioComponentRequest getStudioComponentRequest)
PollsNimbleAsyncClient.getStudioComponent(software.amazon.awssdk.services.nimble.model.GetStudioComponentRequest)API until the desired conditionStudioComponentDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getStudioComponentRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilStudioComponentDeleted
default CompletableFuture<WaiterResponse<GetStudioComponentResponse>> waitUntilStudioComponentDeleted(Consumer<GetStudioComponentRequest.Builder> getStudioComponentRequest)
PollsNimbleAsyncClient.getStudioComponent(software.amazon.awssdk.services.nimble.model.GetStudioComponentRequest)API until the desired conditionStudioComponentDeletedis 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
GetStudioComponentRequest.builder()- Parameters:
getStudioComponentRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStudioComponentDeleted
default CompletableFuture<WaiterResponse<GetStudioComponentResponse>> waitUntilStudioComponentDeleted(GetStudioComponentRequest getStudioComponentRequest, WaiterOverrideConfiguration overrideConfig)
PollsNimbleAsyncClient.getStudioComponent(software.amazon.awssdk.services.nimble.model.GetStudioComponentRequest)API until the desired conditionStudioComponentDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getStudioComponentRequest- The request to be used for pollingoverrideConfig- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStudioComponentDeleted
default CompletableFuture<WaiterResponse<GetStudioComponentResponse>> waitUntilStudioComponentDeleted(Consumer<GetStudioComponentRequest.Builder> getStudioComponentRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsNimbleAsyncClient.getStudioComponent(software.amazon.awssdk.services.nimble.model.GetStudioComponentRequest)API until the desired conditionStudioComponentDeletedis 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
- Parameters:
getStudioComponentRequest- The consumer that will configure the request to be used for pollingoverrideConfig- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStudioComponentReady
default CompletableFuture<WaiterResponse<GetStudioComponentResponse>> waitUntilStudioComponentReady(GetStudioComponentRequest getStudioComponentRequest)
PollsNimbleAsyncClient.getStudioComponent(software.amazon.awssdk.services.nimble.model.GetStudioComponentRequest)API until the desired conditionStudioComponentReadyis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getStudioComponentRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilStudioComponentReady
default CompletableFuture<WaiterResponse<GetStudioComponentResponse>> waitUntilStudioComponentReady(Consumer<GetStudioComponentRequest.Builder> getStudioComponentRequest)
PollsNimbleAsyncClient.getStudioComponent(software.amazon.awssdk.services.nimble.model.GetStudioComponentRequest)API until the desired conditionStudioComponentReadyis 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
GetStudioComponentRequest.builder()- Parameters:
getStudioComponentRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStudioComponentReady
default CompletableFuture<WaiterResponse<GetStudioComponentResponse>> waitUntilStudioComponentReady(GetStudioComponentRequest getStudioComponentRequest, WaiterOverrideConfiguration overrideConfig)
PollsNimbleAsyncClient.getStudioComponent(software.amazon.awssdk.services.nimble.model.GetStudioComponentRequest)API until the desired conditionStudioComponentReadyis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getStudioComponentRequest- The request to be used for pollingoverrideConfig- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStudioComponentReady
default CompletableFuture<WaiterResponse<GetStudioComponentResponse>> waitUntilStudioComponentReady(Consumer<GetStudioComponentRequest.Builder> getStudioComponentRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsNimbleAsyncClient.getStudioComponent(software.amazon.awssdk.services.nimble.model.GetStudioComponentRequest)API until the desired conditionStudioComponentReadyis 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
- Parameters:
getStudioComponentRequest- The consumer that will configure the request to be used for pollingoverrideConfig- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStudioDeleted
default CompletableFuture<WaiterResponse<GetStudioResponse>> waitUntilStudioDeleted(GetStudioRequest getStudioRequest)
PollsNimbleAsyncClient.getStudio(software.amazon.awssdk.services.nimble.model.GetStudioRequest)API until the desired conditionStudioDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getStudioRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilStudioDeleted
default CompletableFuture<WaiterResponse<GetStudioResponse>> waitUntilStudioDeleted(Consumer<GetStudioRequest.Builder> getStudioRequest)
PollsNimbleAsyncClient.getStudio(software.amazon.awssdk.services.nimble.model.GetStudioRequest)API until the desired conditionStudioDeletedis 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
GetStudioRequest.builder()- Parameters:
getStudioRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStudioDeleted
default CompletableFuture<WaiterResponse<GetStudioResponse>> waitUntilStudioDeleted(GetStudioRequest getStudioRequest, WaiterOverrideConfiguration overrideConfig)
PollsNimbleAsyncClient.getStudio(software.amazon.awssdk.services.nimble.model.GetStudioRequest)API until the desired conditionStudioDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getStudioRequest- The request to be used for pollingoverrideConfig- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStudioDeleted
default CompletableFuture<WaiterResponse<GetStudioResponse>> waitUntilStudioDeleted(Consumer<GetStudioRequest.Builder> getStudioRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsNimbleAsyncClient.getStudio(software.amazon.awssdk.services.nimble.model.GetStudioRequest)API until the desired conditionStudioDeletedis 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
- Parameters:
getStudioRequest- The consumer that will configure the request to be used for pollingoverrideConfig- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStudioReady
default CompletableFuture<WaiterResponse<GetStudioResponse>> waitUntilStudioReady(GetStudioRequest getStudioRequest)
PollsNimbleAsyncClient.getStudio(software.amazon.awssdk.services.nimble.model.GetStudioRequest)API until the desired conditionStudioReadyis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getStudioRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilStudioReady
default CompletableFuture<WaiterResponse<GetStudioResponse>> waitUntilStudioReady(Consumer<GetStudioRequest.Builder> getStudioRequest)
PollsNimbleAsyncClient.getStudio(software.amazon.awssdk.services.nimble.model.GetStudioRequest)API until the desired conditionStudioReadyis 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
GetStudioRequest.builder()- Parameters:
getStudioRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStudioReady
default CompletableFuture<WaiterResponse<GetStudioResponse>> waitUntilStudioReady(GetStudioRequest getStudioRequest, WaiterOverrideConfiguration overrideConfig)
PollsNimbleAsyncClient.getStudio(software.amazon.awssdk.services.nimble.model.GetStudioRequest)API until the desired conditionStudioReadyis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getStudioRequest- The request to be used for pollingoverrideConfig- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilStudioReady
default CompletableFuture<WaiterResponse<GetStudioResponse>> waitUntilStudioReady(Consumer<GetStudioRequest.Builder> getStudioRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsNimbleAsyncClient.getStudio(software.amazon.awssdk.services.nimble.model.GetStudioRequest)API until the desired conditionStudioReadyis 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
- Parameters:
getStudioRequest- The consumer that will configure the request to be used for pollingoverrideConfig- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
builder
static NimbleAsyncWaiter.Builder builder()
Create a builder that can be used to configure and create aNimbleAsyncWaiter.- Returns:
- a builder
-
create
static NimbleAsyncWaiter create()
Create an instance ofNimbleAsyncWaiterwith the default configuration.A default
NimbleAsyncClientwill 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, invokeSdkAutoCloseable.close()to release the resources once the waiter is not needed.- Returns:
- an instance of
NimbleAsyncWaiter
-
-