Interface MediaLiveAsyncWaiter
-
- All Superinterfaces:
AutoCloseable,SdkAutoCloseable
@Generated("software.amazon.awssdk:codegen") @ThreadSafe @Immutable public interface MediaLiveAsyncWaiter 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 interfaceMediaLiveAsyncWaiter.Builder
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
-
-
-
Method Detail
-
waitUntilChannelCreated
default CompletableFuture<WaiterResponse<DescribeChannelResponse>> waitUntilChannelCreated(DescribeChannelRequest describeChannelRequest)
PollsMediaLiveAsyncClient.describeChannel(software.amazon.awssdk.services.medialive.model.DescribeChannelRequest)API until the desired conditionChannelCreatedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeChannelRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilChannelCreated
default CompletableFuture<WaiterResponse<DescribeChannelResponse>> waitUntilChannelCreated(Consumer<DescribeChannelRequest.Builder> describeChannelRequest)
PollsMediaLiveAsyncClient.describeChannel(software.amazon.awssdk.services.medialive.model.DescribeChannelRequest)API until the desired conditionChannelCreatedis 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
DescribeChannelRequest.builder()- Parameters:
describeChannelRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilChannelCreated
default CompletableFuture<WaiterResponse<DescribeChannelResponse>> waitUntilChannelCreated(DescribeChannelRequest describeChannelRequest, WaiterOverrideConfiguration overrideConfig)
PollsMediaLiveAsyncClient.describeChannel(software.amazon.awssdk.services.medialive.model.DescribeChannelRequest)API until the desired conditionChannelCreatedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeChannelRequest- 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
-
waitUntilChannelCreated
default CompletableFuture<WaiterResponse<DescribeChannelResponse>> waitUntilChannelCreated(Consumer<DescribeChannelRequest.Builder> describeChannelRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsMediaLiveAsyncClient.describeChannel(software.amazon.awssdk.services.medialive.model.DescribeChannelRequest)API until the desired conditionChannelCreatedis 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:
describeChannelRequest- 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
-
waitUntilChannelDeleted
default CompletableFuture<WaiterResponse<DescribeChannelResponse>> waitUntilChannelDeleted(DescribeChannelRequest describeChannelRequest)
PollsMediaLiveAsyncClient.describeChannel(software.amazon.awssdk.services.medialive.model.DescribeChannelRequest)API until the desired conditionChannelDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeChannelRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilChannelDeleted
default CompletableFuture<WaiterResponse<DescribeChannelResponse>> waitUntilChannelDeleted(Consumer<DescribeChannelRequest.Builder> describeChannelRequest)
PollsMediaLiveAsyncClient.describeChannel(software.amazon.awssdk.services.medialive.model.DescribeChannelRequest)API until the desired conditionChannelDeletedis 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
DescribeChannelRequest.builder()- Parameters:
describeChannelRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilChannelDeleted
default CompletableFuture<WaiterResponse<DescribeChannelResponse>> waitUntilChannelDeleted(DescribeChannelRequest describeChannelRequest, WaiterOverrideConfiguration overrideConfig)
PollsMediaLiveAsyncClient.describeChannel(software.amazon.awssdk.services.medialive.model.DescribeChannelRequest)API until the desired conditionChannelDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeChannelRequest- 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
-
waitUntilChannelDeleted
default CompletableFuture<WaiterResponse<DescribeChannelResponse>> waitUntilChannelDeleted(Consumer<DescribeChannelRequest.Builder> describeChannelRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsMediaLiveAsyncClient.describeChannel(software.amazon.awssdk.services.medialive.model.DescribeChannelRequest)API until the desired conditionChannelDeletedis 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:
describeChannelRequest- 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
-
waitUntilChannelRunning
default CompletableFuture<WaiterResponse<DescribeChannelResponse>> waitUntilChannelRunning(DescribeChannelRequest describeChannelRequest)
PollsMediaLiveAsyncClient.describeChannel(software.amazon.awssdk.services.medialive.model.DescribeChannelRequest)API until the desired conditionChannelRunningis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeChannelRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilChannelRunning
default CompletableFuture<WaiterResponse<DescribeChannelResponse>> waitUntilChannelRunning(Consumer<DescribeChannelRequest.Builder> describeChannelRequest)
PollsMediaLiveAsyncClient.describeChannel(software.amazon.awssdk.services.medialive.model.DescribeChannelRequest)API until the desired conditionChannelRunningis 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
DescribeChannelRequest.builder()- Parameters:
describeChannelRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilChannelRunning
default CompletableFuture<WaiterResponse<DescribeChannelResponse>> waitUntilChannelRunning(DescribeChannelRequest describeChannelRequest, WaiterOverrideConfiguration overrideConfig)
PollsMediaLiveAsyncClient.describeChannel(software.amazon.awssdk.services.medialive.model.DescribeChannelRequest)API until the desired conditionChannelRunningis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeChannelRequest- 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
-
waitUntilChannelRunning
default CompletableFuture<WaiterResponse<DescribeChannelResponse>> waitUntilChannelRunning(Consumer<DescribeChannelRequest.Builder> describeChannelRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsMediaLiveAsyncClient.describeChannel(software.amazon.awssdk.services.medialive.model.DescribeChannelRequest)API until the desired conditionChannelRunningis 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:
describeChannelRequest- 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
-
waitUntilChannelStopped
default CompletableFuture<WaiterResponse<DescribeChannelResponse>> waitUntilChannelStopped(DescribeChannelRequest describeChannelRequest)
PollsMediaLiveAsyncClient.describeChannel(software.amazon.awssdk.services.medialive.model.DescribeChannelRequest)API until the desired conditionChannelStoppedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeChannelRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilChannelStopped
default CompletableFuture<WaiterResponse<DescribeChannelResponse>> waitUntilChannelStopped(Consumer<DescribeChannelRequest.Builder> describeChannelRequest)
PollsMediaLiveAsyncClient.describeChannel(software.amazon.awssdk.services.medialive.model.DescribeChannelRequest)API until the desired conditionChannelStoppedis 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
DescribeChannelRequest.builder()- Parameters:
describeChannelRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilChannelStopped
default CompletableFuture<WaiterResponse<DescribeChannelResponse>> waitUntilChannelStopped(DescribeChannelRequest describeChannelRequest, WaiterOverrideConfiguration overrideConfig)
PollsMediaLiveAsyncClient.describeChannel(software.amazon.awssdk.services.medialive.model.DescribeChannelRequest)API until the desired conditionChannelStoppedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeChannelRequest- 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
-
waitUntilChannelStopped
default CompletableFuture<WaiterResponse<DescribeChannelResponse>> waitUntilChannelStopped(Consumer<DescribeChannelRequest.Builder> describeChannelRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsMediaLiveAsyncClient.describeChannel(software.amazon.awssdk.services.medialive.model.DescribeChannelRequest)API until the desired conditionChannelStoppedis 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:
describeChannelRequest- 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
-
waitUntilInputAttached
default CompletableFuture<WaiterResponse<DescribeInputResponse>> waitUntilInputAttached(DescribeInputRequest describeInputRequest)
PollsMediaLiveAsyncClient.describeInput(software.amazon.awssdk.services.medialive.model.DescribeInputRequest)API until the desired conditionInputAttachedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeInputRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilInputAttached
default CompletableFuture<WaiterResponse<DescribeInputResponse>> waitUntilInputAttached(Consumer<DescribeInputRequest.Builder> describeInputRequest)
PollsMediaLiveAsyncClient.describeInput(software.amazon.awssdk.services.medialive.model.DescribeInputRequest)API until the desired conditionInputAttachedis 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
DescribeInputRequest.builder()- Parameters:
describeInputRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilInputAttached
default CompletableFuture<WaiterResponse<DescribeInputResponse>> waitUntilInputAttached(DescribeInputRequest describeInputRequest, WaiterOverrideConfiguration overrideConfig)
PollsMediaLiveAsyncClient.describeInput(software.amazon.awssdk.services.medialive.model.DescribeInputRequest)API until the desired conditionInputAttachedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeInputRequest- 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
-
waitUntilInputAttached
default CompletableFuture<WaiterResponse<DescribeInputResponse>> waitUntilInputAttached(Consumer<DescribeInputRequest.Builder> describeInputRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsMediaLiveAsyncClient.describeInput(software.amazon.awssdk.services.medialive.model.DescribeInputRequest)API until the desired conditionInputAttachedis 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:
describeInputRequest- 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
-
waitUntilInputDeleted
default CompletableFuture<WaiterResponse<DescribeInputResponse>> waitUntilInputDeleted(DescribeInputRequest describeInputRequest)
PollsMediaLiveAsyncClient.describeInput(software.amazon.awssdk.services.medialive.model.DescribeInputRequest)API until the desired conditionInputDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeInputRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilInputDeleted
default CompletableFuture<WaiterResponse<DescribeInputResponse>> waitUntilInputDeleted(Consumer<DescribeInputRequest.Builder> describeInputRequest)
PollsMediaLiveAsyncClient.describeInput(software.amazon.awssdk.services.medialive.model.DescribeInputRequest)API until the desired conditionInputDeletedis 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
DescribeInputRequest.builder()- Parameters:
describeInputRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilInputDeleted
default CompletableFuture<WaiterResponse<DescribeInputResponse>> waitUntilInputDeleted(DescribeInputRequest describeInputRequest, WaiterOverrideConfiguration overrideConfig)
PollsMediaLiveAsyncClient.describeInput(software.amazon.awssdk.services.medialive.model.DescribeInputRequest)API until the desired conditionInputDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeInputRequest- 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
-
waitUntilInputDeleted
default CompletableFuture<WaiterResponse<DescribeInputResponse>> waitUntilInputDeleted(Consumer<DescribeInputRequest.Builder> describeInputRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsMediaLiveAsyncClient.describeInput(software.amazon.awssdk.services.medialive.model.DescribeInputRequest)API until the desired conditionInputDeletedis 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:
describeInputRequest- 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
-
waitUntilInputDetached
default CompletableFuture<WaiterResponse<DescribeInputResponse>> waitUntilInputDetached(DescribeInputRequest describeInputRequest)
PollsMediaLiveAsyncClient.describeInput(software.amazon.awssdk.services.medialive.model.DescribeInputRequest)API until the desired conditionInputDetachedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeInputRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilInputDetached
default CompletableFuture<WaiterResponse<DescribeInputResponse>> waitUntilInputDetached(Consumer<DescribeInputRequest.Builder> describeInputRequest)
PollsMediaLiveAsyncClient.describeInput(software.amazon.awssdk.services.medialive.model.DescribeInputRequest)API until the desired conditionInputDetachedis 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
DescribeInputRequest.builder()- Parameters:
describeInputRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilInputDetached
default CompletableFuture<WaiterResponse<DescribeInputResponse>> waitUntilInputDetached(DescribeInputRequest describeInputRequest, WaiterOverrideConfiguration overrideConfig)
PollsMediaLiveAsyncClient.describeInput(software.amazon.awssdk.services.medialive.model.DescribeInputRequest)API until the desired conditionInputDetachedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeInputRequest- 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
-
waitUntilInputDetached
default CompletableFuture<WaiterResponse<DescribeInputResponse>> waitUntilInputDetached(Consumer<DescribeInputRequest.Builder> describeInputRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsMediaLiveAsyncClient.describeInput(software.amazon.awssdk.services.medialive.model.DescribeInputRequest)API until the desired conditionInputDetachedis 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:
describeInputRequest- 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
-
waitUntilMultiplexCreated
default CompletableFuture<WaiterResponse<DescribeMultiplexResponse>> waitUntilMultiplexCreated(DescribeMultiplexRequest describeMultiplexRequest)
PollsMediaLiveAsyncClient.describeMultiplex(software.amazon.awssdk.services.medialive.model.DescribeMultiplexRequest)API until the desired conditionMultiplexCreatedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeMultiplexRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilMultiplexCreated
default CompletableFuture<WaiterResponse<DescribeMultiplexResponse>> waitUntilMultiplexCreated(Consumer<DescribeMultiplexRequest.Builder> describeMultiplexRequest)
PollsMediaLiveAsyncClient.describeMultiplex(software.amazon.awssdk.services.medialive.model.DescribeMultiplexRequest)API until the desired conditionMultiplexCreatedis 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
DescribeMultiplexRequest.builder()- Parameters:
describeMultiplexRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilMultiplexCreated
default CompletableFuture<WaiterResponse<DescribeMultiplexResponse>> waitUntilMultiplexCreated(DescribeMultiplexRequest describeMultiplexRequest, WaiterOverrideConfiguration overrideConfig)
PollsMediaLiveAsyncClient.describeMultiplex(software.amazon.awssdk.services.medialive.model.DescribeMultiplexRequest)API until the desired conditionMultiplexCreatedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeMultiplexRequest- 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
-
waitUntilMultiplexCreated
default CompletableFuture<WaiterResponse<DescribeMultiplexResponse>> waitUntilMultiplexCreated(Consumer<DescribeMultiplexRequest.Builder> describeMultiplexRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsMediaLiveAsyncClient.describeMultiplex(software.amazon.awssdk.services.medialive.model.DescribeMultiplexRequest)API until the desired conditionMultiplexCreatedis 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:
describeMultiplexRequest- 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
-
waitUntilMultiplexDeleted
default CompletableFuture<WaiterResponse<DescribeMultiplexResponse>> waitUntilMultiplexDeleted(DescribeMultiplexRequest describeMultiplexRequest)
PollsMediaLiveAsyncClient.describeMultiplex(software.amazon.awssdk.services.medialive.model.DescribeMultiplexRequest)API until the desired conditionMultiplexDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeMultiplexRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilMultiplexDeleted
default CompletableFuture<WaiterResponse<DescribeMultiplexResponse>> waitUntilMultiplexDeleted(Consumer<DescribeMultiplexRequest.Builder> describeMultiplexRequest)
PollsMediaLiveAsyncClient.describeMultiplex(software.amazon.awssdk.services.medialive.model.DescribeMultiplexRequest)API until the desired conditionMultiplexDeletedis 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
DescribeMultiplexRequest.builder()- Parameters:
describeMultiplexRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilMultiplexDeleted
default CompletableFuture<WaiterResponse<DescribeMultiplexResponse>> waitUntilMultiplexDeleted(DescribeMultiplexRequest describeMultiplexRequest, WaiterOverrideConfiguration overrideConfig)
PollsMediaLiveAsyncClient.describeMultiplex(software.amazon.awssdk.services.medialive.model.DescribeMultiplexRequest)API until the desired conditionMultiplexDeletedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeMultiplexRequest- 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
-
waitUntilMultiplexDeleted
default CompletableFuture<WaiterResponse<DescribeMultiplexResponse>> waitUntilMultiplexDeleted(Consumer<DescribeMultiplexRequest.Builder> describeMultiplexRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsMediaLiveAsyncClient.describeMultiplex(software.amazon.awssdk.services.medialive.model.DescribeMultiplexRequest)API until the desired conditionMultiplexDeletedis 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:
describeMultiplexRequest- 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
-
waitUntilMultiplexRunning
default CompletableFuture<WaiterResponse<DescribeMultiplexResponse>> waitUntilMultiplexRunning(DescribeMultiplexRequest describeMultiplexRequest)
PollsMediaLiveAsyncClient.describeMultiplex(software.amazon.awssdk.services.medialive.model.DescribeMultiplexRequest)API until the desired conditionMultiplexRunningis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeMultiplexRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilMultiplexRunning
default CompletableFuture<WaiterResponse<DescribeMultiplexResponse>> waitUntilMultiplexRunning(Consumer<DescribeMultiplexRequest.Builder> describeMultiplexRequest)
PollsMediaLiveAsyncClient.describeMultiplex(software.amazon.awssdk.services.medialive.model.DescribeMultiplexRequest)API until the desired conditionMultiplexRunningis 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
DescribeMultiplexRequest.builder()- Parameters:
describeMultiplexRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilMultiplexRunning
default CompletableFuture<WaiterResponse<DescribeMultiplexResponse>> waitUntilMultiplexRunning(DescribeMultiplexRequest describeMultiplexRequest, WaiterOverrideConfiguration overrideConfig)
PollsMediaLiveAsyncClient.describeMultiplex(software.amazon.awssdk.services.medialive.model.DescribeMultiplexRequest)API until the desired conditionMultiplexRunningis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeMultiplexRequest- 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
-
waitUntilMultiplexRunning
default CompletableFuture<WaiterResponse<DescribeMultiplexResponse>> waitUntilMultiplexRunning(Consumer<DescribeMultiplexRequest.Builder> describeMultiplexRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsMediaLiveAsyncClient.describeMultiplex(software.amazon.awssdk.services.medialive.model.DescribeMultiplexRequest)API until the desired conditionMultiplexRunningis 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:
describeMultiplexRequest- 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
-
waitUntilMultiplexStopped
default CompletableFuture<WaiterResponse<DescribeMultiplexResponse>> waitUntilMultiplexStopped(DescribeMultiplexRequest describeMultiplexRequest)
PollsMediaLiveAsyncClient.describeMultiplex(software.amazon.awssdk.services.medialive.model.DescribeMultiplexRequest)API until the desired conditionMultiplexStoppedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeMultiplexRequest- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilMultiplexStopped
default CompletableFuture<WaiterResponse<DescribeMultiplexResponse>> waitUntilMultiplexStopped(Consumer<DescribeMultiplexRequest.Builder> describeMultiplexRequest)
PollsMediaLiveAsyncClient.describeMultiplex(software.amazon.awssdk.services.medialive.model.DescribeMultiplexRequest)API until the desired conditionMultiplexStoppedis 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
DescribeMultiplexRequest.builder()- Parameters:
describeMultiplexRequest- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilMultiplexStopped
default CompletableFuture<WaiterResponse<DescribeMultiplexResponse>> waitUntilMultiplexStopped(DescribeMultiplexRequest describeMultiplexRequest, WaiterOverrideConfiguration overrideConfig)
PollsMediaLiveAsyncClient.describeMultiplex(software.amazon.awssdk.services.medialive.model.DescribeMultiplexRequest)API until the desired conditionMultiplexStoppedis met, or until it is determined that the resource will never enter into the desired state- Parameters:
describeMultiplexRequest- 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
-
waitUntilMultiplexStopped
default CompletableFuture<WaiterResponse<DescribeMultiplexResponse>> waitUntilMultiplexStopped(Consumer<DescribeMultiplexRequest.Builder> describeMultiplexRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsMediaLiveAsyncClient.describeMultiplex(software.amazon.awssdk.services.medialive.model.DescribeMultiplexRequest)API until the desired conditionMultiplexStoppedis 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:
describeMultiplexRequest- 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 MediaLiveAsyncWaiter.Builder builder()
Create a builder that can be used to configure and create aMediaLiveAsyncWaiter.- Returns:
- a builder
-
create
static MediaLiveAsyncWaiter create()
Create an instance ofMediaLiveAsyncWaiterwith the default configuration.A default
MediaLiveAsyncClientwill 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
MediaLiveAsyncWaiter
-
-