Package com.oracle.bmc.mediaservices
Class MediaServicesWaiters
- java.lang.Object
-
- com.oracle.bmc.mediaservices.MediaServicesWaiters
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20211101") public class MediaServicesWaiters extends Object
Collection of helper methods to produceWaiter
s for different resources of MediaServices.The default configuration used is defined by
com.oracle.bmc.waiter.Waiters.Waiters#DEFAULT_POLLING_WAITER
.
-
-
Constructor Summary
Constructors Constructor Description MediaServicesWaiters(ExecutorService executorService, MediaServices client)
-
Method Summary
-
-
-
Constructor Detail
-
MediaServicesWaiters
public MediaServicesWaiters(ExecutorService executorService, MediaServices client)
-
-
Method Detail
-
forMediaAsset
public Waiter<GetMediaAssetRequest,GetMediaAssetResponse> forMediaAsset(GetMediaAssetRequest request, LifecycleState... targetStates)
Creates a newWaiter
using the default configuration.- Parameters:
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 states- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forMediaAsset
public Waiter<GetMediaAssetRequest,GetMediaAssetResponse> forMediaAsset(GetMediaAssetRequest request, LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forMediaAsset
public Waiter<GetMediaAssetRequest,GetMediaAssetResponse> forMediaAsset(GetMediaAssetRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, LifecycleState... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
- a new Waiter instance
-
forMediaAssetDistributionChannelAttachment
public Waiter<GetMediaAssetDistributionChannelAttachmentRequest,GetMediaAssetDistributionChannelAttachmentResponse> forMediaAssetDistributionChannelAttachment(GetMediaAssetDistributionChannelAttachmentRequest request, MediaAssetDistributionChannelAttachment.LifecycleState... targetStates)
Creates a newWaiter
using the default configuration.- Parameters:
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 states- Returns:
- a new Waiter instance
-
forMediaAssetDistributionChannelAttachment
public Waiter<GetMediaAssetDistributionChannelAttachmentRequest,GetMediaAssetDistributionChannelAttachmentResponse> forMediaAssetDistributionChannelAttachment(GetMediaAssetDistributionChannelAttachmentRequest request, MediaAssetDistributionChannelAttachment.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forMediaAssetDistributionChannelAttachment
public Waiter<GetMediaAssetDistributionChannelAttachmentRequest,GetMediaAssetDistributionChannelAttachmentResponse> forMediaAssetDistributionChannelAttachment(GetMediaAssetDistributionChannelAttachmentRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, MediaAssetDistributionChannelAttachment.LifecycleState... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forMediaWorkflow
public Waiter<GetMediaWorkflowRequest,GetMediaWorkflowResponse> forMediaWorkflow(GetMediaWorkflowRequest request, MediaWorkflow.LifecycleState... targetStates)
Creates a newWaiter
using the default configuration.- Parameters:
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 states- Returns:
- a new Waiter instance
-
forMediaWorkflow
public Waiter<GetMediaWorkflowRequest,GetMediaWorkflowResponse> forMediaWorkflow(GetMediaWorkflowRequest request, MediaWorkflow.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forMediaWorkflow
public Waiter<GetMediaWorkflowRequest,GetMediaWorkflowResponse> forMediaWorkflow(GetMediaWorkflowRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, MediaWorkflow.LifecycleState... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forMediaWorkflowConfiguration
public Waiter<GetMediaWorkflowConfigurationRequest,GetMediaWorkflowConfigurationResponse> forMediaWorkflowConfiguration(GetMediaWorkflowConfigurationRequest request, MediaWorkflowConfiguration.LifecycleState... targetStates)
Creates a newWaiter
using the default configuration.- Parameters:
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 states- Returns:
- a new Waiter instance
-
forMediaWorkflowConfiguration
public Waiter<GetMediaWorkflowConfigurationRequest,GetMediaWorkflowConfigurationResponse> forMediaWorkflowConfiguration(GetMediaWorkflowConfigurationRequest request, MediaWorkflowConfiguration.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forMediaWorkflowConfiguration
public Waiter<GetMediaWorkflowConfigurationRequest,GetMediaWorkflowConfigurationResponse> forMediaWorkflowConfiguration(GetMediaWorkflowConfigurationRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, MediaWorkflowConfiguration.LifecycleState... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forMediaWorkflowJob
public Waiter<GetMediaWorkflowJobRequest,GetMediaWorkflowJobResponse> forMediaWorkflowJob(GetMediaWorkflowJobRequest request, MediaWorkflowJob.LifecycleState... targetStates)
Creates a newWaiter
using the default configuration.- Parameters:
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 states- Returns:
- a new Waiter instance
-
forMediaWorkflowJob
public Waiter<GetMediaWorkflowJobRequest,GetMediaWorkflowJobResponse> forMediaWorkflowJob(GetMediaWorkflowJobRequest request, MediaWorkflowJob.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forMediaWorkflowJob
public Waiter<GetMediaWorkflowJobRequest,GetMediaWorkflowJobResponse> forMediaWorkflowJob(GetMediaWorkflowJobRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, MediaWorkflowJob.LifecycleState... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forStreamCdnConfig
public Waiter<GetStreamCdnConfigRequest,GetStreamCdnConfigResponse> forStreamCdnConfig(GetStreamCdnConfigRequest request, StreamCdnConfig.LifecycleState... targetStates)
Creates a newWaiter
using the default configuration.- Parameters:
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 states- Returns:
- a new Waiter instance
-
forStreamCdnConfig
public Waiter<GetStreamCdnConfigRequest,GetStreamCdnConfigResponse> forStreamCdnConfig(GetStreamCdnConfigRequest request, StreamCdnConfig.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forStreamCdnConfig
public Waiter<GetStreamCdnConfigRequest,GetStreamCdnConfigResponse> forStreamCdnConfig(GetStreamCdnConfigRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, StreamCdnConfig.LifecycleState... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forStreamDistributionChannel
public Waiter<GetStreamDistributionChannelRequest,GetStreamDistributionChannelResponse> forStreamDistributionChannel(GetStreamDistributionChannelRequest request, StreamDistributionChannel.LifecycleState... targetStates)
Creates a newWaiter
using the default configuration.- Parameters:
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 states- Returns:
- a new Waiter instance
-
forStreamDistributionChannel
public Waiter<GetStreamDistributionChannelRequest,GetStreamDistributionChannelResponse> forStreamDistributionChannel(GetStreamDistributionChannelRequest request, StreamDistributionChannel.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forStreamDistributionChannel
public Waiter<GetStreamDistributionChannelRequest,GetStreamDistributionChannelResponse> forStreamDistributionChannel(GetStreamDistributionChannelRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, StreamDistributionChannel.LifecycleState... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forStreamPackagingConfig
public Waiter<GetStreamPackagingConfigRequest,GetStreamPackagingConfigResponse> forStreamPackagingConfig(GetStreamPackagingConfigRequest request, StreamPackagingConfig.LifecycleState... targetStates)
Creates a newWaiter
using the default configuration.- Parameters:
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 states- Returns:
- a new Waiter instance
-
forStreamPackagingConfig
public Waiter<GetStreamPackagingConfigRequest,GetStreamPackagingConfigResponse> forStreamPackagingConfig(GetStreamPackagingConfigRequest request, StreamPackagingConfig.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forStreamPackagingConfig
public Waiter<GetStreamPackagingConfigRequest,GetStreamPackagingConfigResponse> forStreamPackagingConfig(GetStreamPackagingConfigRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, StreamPackagingConfig.LifecycleState... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
-