@Generated(value="OracleSDKGenerator", comments="API Version: 20211101") public class MediaServicesWaiters extends Object
Collection of helper methods to produce Waiter
s for different
resources of MediaServices.
The default configuration used is defined by Waiters.Waiters
.
Constructor and Description |
---|
MediaServicesWaiters(ExecutorService executorService,
MediaServices client) |
public MediaServicesWaiters(ExecutorService executorService, MediaServices client)
public Waiter<GetMediaAssetRequest,GetMediaAssetResponse> forMediaAsset(GetMediaAssetRequest request, LifecycleState... targetStates)
Creates a new Waiter
using the default configuration.
request
- the request to sendtargetState
- the desired states to wait for. If multiple states are provided then the
waiter will return once the resource reaches any of the provided statescom.oracle.bmc.waiter.Waiter
instancepublic Waiter<GetMediaAssetRequest,GetMediaAssetResponse> forMediaAsset(GetMediaAssetRequest request, LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a new Waiter
using the provided configuration.
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usecom.oracle.bmc.waiter.Waiter
instancepublic Waiter<GetMediaAssetRequest,GetMediaAssetResponse> forMediaAsset(GetMediaAssetRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, LifecycleState... targetStates)
Creates a new Waiter
using the provided configuration.
request
- the request to sendterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource
reaches any of the provided statesWaiter
instancepublic Waiter<GetMediaAssetDistributionChannelAttachmentRequest,GetMediaAssetDistributionChannelAttachmentResponse> forMediaAssetDistributionChannelAttachment(GetMediaAssetDistributionChannelAttachmentRequest request, MediaAssetDistributionChannelAttachment.LifecycleState... targetStates)
Creates a new Waiter
using the default configuration.
request
- the request to sendtargetStates
- the desired states to wait for. If multiple states are provided then the
waiter will return once the resource reaches any of the provided statesWaiter
instancepublic Waiter<GetMediaAssetDistributionChannelAttachmentRequest,GetMediaAssetDistributionChannelAttachmentResponse> forMediaAssetDistributionChannelAttachment(GetMediaAssetDistributionChannelAttachmentRequest request, MediaAssetDistributionChannelAttachment.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a new Waiter
using the provided configuration.
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usecom.oracle.bmc.waiter.Waiter
instancepublic Waiter<GetMediaAssetDistributionChannelAttachmentRequest,GetMediaAssetDistributionChannelAttachmentResponse> forMediaAssetDistributionChannelAttachment(GetMediaAssetDistributionChannelAttachmentRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, MediaAssetDistributionChannelAttachment.LifecycleState... targetStates)
Creates a new Waiter
using the provided configuration.
request
- the request to sendterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource
reaches any of the provided statescom.oracle.bmc.waiter.Waiter
instancepublic Waiter<GetMediaWorkflowRequest,GetMediaWorkflowResponse> forMediaWorkflow(GetMediaWorkflowRequest request, MediaWorkflow.LifecycleState... targetStates)
Creates a new Waiter
using the default configuration.
request
- the request to sendtargetStates
- the desired states to wait for. If multiple states are provided then the
waiter will return once the resource reaches any of the provided statesWaiter
instancepublic Waiter<GetMediaWorkflowRequest,GetMediaWorkflowResponse> forMediaWorkflow(GetMediaWorkflowRequest request, MediaWorkflow.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a new Waiter
using the provided configuration.
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usecom.oracle.bmc.waiter.Waiter
instancepublic Waiter<GetMediaWorkflowRequest,GetMediaWorkflowResponse> forMediaWorkflow(GetMediaWorkflowRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, MediaWorkflow.LifecycleState... targetStates)
Creates a new Waiter
using the provided configuration.
request
- the request to sendterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource
reaches any of the provided statescom.oracle.bmc.waiter.Waiter
instancepublic Waiter<GetMediaWorkflowConfigurationRequest,GetMediaWorkflowConfigurationResponse> forMediaWorkflowConfiguration(GetMediaWorkflowConfigurationRequest request, MediaWorkflowConfiguration.LifecycleState... targetStates)
Creates a new Waiter
using the default configuration.
request
- the request to sendtargetStates
- the desired states to wait for. If multiple states are provided then the
waiter will return once the resource reaches any of the provided statesWaiter
instancepublic Waiter<GetMediaWorkflowConfigurationRequest,GetMediaWorkflowConfigurationResponse> forMediaWorkflowConfiguration(GetMediaWorkflowConfigurationRequest request, MediaWorkflowConfiguration.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a new Waiter
using the provided configuration.
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usecom.oracle.bmc.waiter.Waiter
instancepublic Waiter<GetMediaWorkflowConfigurationRequest,GetMediaWorkflowConfigurationResponse> forMediaWorkflowConfiguration(GetMediaWorkflowConfigurationRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, MediaWorkflowConfiguration.LifecycleState... targetStates)
Creates a new Waiter
using the provided configuration.
request
- the request to sendterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource
reaches any of the provided statescom.oracle.bmc.waiter.Waiter
instancepublic Waiter<GetMediaWorkflowJobRequest,GetMediaWorkflowJobResponse> forMediaWorkflowJob(GetMediaWorkflowJobRequest request, MediaWorkflowJob.LifecycleState... targetStates)
Creates a new Waiter
using the default configuration.
request
- the request to sendtargetStates
- the desired states to wait for. If multiple states are provided then the
waiter will return once the resource reaches any of the provided statesWaiter
instancepublic Waiter<GetMediaWorkflowJobRequest,GetMediaWorkflowJobResponse> forMediaWorkflowJob(GetMediaWorkflowJobRequest request, MediaWorkflowJob.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a new Waiter
using the provided configuration.
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usecom.oracle.bmc.waiter.Waiter
instancepublic Waiter<GetMediaWorkflowJobRequest,GetMediaWorkflowJobResponse> forMediaWorkflowJob(GetMediaWorkflowJobRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, MediaWorkflowJob.LifecycleState... targetStates)
Creates a new Waiter
using the provided configuration.
request
- the request to sendterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource
reaches any of the provided statescom.oracle.bmc.waiter.Waiter
instancepublic Waiter<GetStreamCdnConfigRequest,GetStreamCdnConfigResponse> forStreamCdnConfig(GetStreamCdnConfigRequest request, StreamCdnConfig.LifecycleState... targetStates)
Creates a new Waiter
using the default configuration.
request
- the request to sendtargetStates
- the desired states to wait for. If multiple states are provided then the
waiter will return once the resource reaches any of the provided statesWaiter
instancepublic Waiter<GetStreamCdnConfigRequest,GetStreamCdnConfigResponse> forStreamCdnConfig(GetStreamCdnConfigRequest request, StreamCdnConfig.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a new Waiter
using the provided configuration.
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usecom.oracle.bmc.waiter.Waiter
instancepublic Waiter<GetStreamCdnConfigRequest,GetStreamCdnConfigResponse> forStreamCdnConfig(GetStreamCdnConfigRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, StreamCdnConfig.LifecycleState... targetStates)
Creates a new Waiter
using the provided configuration.
request
- the request to sendterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource
reaches any of the provided statescom.oracle.bmc.waiter.Waiter
instancepublic Waiter<GetStreamDistributionChannelRequest,GetStreamDistributionChannelResponse> forStreamDistributionChannel(GetStreamDistributionChannelRequest request, StreamDistributionChannel.LifecycleState... targetStates)
Creates a new Waiter
using the default configuration.
request
- the request to sendtargetStates
- the desired states to wait for. If multiple states are provided then the
waiter will return once the resource reaches any of the provided statesWaiter
instancepublic Waiter<GetStreamDistributionChannelRequest,GetStreamDistributionChannelResponse> forStreamDistributionChannel(GetStreamDistributionChannelRequest request, StreamDistributionChannel.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a new Waiter
using the provided configuration.
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usecom.oracle.bmc.waiter.Waiter
instancepublic Waiter<GetStreamDistributionChannelRequest,GetStreamDistributionChannelResponse> forStreamDistributionChannel(GetStreamDistributionChannelRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, StreamDistributionChannel.LifecycleState... targetStates)
Creates a new Waiter
using the provided configuration.
request
- the request to sendterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource
reaches any of the provided statescom.oracle.bmc.waiter.Waiter
instancepublic Waiter<GetStreamPackagingConfigRequest,GetStreamPackagingConfigResponse> forStreamPackagingConfig(GetStreamPackagingConfigRequest request, StreamPackagingConfig.LifecycleState... targetStates)
Creates a new Waiter
using the default configuration.
request
- the request to sendtargetStates
- the desired states to wait for. If multiple states are provided then the
waiter will return once the resource reaches any of the provided statesWaiter
instancepublic Waiter<GetStreamPackagingConfigRequest,GetStreamPackagingConfigResponse> forStreamPackagingConfig(GetStreamPackagingConfigRequest request, StreamPackagingConfig.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a new Waiter
using the provided configuration.
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usecom.oracle.bmc.waiter.Waiter
instancepublic Waiter<GetStreamPackagingConfigRequest,GetStreamPackagingConfigResponse> forStreamPackagingConfig(GetStreamPackagingConfigRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, StreamPackagingConfig.LifecycleState... targetStates)
Creates a new Waiter
using the provided configuration.
request
- the request to sendterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource
reaches any of the provided statescom.oracle.bmc.waiter.Waiter
instanceCopyright © 2016–2024. All rights reserved.