@Generated(value="software.amazon.awssdk:codegen") public interface SsmWaiter extends SdkAutoCloseable
builder()
methodModifier and Type | Interface and Description |
---|---|
static interface |
SsmWaiter.Builder |
Modifier and Type | Method and Description |
---|---|
static SsmWaiter.Builder |
builder()
Create a builder that can be used to configure and create a
SsmWaiter . |
static SsmWaiter |
create()
Create an instance of
SsmWaiter with the default configuration. |
default WaiterResponse<GetCommandInvocationResponse> |
waitUntilCommandExecuted(Consumer<GetCommandInvocationRequest.Builder> getCommandInvocationRequest)
Polls
SsmClient.getCommandInvocation(software.amazon.awssdk.services.ssm.model.GetCommandInvocationRequest) API until the desired condition CommandExecuted is met, or
until it is determined that the resource will never enter into the desired state. |
default WaiterResponse<GetCommandInvocationResponse> |
waitUntilCommandExecuted(Consumer<GetCommandInvocationRequest.Builder> getCommandInvocationRequest,
Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
Polls
SsmClient.getCommandInvocation(software.amazon.awssdk.services.ssm.model.GetCommandInvocationRequest) API until the desired condition CommandExecuted is met, or
until it is determined that the resource will never enter into the desired state. |
default WaiterResponse<GetCommandInvocationResponse> |
waitUntilCommandExecuted(GetCommandInvocationRequest getCommandInvocationRequest)
Polls
SsmClient.getCommandInvocation(software.amazon.awssdk.services.ssm.model.GetCommandInvocationRequest) API until the desired condition CommandExecuted is met, or
until it is determined that the resource will never enter into the desired state |
default WaiterResponse<GetCommandInvocationResponse> |
waitUntilCommandExecuted(GetCommandInvocationRequest getCommandInvocationRequest,
WaiterOverrideConfiguration overrideConfig)
Polls
SsmClient.getCommandInvocation(software.amazon.awssdk.services.ssm.model.GetCommandInvocationRequest) API until the desired condition CommandExecuted is met, or
until it is determined that the resource will never enter into the desired state |
close
default WaiterResponse<GetCommandInvocationResponse> waitUntilCommandExecuted(GetCommandInvocationRequest getCommandInvocationRequest)
SsmClient.getCommandInvocation(software.amazon.awssdk.services.ssm.model.GetCommandInvocationRequest)
API until the desired condition CommandExecuted
is met, or
until it is determined that the resource will never enter into the desired stategetCommandInvocationRequest
- the request to be used for pollingdefault WaiterResponse<GetCommandInvocationResponse> waitUntilCommandExecuted(Consumer<GetCommandInvocationRequest.Builder> getCommandInvocationRequest)
SsmClient.getCommandInvocation(software.amazon.awssdk.services.ssm.model.GetCommandInvocationRequest)
API until the desired condition CommandExecuted
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 GetCommandInvocationRequest.builder()
getCommandInvocationRequest
- The consumer that will configure the request to be used for pollingdefault WaiterResponse<GetCommandInvocationResponse> waitUntilCommandExecuted(GetCommandInvocationRequest getCommandInvocationRequest, WaiterOverrideConfiguration overrideConfig)
SsmClient.getCommandInvocation(software.amazon.awssdk.services.ssm.model.GetCommandInvocationRequest)
API until the desired condition CommandExecuted
is met, or
until it is determined that the resource will never enter into the desired stategetCommandInvocationRequest
- The request to be used for pollingoverrideConfig
- Per request override configuration for waitersdefault WaiterResponse<GetCommandInvocationResponse> waitUntilCommandExecuted(Consumer<GetCommandInvocationRequest.Builder> getCommandInvocationRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
SsmClient.getCommandInvocation(software.amazon.awssdk.services.ssm.model.GetCommandInvocationRequest)
API until the desired condition CommandExecuted
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
getCommandInvocationRequest
- The consumer that will configure the request to be used for pollingoverrideConfig
- The consumer that will configure the per request override configuration for waitersstatic SsmWaiter.Builder builder()
SsmWaiter
.static SsmWaiter create()
SsmWaiter
with the default configuration.
A default SsmClient
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.
SsmWaiter
Copyright © 2020. All rights reserved.