@Generated(value="software.amazon.awssdk:codegen") public interface AmpAsyncWaiter extends SdkAutoCloseable
builder() method| Modifier and Type | Interface and Description |
|---|---|
static interface |
AmpAsyncWaiter.Builder |
closedefault CompletableFuture<WaiterResponse<DescribeWorkspaceResponse>> waitUntilWorkspaceActive(DescribeWorkspaceRequest describeWorkspaceRequest)
AmpAsyncClient.describeWorkspace(software.amazon.awssdk.services.amp.model.DescribeWorkspaceRequest) API until the desired condition WorkspaceActive is met, or
until it is determined that the resource will never enter into the desired statedescribeWorkspaceRequest - the request to be used for pollingdefault CompletableFuture<WaiterResponse<DescribeWorkspaceResponse>> waitUntilWorkspaceActive(Consumer<DescribeWorkspaceRequest.Builder> describeWorkspaceRequest)
AmpAsyncClient.describeWorkspace(software.amazon.awssdk.services.amp.model.DescribeWorkspaceRequest) API until the desired condition WorkspaceActive 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 DescribeWorkspaceRequest.builder()
describeWorkspaceRequest - The consumer that will configure the request to be used for pollingdefault CompletableFuture<WaiterResponse<DescribeWorkspaceResponse>> waitUntilWorkspaceActive(DescribeWorkspaceRequest describeWorkspaceRequest, WaiterOverrideConfiguration overrideConfig)
AmpAsyncClient.describeWorkspace(software.amazon.awssdk.services.amp.model.DescribeWorkspaceRequest) API until the desired condition WorkspaceActive is met, or
until it is determined that the resource will never enter into the desired statedescribeWorkspaceRequest - The request to be used for pollingoverrideConfig - Per request override configuration for waitersdefault CompletableFuture<WaiterResponse<DescribeWorkspaceResponse>> waitUntilWorkspaceActive(Consumer<DescribeWorkspaceRequest.Builder> describeWorkspaceRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
AmpAsyncClient.describeWorkspace(software.amazon.awssdk.services.amp.model.DescribeWorkspaceRequest) API until the desired condition WorkspaceActive 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
describeWorkspaceRequest - 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<DescribeWorkspaceResponse>> waitUntilWorkspaceDeleted(DescribeWorkspaceRequest describeWorkspaceRequest)
AmpAsyncClient.describeWorkspace(software.amazon.awssdk.services.amp.model.DescribeWorkspaceRequest) API until the desired condition WorkspaceDeleted is met,
or until it is determined that the resource will never enter into the desired statedescribeWorkspaceRequest - the request to be used for pollingdefault CompletableFuture<WaiterResponse<DescribeWorkspaceResponse>> waitUntilWorkspaceDeleted(Consumer<DescribeWorkspaceRequest.Builder> describeWorkspaceRequest)
AmpAsyncClient.describeWorkspace(software.amazon.awssdk.services.amp.model.DescribeWorkspaceRequest) API until the desired condition WorkspaceDeleted 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 DescribeWorkspaceRequest.builder()
describeWorkspaceRequest - The consumer that will configure the request to be used for pollingdefault CompletableFuture<WaiterResponse<DescribeWorkspaceResponse>> waitUntilWorkspaceDeleted(DescribeWorkspaceRequest describeWorkspaceRequest, WaiterOverrideConfiguration overrideConfig)
AmpAsyncClient.describeWorkspace(software.amazon.awssdk.services.amp.model.DescribeWorkspaceRequest) API until the desired condition WorkspaceDeleted is met,
or until it is determined that the resource will never enter into the desired statedescribeWorkspaceRequest - The request to be used for pollingoverrideConfig - Per request override configuration for waitersdefault CompletableFuture<WaiterResponse<DescribeWorkspaceResponse>> waitUntilWorkspaceDeleted(Consumer<DescribeWorkspaceRequest.Builder> describeWorkspaceRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
AmpAsyncClient.describeWorkspace(software.amazon.awssdk.services.amp.model.DescribeWorkspaceRequest) API until the desired condition WorkspaceDeleted 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
describeWorkspaceRequest - The consumer that will configure the request to be used for pollingoverrideConfig - The consumer that will configure the per request override configuration for waitersstatic AmpAsyncWaiter.Builder builder()
AmpAsyncWaiter.static AmpAsyncWaiter create()
AmpAsyncWaiter with the default configuration.
A default AmpAsyncClient 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.
AmpAsyncWaiterCopyright © 2021. All rights reserved.