@Generated(value="software.amazon.awssdk:codegen") public interface CodeDeployWaiter extends SdkAutoCloseable
builder() method| Modifier and Type | Interface and Description |
|---|---|
static interface |
CodeDeployWaiter.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CodeDeployWaiter.Builder |
builder()
Create a builder that can be used to configure and create a
CodeDeployWaiter. |
static CodeDeployWaiter |
create()
Create an instance of
CodeDeployWaiter with the default configuration. |
default WaiterResponse<GetDeploymentResponse> |
waitUntilDeploymentSuccessful(Consumer<GetDeploymentRequest.Builder> getDeploymentRequest)
Polls
CodeDeployClient.getDeployment(software.amazon.awssdk.services.codedeploy.model.GetDeploymentRequest) API until the desired condition DeploymentSuccessful is met,
or until it is determined that the resource will never enter into the desired state. |
default WaiterResponse<GetDeploymentResponse> |
waitUntilDeploymentSuccessful(Consumer<GetDeploymentRequest.Builder> getDeploymentRequest,
Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
Polls
CodeDeployClient.getDeployment(software.amazon.awssdk.services.codedeploy.model.GetDeploymentRequest) API until the desired condition DeploymentSuccessful is met,
or until it is determined that the resource will never enter into the desired state. |
default WaiterResponse<GetDeploymentResponse> |
waitUntilDeploymentSuccessful(GetDeploymentRequest getDeploymentRequest)
Polls
CodeDeployClient.getDeployment(software.amazon.awssdk.services.codedeploy.model.GetDeploymentRequest) API until the desired condition DeploymentSuccessful is met,
or until it is determined that the resource will never enter into the desired state |
default WaiterResponse<GetDeploymentResponse> |
waitUntilDeploymentSuccessful(GetDeploymentRequest getDeploymentRequest,
WaiterOverrideConfiguration overrideConfig)
Polls
CodeDeployClient.getDeployment(software.amazon.awssdk.services.codedeploy.model.GetDeploymentRequest) API until the desired condition DeploymentSuccessful is met,
or until it is determined that the resource will never enter into the desired state |
closedefault WaiterResponse<GetDeploymentResponse> waitUntilDeploymentSuccessful(GetDeploymentRequest getDeploymentRequest)
CodeDeployClient.getDeployment(software.amazon.awssdk.services.codedeploy.model.GetDeploymentRequest) API until the desired condition DeploymentSuccessful is met,
or until it is determined that the resource will never enter into the desired stategetDeploymentRequest - the request to be used for pollingdefault WaiterResponse<GetDeploymentResponse> waitUntilDeploymentSuccessful(Consumer<GetDeploymentRequest.Builder> getDeploymentRequest)
CodeDeployClient.getDeployment(software.amazon.awssdk.services.codedeploy.model.GetDeploymentRequest) API until the desired condition DeploymentSuccessful 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 GetDeploymentRequest.builder()
getDeploymentRequest - The consumer that will configure the request to be used for pollingdefault WaiterResponse<GetDeploymentResponse> waitUntilDeploymentSuccessful(GetDeploymentRequest getDeploymentRequest, WaiterOverrideConfiguration overrideConfig)
CodeDeployClient.getDeployment(software.amazon.awssdk.services.codedeploy.model.GetDeploymentRequest) API until the desired condition DeploymentSuccessful is met,
or until it is determined that the resource will never enter into the desired stategetDeploymentRequest - The request to be used for pollingoverrideConfig - Per request override configuration for waitersdefault WaiterResponse<GetDeploymentResponse> waitUntilDeploymentSuccessful(Consumer<GetDeploymentRequest.Builder> getDeploymentRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
CodeDeployClient.getDeployment(software.amazon.awssdk.services.codedeploy.model.GetDeploymentRequest) API until the desired condition DeploymentSuccessful 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
getDeploymentRequest - The consumer that will configure the request to be used for pollingoverrideConfig - The consumer that will configure the per request override configuration for waitersstatic CodeDeployWaiter.Builder builder()
CodeDeployWaiter.static CodeDeployWaiter create()
CodeDeployWaiter with the default configuration.
A default CodeDeployClient 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.
CodeDeployWaiterCopyright © 2021. All rights reserved.