@Generated(value="software.amazon.awssdk:codegen") public interface CloudControlWaiter extends SdkAutoCloseable
builder() method| Modifier and Type | Interface and Description |
|---|---|
static interface |
CloudControlWaiter.Builder |
closedefault WaiterResponse<GetResourceRequestStatusResponse> waitUntilResourceRequestSuccess(GetResourceRequestStatusRequest getResourceRequestStatusRequest)
CloudControlClient.getResourceRequestStatus(software.amazon.awssdk.services.cloudcontrol.model.GetResourceRequestStatusRequest) API until the desired condition
ResourceRequestSuccess is met, or until it is determined that the resource will never enter into the
desired stategetResourceRequestStatusRequest - the request to be used for pollingdefault WaiterResponse<GetResourceRequestStatusResponse> waitUntilResourceRequestSuccess(Consumer<GetResourceRequestStatusRequest.Builder> getResourceRequestStatusRequest)
CloudControlClient.getResourceRequestStatus(software.amazon.awssdk.services.cloudcontrol.model.GetResourceRequestStatusRequest) API until the desired condition
ResourceRequestSuccess 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 GetResourceRequestStatusRequest.builder()
getResourceRequestStatusRequest - The consumer that will configure the request to be used for pollingdefault WaiterResponse<GetResourceRequestStatusResponse> waitUntilResourceRequestSuccess(GetResourceRequestStatusRequest getResourceRequestStatusRequest, WaiterOverrideConfiguration overrideConfig)
CloudControlClient.getResourceRequestStatus(software.amazon.awssdk.services.cloudcontrol.model.GetResourceRequestStatusRequest) API until the desired condition
ResourceRequestSuccess is met, or until it is determined that the resource will never enter into the
desired stategetResourceRequestStatusRequest - The request to be used for pollingoverrideConfig - Per request override configuration for waitersdefault WaiterResponse<GetResourceRequestStatusResponse> waitUntilResourceRequestSuccess(Consumer<GetResourceRequestStatusRequest.Builder> getResourceRequestStatusRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
CloudControlClient.getResourceRequestStatus(software.amazon.awssdk.services.cloudcontrol.model.GetResourceRequestStatusRequest) API until the desired condition
ResourceRequestSuccess 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
getResourceRequestStatusRequest - The consumer that will configure the request to be used for pollingoverrideConfig - The consumer that will configure the per request override configuration for waitersstatic CloudControlWaiter.Builder builder()
CloudControlWaiter.static CloudControlWaiter create()
CloudControlWaiter with the default configuration.
A default CloudControlClient 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.
CloudControlWaiterCopyright © 2023. All rights reserved.