Interface DeadlineWaiter
-
- All Superinterfaces:
AutoCloseable,SdkAutoCloseable
@Generated("software.amazon.awssdk:codegen") @ThreadSafe @Immutable public interface DeadlineWaiter 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 interfaceDeadlineWaiter.Builder
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
-
-
-
Method Detail
-
waitUntilFleetActive
default WaiterResponse<GetFleetResponse> waitUntilFleetActive(GetFleetRequest getFleetRequest)
PollsDeadlineClient.getFleet(software.amazon.awssdk.services.deadline.model.GetFleetRequest)API until the desired conditionFleetActiveis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getFleetRequest- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilFleetActive
default WaiterResponse<GetFleetResponse> waitUntilFleetActive(Consumer<GetFleetRequest.Builder> getFleetRequest)
PollsDeadlineClient.getFleet(software.amazon.awssdk.services.deadline.model.GetFleetRequest)API until the desired conditionFleetActiveis 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
GetFleetRequest.builder()- Parameters:
getFleetRequest- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilFleetActive
default WaiterResponse<GetFleetResponse> waitUntilFleetActive(GetFleetRequest getFleetRequest, WaiterOverrideConfiguration overrideConfig)
PollsDeadlineClient.getFleet(software.amazon.awssdk.services.deadline.model.GetFleetRequest)API until the desired conditionFleetActiveis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getFleetRequest- 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
-
waitUntilFleetActive
default WaiterResponse<GetFleetResponse> waitUntilFleetActive(Consumer<GetFleetRequest.Builder> getFleetRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsDeadlineClient.getFleet(software.amazon.awssdk.services.deadline.model.GetFleetRequest)API until the desired conditionFleetActiveis 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:
getFleetRequest- 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
-
waitUntilJobCreateComplete
default WaiterResponse<GetJobResponse> waitUntilJobCreateComplete(GetJobRequest getJobRequest)
PollsDeadlineClient.getJob(software.amazon.awssdk.services.deadline.model.GetJobRequest)API until the desired conditionJobCreateCompleteis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getJobRequest- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilJobCreateComplete
default WaiterResponse<GetJobResponse> waitUntilJobCreateComplete(Consumer<GetJobRequest.Builder> getJobRequest)
PollsDeadlineClient.getJob(software.amazon.awssdk.services.deadline.model.GetJobRequest)API until the desired conditionJobCreateCompleteis 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
GetJobRequest.builder()- Parameters:
getJobRequest- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilJobCreateComplete
default WaiterResponse<GetJobResponse> waitUntilJobCreateComplete(GetJobRequest getJobRequest, WaiterOverrideConfiguration overrideConfig)
PollsDeadlineClient.getJob(software.amazon.awssdk.services.deadline.model.GetJobRequest)API until the desired conditionJobCreateCompleteis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getJobRequest- 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
-
waitUntilJobCreateComplete
default WaiterResponse<GetJobResponse> waitUntilJobCreateComplete(Consumer<GetJobRequest.Builder> getJobRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsDeadlineClient.getJob(software.amazon.awssdk.services.deadline.model.GetJobRequest)API until the desired conditionJobCreateCompleteis 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:
getJobRequest- 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
-
waitUntilLicenseEndpointDeleted
default WaiterResponse<GetLicenseEndpointResponse> waitUntilLicenseEndpointDeleted(GetLicenseEndpointRequest getLicenseEndpointRequest)
PollsDeadlineClient.getLicenseEndpoint(software.amazon.awssdk.services.deadline.model.GetLicenseEndpointRequest)API until the desired conditionLicenseEndpointDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getLicenseEndpointRequest- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilLicenseEndpointDeleted
default WaiterResponse<GetLicenseEndpointResponse> waitUntilLicenseEndpointDeleted(Consumer<GetLicenseEndpointRequest.Builder> getLicenseEndpointRequest)
PollsDeadlineClient.getLicenseEndpoint(software.amazon.awssdk.services.deadline.model.GetLicenseEndpointRequest)API until the desired conditionLicenseEndpointDeletedis 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
GetLicenseEndpointRequest.builder()- Parameters:
getLicenseEndpointRequest- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilLicenseEndpointDeleted
default WaiterResponse<GetLicenseEndpointResponse> waitUntilLicenseEndpointDeleted(GetLicenseEndpointRequest getLicenseEndpointRequest, WaiterOverrideConfiguration overrideConfig)
PollsDeadlineClient.getLicenseEndpoint(software.amazon.awssdk.services.deadline.model.GetLicenseEndpointRequest)API until the desired conditionLicenseEndpointDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getLicenseEndpointRequest- 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
-
waitUntilLicenseEndpointDeleted
default WaiterResponse<GetLicenseEndpointResponse> waitUntilLicenseEndpointDeleted(Consumer<GetLicenseEndpointRequest.Builder> getLicenseEndpointRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsDeadlineClient.getLicenseEndpoint(software.amazon.awssdk.services.deadline.model.GetLicenseEndpointRequest)API until the desired conditionLicenseEndpointDeletedis 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:
getLicenseEndpointRequest- 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
-
waitUntilLicenseEndpointValid
default WaiterResponse<GetLicenseEndpointResponse> waitUntilLicenseEndpointValid(GetLicenseEndpointRequest getLicenseEndpointRequest)
PollsDeadlineClient.getLicenseEndpoint(software.amazon.awssdk.services.deadline.model.GetLicenseEndpointRequest)API until the desired conditionLicenseEndpointValidis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getLicenseEndpointRequest- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilLicenseEndpointValid
default WaiterResponse<GetLicenseEndpointResponse> waitUntilLicenseEndpointValid(Consumer<GetLicenseEndpointRequest.Builder> getLicenseEndpointRequest)
PollsDeadlineClient.getLicenseEndpoint(software.amazon.awssdk.services.deadline.model.GetLicenseEndpointRequest)API until the desired conditionLicenseEndpointValidis 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
GetLicenseEndpointRequest.builder()- Parameters:
getLicenseEndpointRequest- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilLicenseEndpointValid
default WaiterResponse<GetLicenseEndpointResponse> waitUntilLicenseEndpointValid(GetLicenseEndpointRequest getLicenseEndpointRequest, WaiterOverrideConfiguration overrideConfig)
PollsDeadlineClient.getLicenseEndpoint(software.amazon.awssdk.services.deadline.model.GetLicenseEndpointRequest)API until the desired conditionLicenseEndpointValidis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getLicenseEndpointRequest- 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
-
waitUntilLicenseEndpointValid
default WaiterResponse<GetLicenseEndpointResponse> waitUntilLicenseEndpointValid(Consumer<GetLicenseEndpointRequest.Builder> getLicenseEndpointRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsDeadlineClient.getLicenseEndpoint(software.amazon.awssdk.services.deadline.model.GetLicenseEndpointRequest)API until the desired conditionLicenseEndpointValidis 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:
getLicenseEndpointRequest- 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
-
waitUntilQueueFleetAssociationStopped
default WaiterResponse<GetQueueFleetAssociationResponse> waitUntilQueueFleetAssociationStopped(GetQueueFleetAssociationRequest getQueueFleetAssociationRequest)
PollsDeadlineClient.getQueueFleetAssociation(software.amazon.awssdk.services.deadline.model.GetQueueFleetAssociationRequest)API until the desired conditionQueueFleetAssociationStoppedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getQueueFleetAssociationRequest- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilQueueFleetAssociationStopped
default WaiterResponse<GetQueueFleetAssociationResponse> waitUntilQueueFleetAssociationStopped(Consumer<GetQueueFleetAssociationRequest.Builder> getQueueFleetAssociationRequest)
PollsDeadlineClient.getQueueFleetAssociation(software.amazon.awssdk.services.deadline.model.GetQueueFleetAssociationRequest)API until the desired conditionQueueFleetAssociationStoppedis 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
GetQueueFleetAssociationRequest.builder()- Parameters:
getQueueFleetAssociationRequest- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilQueueFleetAssociationStopped
default WaiterResponse<GetQueueFleetAssociationResponse> waitUntilQueueFleetAssociationStopped(GetQueueFleetAssociationRequest getQueueFleetAssociationRequest, WaiterOverrideConfiguration overrideConfig)
PollsDeadlineClient.getQueueFleetAssociation(software.amazon.awssdk.services.deadline.model.GetQueueFleetAssociationRequest)API until the desired conditionQueueFleetAssociationStoppedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getQueueFleetAssociationRequest- 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
-
waitUntilQueueFleetAssociationStopped
default WaiterResponse<GetQueueFleetAssociationResponse> waitUntilQueueFleetAssociationStopped(Consumer<GetQueueFleetAssociationRequest.Builder> getQueueFleetAssociationRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsDeadlineClient.getQueueFleetAssociation(software.amazon.awssdk.services.deadline.model.GetQueueFleetAssociationRequest)API until the desired conditionQueueFleetAssociationStoppedis 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:
getQueueFleetAssociationRequest- 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
-
waitUntilQueueScheduling
default WaiterResponse<GetQueueResponse> waitUntilQueueScheduling(GetQueueRequest getQueueRequest)
PollsDeadlineClient.getQueue(software.amazon.awssdk.services.deadline.model.GetQueueRequest)API until the desired conditionQueueSchedulingis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getQueueRequest- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilQueueScheduling
default WaiterResponse<GetQueueResponse> waitUntilQueueScheduling(Consumer<GetQueueRequest.Builder> getQueueRequest)
PollsDeadlineClient.getQueue(software.amazon.awssdk.services.deadline.model.GetQueueRequest)API until the desired conditionQueueSchedulingis 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
GetQueueRequest.builder()- Parameters:
getQueueRequest- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilQueueScheduling
default WaiterResponse<GetQueueResponse> waitUntilQueueScheduling(GetQueueRequest getQueueRequest, WaiterOverrideConfiguration overrideConfig)
PollsDeadlineClient.getQueue(software.amazon.awssdk.services.deadline.model.GetQueueRequest)API until the desired conditionQueueSchedulingis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getQueueRequest- 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
-
waitUntilQueueScheduling
default WaiterResponse<GetQueueResponse> waitUntilQueueScheduling(Consumer<GetQueueRequest.Builder> getQueueRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsDeadlineClient.getQueue(software.amazon.awssdk.services.deadline.model.GetQueueRequest)API until the desired conditionQueueSchedulingis 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:
getQueueRequest- 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
-
waitUntilQueueSchedulingBlocked
default WaiterResponse<GetQueueResponse> waitUntilQueueSchedulingBlocked(GetQueueRequest getQueueRequest)
PollsDeadlineClient.getQueue(software.amazon.awssdk.services.deadline.model.GetQueueRequest)API until the desired conditionQueueSchedulingBlockedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getQueueRequest- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilQueueSchedulingBlocked
default WaiterResponse<GetQueueResponse> waitUntilQueueSchedulingBlocked(Consumer<GetQueueRequest.Builder> getQueueRequest)
PollsDeadlineClient.getQueue(software.amazon.awssdk.services.deadline.model.GetQueueRequest)API until the desired conditionQueueSchedulingBlockedis 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
GetQueueRequest.builder()- Parameters:
getQueueRequest- The consumer that will configure the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilQueueSchedulingBlocked
default WaiterResponse<GetQueueResponse> waitUntilQueueSchedulingBlocked(GetQueueRequest getQueueRequest, WaiterOverrideConfiguration overrideConfig)
PollsDeadlineClient.getQueue(software.amazon.awssdk.services.deadline.model.GetQueueRequest)API until the desired conditionQueueSchedulingBlockedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getQueueRequest- 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
-
waitUntilQueueSchedulingBlocked
default WaiterResponse<GetQueueResponse> waitUntilQueueSchedulingBlocked(Consumer<GetQueueRequest.Builder> getQueueRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsDeadlineClient.getQueue(software.amazon.awssdk.services.deadline.model.GetQueueRequest)API until the desired conditionQueueSchedulingBlockedis 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:
getQueueRequest- 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 DeadlineWaiter.Builder builder()
Create a builder that can be used to configure and create aDeadlineWaiter.- Returns:
- a builder
-
create
static DeadlineWaiter create()
Create an instance ofDeadlineWaiterwith the default configuration.A default
DeadlineClientwill 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
DeadlineWaiter
-
-