Interface OpsWorksAsyncWaiter
- All Superinterfaces:
AutoCloseable,SdkAutoCloseable
builder() method-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic OpsWorksAsyncWaiter.Builderbuilder()Create a builder that can be used to configure and create aOpsWorksAsyncWaiter.static OpsWorksAsyncWaitercreate()Create an instance ofOpsWorksAsyncWaiterwith the default configuration.waitUntilAppExists(Consumer<DescribeAppsRequest.Builder> describeAppsRequest) PollsOpsWorksAsyncClient.describeApps(software.amazon.awssdk.services.opsworks.model.DescribeAppsRequest)API until the desired conditionAppExistsis met, or until it is determined that the resource will never enter into the desired state.waitUntilAppExists(Consumer<DescribeAppsRequest.Builder> describeAppsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsOpsWorksAsyncClient.describeApps(software.amazon.awssdk.services.opsworks.model.DescribeAppsRequest)API until the desired conditionAppExistsis met, or until it is determined that the resource will never enter into the desired state.waitUntilAppExists(DescribeAppsRequest describeAppsRequest) PollsOpsWorksAsyncClient.describeApps(software.amazon.awssdk.services.opsworks.model.DescribeAppsRequest)API until the desired conditionAppExistsis met, or until it is determined that the resource will never enter into the desired statewaitUntilAppExists(DescribeAppsRequest describeAppsRequest, WaiterOverrideConfiguration overrideConfig) PollsOpsWorksAsyncClient.describeApps(software.amazon.awssdk.services.opsworks.model.DescribeAppsRequest)API until the desired conditionAppExistsis met, or until it is determined that the resource will never enter into the desired statewaitUntilDeploymentSuccessful(Consumer<DescribeDeploymentsRequest.Builder> describeDeploymentsRequest) PollsOpsWorksAsyncClient.describeDeployments(software.amazon.awssdk.services.opsworks.model.DescribeDeploymentsRequest)API until the desired conditionDeploymentSuccessfulis met, or until it is determined that the resource will never enter into the desired state.waitUntilDeploymentSuccessful(Consumer<DescribeDeploymentsRequest.Builder> describeDeploymentsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsOpsWorksAsyncClient.describeDeployments(software.amazon.awssdk.services.opsworks.model.DescribeDeploymentsRequest)API until the desired conditionDeploymentSuccessfulis met, or until it is determined that the resource will never enter into the desired state.waitUntilDeploymentSuccessful(DescribeDeploymentsRequest describeDeploymentsRequest) PollsOpsWorksAsyncClient.describeDeployments(software.amazon.awssdk.services.opsworks.model.DescribeDeploymentsRequest)API until the desired conditionDeploymentSuccessfulis met, or until it is determined that the resource will never enter into the desired statewaitUntilDeploymentSuccessful(DescribeDeploymentsRequest describeDeploymentsRequest, WaiterOverrideConfiguration overrideConfig) PollsOpsWorksAsyncClient.describeDeployments(software.amazon.awssdk.services.opsworks.model.DescribeDeploymentsRequest)API until the desired conditionDeploymentSuccessfulis met, or until it is determined that the resource will never enter into the desired statewaitUntilInstanceOnline(Consumer<DescribeInstancesRequest.Builder> describeInstancesRequest) PollsOpsWorksAsyncClient.describeInstances(software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest)API until the desired conditionInstanceOnlineis met, or until it is determined that the resource will never enter into the desired state.waitUntilInstanceOnline(Consumer<DescribeInstancesRequest.Builder> describeInstancesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsOpsWorksAsyncClient.describeInstances(software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest)API until the desired conditionInstanceOnlineis met, or until it is determined that the resource will never enter into the desired state.waitUntilInstanceOnline(DescribeInstancesRequest describeInstancesRequest) PollsOpsWorksAsyncClient.describeInstances(software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest)API until the desired conditionInstanceOnlineis met, or until it is determined that the resource will never enter into the desired statewaitUntilInstanceOnline(DescribeInstancesRequest describeInstancesRequest, WaiterOverrideConfiguration overrideConfig) PollsOpsWorksAsyncClient.describeInstances(software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest)API until the desired conditionInstanceOnlineis met, or until it is determined that the resource will never enter into the desired statewaitUntilInstanceRegistered(Consumer<DescribeInstancesRequest.Builder> describeInstancesRequest) PollsOpsWorksAsyncClient.describeInstances(software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest)API until the desired conditionInstanceRegisteredis met, or until it is determined that the resource will never enter into the desired state.waitUntilInstanceRegistered(Consumer<DescribeInstancesRequest.Builder> describeInstancesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsOpsWorksAsyncClient.describeInstances(software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest)API until the desired conditionInstanceRegisteredis met, or until it is determined that the resource will never enter into the desired state.waitUntilInstanceRegistered(DescribeInstancesRequest describeInstancesRequest) PollsOpsWorksAsyncClient.describeInstances(software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest)API until the desired conditionInstanceRegisteredis met, or until it is determined that the resource will never enter into the desired statewaitUntilInstanceRegistered(DescribeInstancesRequest describeInstancesRequest, WaiterOverrideConfiguration overrideConfig) PollsOpsWorksAsyncClient.describeInstances(software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest)API until the desired conditionInstanceRegisteredis met, or until it is determined that the resource will never enter into the desired statewaitUntilInstanceStopped(Consumer<DescribeInstancesRequest.Builder> describeInstancesRequest) PollsOpsWorksAsyncClient.describeInstances(software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest)API until the desired conditionInstanceStoppedis met, or until it is determined that the resource will never enter into the desired state.waitUntilInstanceStopped(Consumer<DescribeInstancesRequest.Builder> describeInstancesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsOpsWorksAsyncClient.describeInstances(software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest)API until the desired conditionInstanceStoppedis met, or until it is determined that the resource will never enter into the desired state.waitUntilInstanceStopped(DescribeInstancesRequest describeInstancesRequest) PollsOpsWorksAsyncClient.describeInstances(software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest)API until the desired conditionInstanceStoppedis met, or until it is determined that the resource will never enter into the desired statewaitUntilInstanceStopped(DescribeInstancesRequest describeInstancesRequest, WaiterOverrideConfiguration overrideConfig) PollsOpsWorksAsyncClient.describeInstances(software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest)API until the desired conditionInstanceStoppedis met, or until it is determined that the resource will never enter into the desired statewaitUntilInstanceTerminated(Consumer<DescribeInstancesRequest.Builder> describeInstancesRequest) PollsOpsWorksAsyncClient.describeInstances(software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest)API until the desired conditionInstanceTerminatedis met, or until it is determined that the resource will never enter into the desired state.waitUntilInstanceTerminated(Consumer<DescribeInstancesRequest.Builder> describeInstancesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsOpsWorksAsyncClient.describeInstances(software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest)API until the desired conditionInstanceTerminatedis met, or until it is determined that the resource will never enter into the desired state.waitUntilInstanceTerminated(DescribeInstancesRequest describeInstancesRequest) PollsOpsWorksAsyncClient.describeInstances(software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest)API until the desired conditionInstanceTerminatedis met, or until it is determined that the resource will never enter into the desired statewaitUntilInstanceTerminated(DescribeInstancesRequest describeInstancesRequest, WaiterOverrideConfiguration overrideConfig) PollsOpsWorksAsyncClient.describeInstances(software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest)API until the desired conditionInstanceTerminatedis met, or until it is determined that the resource will never enter into the desired stateMethods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Method Details
-
waitUntilAppExists
default CompletableFuture<WaiterResponse<DescribeAppsResponse>> waitUntilAppExists(DescribeAppsRequest describeAppsRequest) PollsOpsWorksAsyncClient.describeApps(software.amazon.awssdk.services.opsworks.model.DescribeAppsRequest)API until the desired conditionAppExistsis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeAppsRequest- 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.
-
waitUntilAppExists
default CompletableFuture<WaiterResponse<DescribeAppsResponse>> waitUntilAppExists(Consumer<DescribeAppsRequest.Builder> describeAppsRequest) PollsOpsWorksAsyncClient.describeApps(software.amazon.awssdk.services.opsworks.model.DescribeAppsRequest)API until the desired conditionAppExistsis 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
DescribeAppsRequest.builder()- Parameters:
describeAppsRequest- 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
-
waitUntilAppExists
default CompletableFuture<WaiterResponse<DescribeAppsResponse>> waitUntilAppExists(DescribeAppsRequest describeAppsRequest, WaiterOverrideConfiguration overrideConfig) PollsOpsWorksAsyncClient.describeApps(software.amazon.awssdk.services.opsworks.model.DescribeAppsRequest)API until the desired conditionAppExistsis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeAppsRequest- 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
-
waitUntilAppExists
default CompletableFuture<WaiterResponse<DescribeAppsResponse>> waitUntilAppExists(Consumer<DescribeAppsRequest.Builder> describeAppsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsOpsWorksAsyncClient.describeApps(software.amazon.awssdk.services.opsworks.model.DescribeAppsRequest)API until the desired conditionAppExistsis 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:
describeAppsRequest- 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
-
waitUntilDeploymentSuccessful
default CompletableFuture<WaiterResponse<DescribeDeploymentsResponse>> waitUntilDeploymentSuccessful(DescribeDeploymentsRequest describeDeploymentsRequest) PollsOpsWorksAsyncClient.describeDeployments(software.amazon.awssdk.services.opsworks.model.DescribeDeploymentsRequest)API until the desired conditionDeploymentSuccessfulis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeDeploymentsRequest- 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.
-
waitUntilDeploymentSuccessful
default CompletableFuture<WaiterResponse<DescribeDeploymentsResponse>> waitUntilDeploymentSuccessful(Consumer<DescribeDeploymentsRequest.Builder> describeDeploymentsRequest) PollsOpsWorksAsyncClient.describeDeployments(software.amazon.awssdk.services.opsworks.model.DescribeDeploymentsRequest)API until the desired conditionDeploymentSuccessfulis 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
DescribeDeploymentsRequest.builder()- Parameters:
describeDeploymentsRequest- 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
-
waitUntilDeploymentSuccessful
default CompletableFuture<WaiterResponse<DescribeDeploymentsResponse>> waitUntilDeploymentSuccessful(DescribeDeploymentsRequest describeDeploymentsRequest, WaiterOverrideConfiguration overrideConfig) PollsOpsWorksAsyncClient.describeDeployments(software.amazon.awssdk.services.opsworks.model.DescribeDeploymentsRequest)API until the desired conditionDeploymentSuccessfulis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeDeploymentsRequest- 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
-
waitUntilDeploymentSuccessful
default CompletableFuture<WaiterResponse<DescribeDeploymentsResponse>> waitUntilDeploymentSuccessful(Consumer<DescribeDeploymentsRequest.Builder> describeDeploymentsRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsOpsWorksAsyncClient.describeDeployments(software.amazon.awssdk.services.opsworks.model.DescribeDeploymentsRequest)API until the desired conditionDeploymentSuccessfulis 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:
describeDeploymentsRequest- 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
-
waitUntilInstanceOnline
default CompletableFuture<WaiterResponse<DescribeInstancesResponse>> waitUntilInstanceOnline(DescribeInstancesRequest describeInstancesRequest) PollsOpsWorksAsyncClient.describeInstances(software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest)API until the desired conditionInstanceOnlineis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeInstancesRequest- 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.
-
waitUntilInstanceOnline
default CompletableFuture<WaiterResponse<DescribeInstancesResponse>> waitUntilInstanceOnline(Consumer<DescribeInstancesRequest.Builder> describeInstancesRequest) PollsOpsWorksAsyncClient.describeInstances(software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest)API until the desired conditionInstanceOnlineis 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
DescribeInstancesRequest.builder()- Parameters:
describeInstancesRequest- 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
-
waitUntilInstanceOnline
default CompletableFuture<WaiterResponse<DescribeInstancesResponse>> waitUntilInstanceOnline(DescribeInstancesRequest describeInstancesRequest, WaiterOverrideConfiguration overrideConfig) PollsOpsWorksAsyncClient.describeInstances(software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest)API until the desired conditionInstanceOnlineis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeInstancesRequest- 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
-
waitUntilInstanceOnline
default CompletableFuture<WaiterResponse<DescribeInstancesResponse>> waitUntilInstanceOnline(Consumer<DescribeInstancesRequest.Builder> describeInstancesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsOpsWorksAsyncClient.describeInstances(software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest)API until the desired conditionInstanceOnlineis 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:
describeInstancesRequest- 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
-
waitUntilInstanceRegistered
default CompletableFuture<WaiterResponse<DescribeInstancesResponse>> waitUntilInstanceRegistered(DescribeInstancesRequest describeInstancesRequest) PollsOpsWorksAsyncClient.describeInstances(software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest)API until the desired conditionInstanceRegisteredis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeInstancesRequest- 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.
-
waitUntilInstanceRegistered
default CompletableFuture<WaiterResponse<DescribeInstancesResponse>> waitUntilInstanceRegistered(Consumer<DescribeInstancesRequest.Builder> describeInstancesRequest) PollsOpsWorksAsyncClient.describeInstances(software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest)API until the desired conditionInstanceRegisteredis 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
DescribeInstancesRequest.builder()- Parameters:
describeInstancesRequest- 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
-
waitUntilInstanceRegistered
default CompletableFuture<WaiterResponse<DescribeInstancesResponse>> waitUntilInstanceRegistered(DescribeInstancesRequest describeInstancesRequest, WaiterOverrideConfiguration overrideConfig) PollsOpsWorksAsyncClient.describeInstances(software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest)API until the desired conditionInstanceRegisteredis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeInstancesRequest- 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
-
waitUntilInstanceRegistered
default CompletableFuture<WaiterResponse<DescribeInstancesResponse>> waitUntilInstanceRegistered(Consumer<DescribeInstancesRequest.Builder> describeInstancesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsOpsWorksAsyncClient.describeInstances(software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest)API until the desired conditionInstanceRegisteredis 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:
describeInstancesRequest- 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
-
waitUntilInstanceStopped
default CompletableFuture<WaiterResponse<DescribeInstancesResponse>> waitUntilInstanceStopped(DescribeInstancesRequest describeInstancesRequest) PollsOpsWorksAsyncClient.describeInstances(software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest)API until the desired conditionInstanceStoppedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeInstancesRequest- 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.
-
waitUntilInstanceStopped
default CompletableFuture<WaiterResponse<DescribeInstancesResponse>> waitUntilInstanceStopped(Consumer<DescribeInstancesRequest.Builder> describeInstancesRequest) PollsOpsWorksAsyncClient.describeInstances(software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest)API until the desired conditionInstanceStoppedis 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
DescribeInstancesRequest.builder()- Parameters:
describeInstancesRequest- 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
-
waitUntilInstanceStopped
default CompletableFuture<WaiterResponse<DescribeInstancesResponse>> waitUntilInstanceStopped(DescribeInstancesRequest describeInstancesRequest, WaiterOverrideConfiguration overrideConfig) PollsOpsWorksAsyncClient.describeInstances(software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest)API until the desired conditionInstanceStoppedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeInstancesRequest- 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
-
waitUntilInstanceStopped
default CompletableFuture<WaiterResponse<DescribeInstancesResponse>> waitUntilInstanceStopped(Consumer<DescribeInstancesRequest.Builder> describeInstancesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsOpsWorksAsyncClient.describeInstances(software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest)API until the desired conditionInstanceStoppedis 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:
describeInstancesRequest- 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
-
waitUntilInstanceTerminated
default CompletableFuture<WaiterResponse<DescribeInstancesResponse>> waitUntilInstanceTerminated(DescribeInstancesRequest describeInstancesRequest) PollsOpsWorksAsyncClient.describeInstances(software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest)API until the desired conditionInstanceTerminatedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeInstancesRequest- 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.
-
waitUntilInstanceTerminated
default CompletableFuture<WaiterResponse<DescribeInstancesResponse>> waitUntilInstanceTerminated(Consumer<DescribeInstancesRequest.Builder> describeInstancesRequest) PollsOpsWorksAsyncClient.describeInstances(software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest)API until the desired conditionInstanceTerminatedis 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
DescribeInstancesRequest.builder()- Parameters:
describeInstancesRequest- 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
-
waitUntilInstanceTerminated
default CompletableFuture<WaiterResponse<DescribeInstancesResponse>> waitUntilInstanceTerminated(DescribeInstancesRequest describeInstancesRequest, WaiterOverrideConfiguration overrideConfig) PollsOpsWorksAsyncClient.describeInstances(software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest)API until the desired conditionInstanceTerminatedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeInstancesRequest- 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
-
waitUntilInstanceTerminated
default CompletableFuture<WaiterResponse<DescribeInstancesResponse>> waitUntilInstanceTerminated(Consumer<DescribeInstancesRequest.Builder> describeInstancesRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsOpsWorksAsyncClient.describeInstances(software.amazon.awssdk.services.opsworks.model.DescribeInstancesRequest)API until the desired conditionInstanceTerminatedis 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:
describeInstancesRequest- 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
Create a builder that can be used to configure and create aOpsWorksAsyncWaiter.- Returns:
- a builder
-
create
Create an instance ofOpsWorksAsyncWaiterwith the default configuration.A default
OpsWorksAsyncClientwill 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
OpsWorksAsyncWaiter
-