Interface ProtonWaiter
-
- All Superinterfaces:
AutoCloseable,SdkAutoCloseable
@Generated("software.amazon.awssdk:codegen") public interface ProtonWaiter 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 interfaceProtonWaiter.Builder
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
-
-
-
Method Detail
-
waitUntilComponentDeleted
default WaiterResponse<GetComponentResponse> waitUntilComponentDeleted(GetComponentRequest getComponentRequest)
PollsProtonClient.getComponent(software.amazon.awssdk.services.proton.model.GetComponentRequest)API until the desired conditionComponentDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getComponentRequest- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilComponentDeleted
default WaiterResponse<GetComponentResponse> waitUntilComponentDeleted(Consumer<GetComponentRequest.Builder> getComponentRequest)
PollsProtonClient.getComponent(software.amazon.awssdk.services.proton.model.GetComponentRequest)API until the desired conditionComponentDeletedis 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
GetComponentRequest.builder()- Parameters:
getComponentRequest- 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
-
waitUntilComponentDeleted
default WaiterResponse<GetComponentResponse> waitUntilComponentDeleted(GetComponentRequest getComponentRequest, WaiterOverrideConfiguration overrideConfig)
PollsProtonClient.getComponent(software.amazon.awssdk.services.proton.model.GetComponentRequest)API until the desired conditionComponentDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getComponentRequest- 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
-
waitUntilComponentDeleted
default WaiterResponse<GetComponentResponse> waitUntilComponentDeleted(Consumer<GetComponentRequest.Builder> getComponentRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsProtonClient.getComponent(software.amazon.awssdk.services.proton.model.GetComponentRequest)API until the desired conditionComponentDeletedis 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:
getComponentRequest- 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
-
waitUntilComponentDeployed
default WaiterResponse<GetComponentResponse> waitUntilComponentDeployed(GetComponentRequest getComponentRequest)
PollsProtonClient.getComponent(software.amazon.awssdk.services.proton.model.GetComponentRequest)API until the desired conditionComponentDeployedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getComponentRequest- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilComponentDeployed
default WaiterResponse<GetComponentResponse> waitUntilComponentDeployed(Consumer<GetComponentRequest.Builder> getComponentRequest)
PollsProtonClient.getComponent(software.amazon.awssdk.services.proton.model.GetComponentRequest)API until the desired conditionComponentDeployedis 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
GetComponentRequest.builder()- Parameters:
getComponentRequest- 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
-
waitUntilComponentDeployed
default WaiterResponse<GetComponentResponse> waitUntilComponentDeployed(GetComponentRequest getComponentRequest, WaiterOverrideConfiguration overrideConfig)
PollsProtonClient.getComponent(software.amazon.awssdk.services.proton.model.GetComponentRequest)API until the desired conditionComponentDeployedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getComponentRequest- 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
-
waitUntilComponentDeployed
default WaiterResponse<GetComponentResponse> waitUntilComponentDeployed(Consumer<GetComponentRequest.Builder> getComponentRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsProtonClient.getComponent(software.amazon.awssdk.services.proton.model.GetComponentRequest)API until the desired conditionComponentDeployedis 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:
getComponentRequest- 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
-
waitUntilEnvironmentDeployed
default WaiterResponse<GetEnvironmentResponse> waitUntilEnvironmentDeployed(GetEnvironmentRequest getEnvironmentRequest)
PollsProtonClient.getEnvironment(software.amazon.awssdk.services.proton.model.GetEnvironmentRequest)API until the desired conditionEnvironmentDeployedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getEnvironmentRequest- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilEnvironmentDeployed
default WaiterResponse<GetEnvironmentResponse> waitUntilEnvironmentDeployed(Consumer<GetEnvironmentRequest.Builder> getEnvironmentRequest)
PollsProtonClient.getEnvironment(software.amazon.awssdk.services.proton.model.GetEnvironmentRequest)API until the desired conditionEnvironmentDeployedis 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
GetEnvironmentRequest.builder()- Parameters:
getEnvironmentRequest- 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
-
waitUntilEnvironmentDeployed
default WaiterResponse<GetEnvironmentResponse> waitUntilEnvironmentDeployed(GetEnvironmentRequest getEnvironmentRequest, WaiterOverrideConfiguration overrideConfig)
PollsProtonClient.getEnvironment(software.amazon.awssdk.services.proton.model.GetEnvironmentRequest)API until the desired conditionEnvironmentDeployedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getEnvironmentRequest- 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
-
waitUntilEnvironmentDeployed
default WaiterResponse<GetEnvironmentResponse> waitUntilEnvironmentDeployed(Consumer<GetEnvironmentRequest.Builder> getEnvironmentRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsProtonClient.getEnvironment(software.amazon.awssdk.services.proton.model.GetEnvironmentRequest)API until the desired conditionEnvironmentDeployedis 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:
getEnvironmentRequest- 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
-
waitUntilEnvironmentTemplateVersionRegistered
default WaiterResponse<GetEnvironmentTemplateVersionResponse> waitUntilEnvironmentTemplateVersionRegistered(GetEnvironmentTemplateVersionRequest getEnvironmentTemplateVersionRequest)
PollsProtonClient.getEnvironmentTemplateVersion(software.amazon.awssdk.services.proton.model.GetEnvironmentTemplateVersionRequest)API until the desired conditionEnvironmentTemplateVersionRegisteredis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getEnvironmentTemplateVersionRequest- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilEnvironmentTemplateVersionRegistered
default WaiterResponse<GetEnvironmentTemplateVersionResponse> waitUntilEnvironmentTemplateVersionRegistered(Consumer<GetEnvironmentTemplateVersionRequest.Builder> getEnvironmentTemplateVersionRequest)
PollsProtonClient.getEnvironmentTemplateVersion(software.amazon.awssdk.services.proton.model.GetEnvironmentTemplateVersionRequest)API until the desired conditionEnvironmentTemplateVersionRegisteredis 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
GetEnvironmentTemplateVersionRequest.builder()- Parameters:
getEnvironmentTemplateVersionRequest- 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
-
waitUntilEnvironmentTemplateVersionRegistered
default WaiterResponse<GetEnvironmentTemplateVersionResponse> waitUntilEnvironmentTemplateVersionRegistered(GetEnvironmentTemplateVersionRequest getEnvironmentTemplateVersionRequest, WaiterOverrideConfiguration overrideConfig)
PollsProtonClient.getEnvironmentTemplateVersion(software.amazon.awssdk.services.proton.model.GetEnvironmentTemplateVersionRequest)API until the desired conditionEnvironmentTemplateVersionRegisteredis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getEnvironmentTemplateVersionRequest- 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
-
waitUntilEnvironmentTemplateVersionRegistered
default WaiterResponse<GetEnvironmentTemplateVersionResponse> waitUntilEnvironmentTemplateVersionRegistered(Consumer<GetEnvironmentTemplateVersionRequest.Builder> getEnvironmentTemplateVersionRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsProtonClient.getEnvironmentTemplateVersion(software.amazon.awssdk.services.proton.model.GetEnvironmentTemplateVersionRequest)API until the desired conditionEnvironmentTemplateVersionRegisteredis 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:
getEnvironmentTemplateVersionRequest- 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
-
waitUntilServiceCreated
default WaiterResponse<GetServiceResponse> waitUntilServiceCreated(GetServiceRequest getServiceRequest)
PollsProtonClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)API until the desired conditionServiceCreatedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getServiceRequest- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilServiceCreated
default WaiterResponse<GetServiceResponse> waitUntilServiceCreated(Consumer<GetServiceRequest.Builder> getServiceRequest)
PollsProtonClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)API until the desired conditionServiceCreatedis 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
GetServiceRequest.builder()- Parameters:
getServiceRequest- 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
-
waitUntilServiceCreated
default WaiterResponse<GetServiceResponse> waitUntilServiceCreated(GetServiceRequest getServiceRequest, WaiterOverrideConfiguration overrideConfig)
PollsProtonClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)API until the desired conditionServiceCreatedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getServiceRequest- 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
-
waitUntilServiceCreated
default WaiterResponse<GetServiceResponse> waitUntilServiceCreated(Consumer<GetServiceRequest.Builder> getServiceRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsProtonClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)API until the desired conditionServiceCreatedis 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:
getServiceRequest- 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
-
waitUntilServiceDeleted
default WaiterResponse<GetServiceResponse> waitUntilServiceDeleted(GetServiceRequest getServiceRequest)
PollsProtonClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)API until the desired conditionServiceDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getServiceRequest- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilServiceDeleted
default WaiterResponse<GetServiceResponse> waitUntilServiceDeleted(Consumer<GetServiceRequest.Builder> getServiceRequest)
PollsProtonClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)API until the desired conditionServiceDeletedis 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
GetServiceRequest.builder()- Parameters:
getServiceRequest- 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
-
waitUntilServiceDeleted
default WaiterResponse<GetServiceResponse> waitUntilServiceDeleted(GetServiceRequest getServiceRequest, WaiterOverrideConfiguration overrideConfig)
PollsProtonClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)API until the desired conditionServiceDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getServiceRequest- 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
-
waitUntilServiceDeleted
default WaiterResponse<GetServiceResponse> waitUntilServiceDeleted(Consumer<GetServiceRequest.Builder> getServiceRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsProtonClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)API until the desired conditionServiceDeletedis 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:
getServiceRequest- 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
-
waitUntilServiceInstanceDeployed
default WaiterResponse<GetServiceInstanceResponse> waitUntilServiceInstanceDeployed(GetServiceInstanceRequest getServiceInstanceRequest)
PollsProtonClient.getServiceInstance(software.amazon.awssdk.services.proton.model.GetServiceInstanceRequest)API until the desired conditionServiceInstanceDeployedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getServiceInstanceRequest- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilServiceInstanceDeployed
default WaiterResponse<GetServiceInstanceResponse> waitUntilServiceInstanceDeployed(Consumer<GetServiceInstanceRequest.Builder> getServiceInstanceRequest)
PollsProtonClient.getServiceInstance(software.amazon.awssdk.services.proton.model.GetServiceInstanceRequest)API until the desired conditionServiceInstanceDeployedis 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
GetServiceInstanceRequest.builder()- Parameters:
getServiceInstanceRequest- 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
-
waitUntilServiceInstanceDeployed
default WaiterResponse<GetServiceInstanceResponse> waitUntilServiceInstanceDeployed(GetServiceInstanceRequest getServiceInstanceRequest, WaiterOverrideConfiguration overrideConfig)
PollsProtonClient.getServiceInstance(software.amazon.awssdk.services.proton.model.GetServiceInstanceRequest)API until the desired conditionServiceInstanceDeployedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getServiceInstanceRequest- 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
-
waitUntilServiceInstanceDeployed
default WaiterResponse<GetServiceInstanceResponse> waitUntilServiceInstanceDeployed(Consumer<GetServiceInstanceRequest.Builder> getServiceInstanceRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsProtonClient.getServiceInstance(software.amazon.awssdk.services.proton.model.GetServiceInstanceRequest)API until the desired conditionServiceInstanceDeployedis 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:
getServiceInstanceRequest- 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
-
waitUntilServicePipelineDeployed
default WaiterResponse<GetServiceResponse> waitUntilServicePipelineDeployed(GetServiceRequest getServiceRequest)
PollsProtonClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)API until the desired conditionServicePipelineDeployedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getServiceRequest- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilServicePipelineDeployed
default WaiterResponse<GetServiceResponse> waitUntilServicePipelineDeployed(Consumer<GetServiceRequest.Builder> getServiceRequest)
PollsProtonClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)API until the desired conditionServicePipelineDeployedis 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
GetServiceRequest.builder()- Parameters:
getServiceRequest- 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
-
waitUntilServicePipelineDeployed
default WaiterResponse<GetServiceResponse> waitUntilServicePipelineDeployed(GetServiceRequest getServiceRequest, WaiterOverrideConfiguration overrideConfig)
PollsProtonClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)API until the desired conditionServicePipelineDeployedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getServiceRequest- 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
-
waitUntilServicePipelineDeployed
default WaiterResponse<GetServiceResponse> waitUntilServicePipelineDeployed(Consumer<GetServiceRequest.Builder> getServiceRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsProtonClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)API until the desired conditionServicePipelineDeployedis 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:
getServiceRequest- 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
-
waitUntilServiceTemplateVersionRegistered
default WaiterResponse<GetServiceTemplateVersionResponse> waitUntilServiceTemplateVersionRegistered(GetServiceTemplateVersionRequest getServiceTemplateVersionRequest)
PollsProtonClient.getServiceTemplateVersion(software.amazon.awssdk.services.proton.model.GetServiceTemplateVersionRequest)API until the desired conditionServiceTemplateVersionRegisteredis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getServiceTemplateVersionRequest- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilServiceTemplateVersionRegistered
default WaiterResponse<GetServiceTemplateVersionResponse> waitUntilServiceTemplateVersionRegistered(Consumer<GetServiceTemplateVersionRequest.Builder> getServiceTemplateVersionRequest)
PollsProtonClient.getServiceTemplateVersion(software.amazon.awssdk.services.proton.model.GetServiceTemplateVersionRequest)API until the desired conditionServiceTemplateVersionRegisteredis 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
GetServiceTemplateVersionRequest.builder()- Parameters:
getServiceTemplateVersionRequest- 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
-
waitUntilServiceTemplateVersionRegistered
default WaiterResponse<GetServiceTemplateVersionResponse> waitUntilServiceTemplateVersionRegistered(GetServiceTemplateVersionRequest getServiceTemplateVersionRequest, WaiterOverrideConfiguration overrideConfig)
PollsProtonClient.getServiceTemplateVersion(software.amazon.awssdk.services.proton.model.GetServiceTemplateVersionRequest)API until the desired conditionServiceTemplateVersionRegisteredis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getServiceTemplateVersionRequest- 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
-
waitUntilServiceTemplateVersionRegistered
default WaiterResponse<GetServiceTemplateVersionResponse> waitUntilServiceTemplateVersionRegistered(Consumer<GetServiceTemplateVersionRequest.Builder> getServiceTemplateVersionRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsProtonClient.getServiceTemplateVersion(software.amazon.awssdk.services.proton.model.GetServiceTemplateVersionRequest)API until the desired conditionServiceTemplateVersionRegisteredis 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:
getServiceTemplateVersionRequest- 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
-
waitUntilServiceUpdated
default WaiterResponse<GetServiceResponse> waitUntilServiceUpdated(GetServiceRequest getServiceRequest)
PollsProtonClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)API until the desired conditionServiceUpdatedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getServiceRequest- the request to be used for polling- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilServiceUpdated
default WaiterResponse<GetServiceResponse> waitUntilServiceUpdated(Consumer<GetServiceRequest.Builder> getServiceRequest)
PollsProtonClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)API until the desired conditionServiceUpdatedis 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
GetServiceRequest.builder()- Parameters:
getServiceRequest- 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
-
waitUntilServiceUpdated
default WaiterResponse<GetServiceResponse> waitUntilServiceUpdated(GetServiceRequest getServiceRequest, WaiterOverrideConfiguration overrideConfig)
PollsProtonClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)API until the desired conditionServiceUpdatedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
getServiceRequest- 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
-
waitUntilServiceUpdated
default WaiterResponse<GetServiceResponse> waitUntilServiceUpdated(Consumer<GetServiceRequest.Builder> getServiceRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsProtonClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)API until the desired conditionServiceUpdatedis 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:
getServiceRequest- 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 ProtonWaiter.Builder builder()
Create a builder that can be used to configure and create aProtonWaiter.- Returns:
- a builder
-
create
static ProtonWaiter create()
Create an instance ofProtonWaiterwith the default configuration.A default
ProtonClientwill 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
ProtonWaiter
-
-