Interface MediaLiveWaiter
-
- All Superinterfaces:
AutoCloseable,SdkAutoCloseable
@Generated("software.amazon.awssdk:codegen") @ThreadSafe @Immutable public interface MediaLiveWaiter 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 interfaceMediaLiveWaiter.Builder
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
-
-
-
Method Detail
-
waitUntilChannelCreated
default WaiterResponse<DescribeChannelResponse> waitUntilChannelCreated(DescribeChannelRequest describeChannelRequest)
PollsMediaLiveClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilChannelCreated
default WaiterResponse<DescribeChannelResponse> waitUntilChannelCreated(Consumer<DescribeChannelRequest.Builder> describeChannelRequest)
PollsMediaLiveClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilChannelCreated
default WaiterResponse<DescribeChannelResponse> waitUntilChannelCreated(DescribeChannelRequest describeChannelRequest, WaiterOverrideConfiguration overrideConfig)
PollsMediaLiveClient.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 WaiterResponse<DescribeChannelResponse> waitUntilChannelCreated(Consumer<DescribeChannelRequest.Builder> describeChannelRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsMediaLiveClient.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 WaiterResponse<DescribeChannelResponse> waitUntilChannelDeleted(DescribeChannelRequest describeChannelRequest)
PollsMediaLiveClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilChannelDeleted
default WaiterResponse<DescribeChannelResponse> waitUntilChannelDeleted(Consumer<DescribeChannelRequest.Builder> describeChannelRequest)
PollsMediaLiveClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilChannelDeleted
default WaiterResponse<DescribeChannelResponse> waitUntilChannelDeleted(DescribeChannelRequest describeChannelRequest, WaiterOverrideConfiguration overrideConfig)
PollsMediaLiveClient.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 WaiterResponse<DescribeChannelResponse> waitUntilChannelDeleted(Consumer<DescribeChannelRequest.Builder> describeChannelRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsMediaLiveClient.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 WaiterResponse<DescribeChannelResponse> waitUntilChannelRunning(DescribeChannelRequest describeChannelRequest)
PollsMediaLiveClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilChannelRunning
default WaiterResponse<DescribeChannelResponse> waitUntilChannelRunning(Consumer<DescribeChannelRequest.Builder> describeChannelRequest)
PollsMediaLiveClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilChannelRunning
default WaiterResponse<DescribeChannelResponse> waitUntilChannelRunning(DescribeChannelRequest describeChannelRequest, WaiterOverrideConfiguration overrideConfig)
PollsMediaLiveClient.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 WaiterResponse<DescribeChannelResponse> waitUntilChannelRunning(Consumer<DescribeChannelRequest.Builder> describeChannelRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsMediaLiveClient.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 WaiterResponse<DescribeChannelResponse> waitUntilChannelStopped(DescribeChannelRequest describeChannelRequest)
PollsMediaLiveClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilChannelStopped
default WaiterResponse<DescribeChannelResponse> waitUntilChannelStopped(Consumer<DescribeChannelRequest.Builder> describeChannelRequest)
PollsMediaLiveClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilChannelStopped
default WaiterResponse<DescribeChannelResponse> waitUntilChannelStopped(DescribeChannelRequest describeChannelRequest, WaiterOverrideConfiguration overrideConfig)
PollsMediaLiveClient.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 WaiterResponse<DescribeChannelResponse> waitUntilChannelStopped(Consumer<DescribeChannelRequest.Builder> describeChannelRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsMediaLiveClient.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 WaiterResponse<DescribeInputResponse> waitUntilInputAttached(DescribeInputRequest describeInputRequest)
PollsMediaLiveClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilInputAttached
default WaiterResponse<DescribeInputResponse> waitUntilInputAttached(Consumer<DescribeInputRequest.Builder> describeInputRequest)
PollsMediaLiveClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilInputAttached
default WaiterResponse<DescribeInputResponse> waitUntilInputAttached(DescribeInputRequest describeInputRequest, WaiterOverrideConfiguration overrideConfig)
PollsMediaLiveClient.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 WaiterResponse<DescribeInputResponse> waitUntilInputAttached(Consumer<DescribeInputRequest.Builder> describeInputRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsMediaLiveClient.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 WaiterResponse<DescribeInputResponse> waitUntilInputDeleted(DescribeInputRequest describeInputRequest)
PollsMediaLiveClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilInputDeleted
default WaiterResponse<DescribeInputResponse> waitUntilInputDeleted(Consumer<DescribeInputRequest.Builder> describeInputRequest)
PollsMediaLiveClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilInputDeleted
default WaiterResponse<DescribeInputResponse> waitUntilInputDeleted(DescribeInputRequest describeInputRequest, WaiterOverrideConfiguration overrideConfig)
PollsMediaLiveClient.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 WaiterResponse<DescribeInputResponse> waitUntilInputDeleted(Consumer<DescribeInputRequest.Builder> describeInputRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsMediaLiveClient.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 WaiterResponse<DescribeInputResponse> waitUntilInputDetached(DescribeInputRequest describeInputRequest)
PollsMediaLiveClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilInputDetached
default WaiterResponse<DescribeInputResponse> waitUntilInputDetached(Consumer<DescribeInputRequest.Builder> describeInputRequest)
PollsMediaLiveClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilInputDetached
default WaiterResponse<DescribeInputResponse> waitUntilInputDetached(DescribeInputRequest describeInputRequest, WaiterOverrideConfiguration overrideConfig)
PollsMediaLiveClient.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 WaiterResponse<DescribeInputResponse> waitUntilInputDetached(Consumer<DescribeInputRequest.Builder> describeInputRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsMediaLiveClient.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 WaiterResponse<DescribeMultiplexResponse> waitUntilMultiplexCreated(DescribeMultiplexRequest describeMultiplexRequest)
PollsMediaLiveClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilMultiplexCreated
default WaiterResponse<DescribeMultiplexResponse> waitUntilMultiplexCreated(Consumer<DescribeMultiplexRequest.Builder> describeMultiplexRequest)
PollsMediaLiveClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilMultiplexCreated
default WaiterResponse<DescribeMultiplexResponse> waitUntilMultiplexCreated(DescribeMultiplexRequest describeMultiplexRequest, WaiterOverrideConfiguration overrideConfig)
PollsMediaLiveClient.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 WaiterResponse<DescribeMultiplexResponse> waitUntilMultiplexCreated(Consumer<DescribeMultiplexRequest.Builder> describeMultiplexRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsMediaLiveClient.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 WaiterResponse<DescribeMultiplexResponse> waitUntilMultiplexDeleted(DescribeMultiplexRequest describeMultiplexRequest)
PollsMediaLiveClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilMultiplexDeleted
default WaiterResponse<DescribeMultiplexResponse> waitUntilMultiplexDeleted(Consumer<DescribeMultiplexRequest.Builder> describeMultiplexRequest)
PollsMediaLiveClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilMultiplexDeleted
default WaiterResponse<DescribeMultiplexResponse> waitUntilMultiplexDeleted(DescribeMultiplexRequest describeMultiplexRequest, WaiterOverrideConfiguration overrideConfig)
PollsMediaLiveClient.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 WaiterResponse<DescribeMultiplexResponse> waitUntilMultiplexDeleted(Consumer<DescribeMultiplexRequest.Builder> describeMultiplexRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsMediaLiveClient.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 WaiterResponse<DescribeMultiplexResponse> waitUntilMultiplexRunning(DescribeMultiplexRequest describeMultiplexRequest)
PollsMediaLiveClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilMultiplexRunning
default WaiterResponse<DescribeMultiplexResponse> waitUntilMultiplexRunning(Consumer<DescribeMultiplexRequest.Builder> describeMultiplexRequest)
PollsMediaLiveClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilMultiplexRunning
default WaiterResponse<DescribeMultiplexResponse> waitUntilMultiplexRunning(DescribeMultiplexRequest describeMultiplexRequest, WaiterOverrideConfiguration overrideConfig)
PollsMediaLiveClient.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 WaiterResponse<DescribeMultiplexResponse> waitUntilMultiplexRunning(Consumer<DescribeMultiplexRequest.Builder> describeMultiplexRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsMediaLiveClient.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 WaiterResponse<DescribeMultiplexResponse> waitUntilMultiplexStopped(DescribeMultiplexRequest describeMultiplexRequest)
PollsMediaLiveClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilMultiplexStopped
default WaiterResponse<DescribeMultiplexResponse> waitUntilMultiplexStopped(Consumer<DescribeMultiplexRequest.Builder> describeMultiplexRequest)
PollsMediaLiveClient.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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilMultiplexStopped
default WaiterResponse<DescribeMultiplexResponse> waitUntilMultiplexStopped(DescribeMultiplexRequest describeMultiplexRequest, WaiterOverrideConfiguration overrideConfig)
PollsMediaLiveClient.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 WaiterResponse<DescribeMultiplexResponse> waitUntilMultiplexStopped(Consumer<DescribeMultiplexRequest.Builder> describeMultiplexRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig)
PollsMediaLiveClient.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 MediaLiveWaiter.Builder builder()
Create a builder that can be used to configure and create aMediaLiveWaiter.- Returns:
- a builder
-
create
static MediaLiveWaiter create()
Create an instance ofMediaLiveWaiterwith the default configuration.A default
MediaLiveClientwill 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
MediaLiveWaiter
-
-