Class MediaServicesAsyncClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseAsyncClient
-
- com.oracle.bmc.mediaservices.MediaServicesAsyncClient
-
- All Implemented Interfaces:
MediaServicesAsync,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20211101") public class MediaServicesAsyncClient extends BaseAsyncClient implements MediaServicesAsyncAsync client implementation for MediaServices service.
There are two ways to use async client: 1. Use AsyncHandler: using AsyncHandler, if the response to the call is anInputStream, like getObject Api in object storage service, developers need to process the stream in AsyncHandler, and not anywhere else, because the stream will be closed right after the AsyncHandler is invoked.
2. Use Java Future: using Java Future, developers need to close the stream after they are done with the Java Future.
Accessing the result should be done in a mutually exclusive manner, either through the Future or the AsyncHandler, but not both. If the Future is used, the caller should pass in null as the AsyncHandler. If the AsyncHandler is used, it is still safe to use the Future to determine whether or not the request was completed via Future.isDone/isCancelled.
Please refer to https://github.com/oracle/oci-java-sdk/blob/master/bmc-examples/src/main/java/ResteasyClientWithObjectStorageExample.java
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMediaServicesAsyncClient.BuilderBuilder class for this client.
-
Field Summary
Fields Modifier and Type Field Description StringclientCommonLibraryVersionCompatible SDK version, provided by the codegen.Optional<String>minimumClientCommonLibraryVersionFromClientMinimum compatible SDK version, maybe provided by the codegen.static ServiceSERVICEService instance for MediaServices.
-
Constructor Summary
Constructors Constructor Description MediaServicesAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.MediaServicesAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.MediaServicesAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.MediaServicesAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.MediaServicesAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.MediaServicesAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.MediaServicesAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.AutoCloseable
close
-
Methods inherited from interface com.oracle.bmc.mediaservices.MediaServicesAsync
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
MediaServicesAsyncClient
@Deprecated public MediaServicesAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeMediaServicesAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
-
MediaServicesAsyncClient
@Deprecated public MediaServicesAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeMediaServicesAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configuration
-
MediaServicesAsyncClient
@Deprecated public MediaServicesAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeMediaServicesAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
MediaServicesAsyncClient
@Deprecated public MediaServicesAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeMediaServicesAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactory
-
MediaServicesAsyncClient
@Deprecated public MediaServicesAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeMediaServicesAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfigurators
-
MediaServicesAsyncClient
@Deprecated public MediaServicesAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeMediaServicesAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)
-
MediaServicesAsyncClient
@Deprecated public MediaServicesAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeMediaServicesAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)signingStrategyRequestSignerFactories-ClientBuilderBase.signingStrategyRequestSignerFactories
-
-
Method Detail
-
builder
public static MediaServicesAsyncClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface:MediaServicesAsyncSets the region to call (ex, Region.US_PHOENIX_1).Note, this will call
setEndpointafter resolving the endpoint. If the service is not available in this region, however, an IllegalArgumentException will be raised.- Specified by:
setRegionin interfaceMediaServicesAsync- Parameters:
region- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:MediaServicesAsyncSets the region to call (ex, ‘us-phoenix-1’).Note, this will first try to map the region ID to a known Region and call
setRegion.If no known Region could be determined, it will create an endpoint based on the default endpoint format (
Region.formatDefaultRegionEndpoint(Service, String)and then callsetEndpoint.- Specified by:
setRegionin interfaceMediaServicesAsync- Parameters:
regionId- The public region ID.
-
addMediaAssetLock
public Future<AddMediaAssetLockResponse> addMediaAssetLock(AddMediaAssetLockRequest request, AsyncHandler<AddMediaAssetLockRequest,AddMediaAssetLockResponse> handler)
Description copied from interface:MediaServicesAsyncAdd a lock to an MediaAsset.- Specified by:
addMediaAssetLockin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
addMediaWorkflowConfigurationLock
public Future<AddMediaWorkflowConfigurationLockResponse> addMediaWorkflowConfigurationLock(AddMediaWorkflowConfigurationLockRequest request, AsyncHandler<AddMediaWorkflowConfigurationLockRequest,AddMediaWorkflowConfigurationLockResponse> handler)
Description copied from interface:MediaServicesAsyncAdd a lock to a MediaWorkflowConfiguration.- Specified by:
addMediaWorkflowConfigurationLockin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
addMediaWorkflowJobLock
public Future<AddMediaWorkflowJobLockResponse> addMediaWorkflowJobLock(AddMediaWorkflowJobLockRequest request, AsyncHandler<AddMediaWorkflowJobLockRequest,AddMediaWorkflowJobLockResponse> handler)
Description copied from interface:MediaServicesAsyncAdd a lock to a MediaWorkflowJob.- Specified by:
addMediaWorkflowJobLockin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
addMediaWorkflowLock
public Future<AddMediaWorkflowLockResponse> addMediaWorkflowLock(AddMediaWorkflowLockRequest request, AsyncHandler<AddMediaWorkflowLockRequest,AddMediaWorkflowLockResponse> handler)
Description copied from interface:MediaServicesAsyncAdd a lock to a MediaWorkflow.- Specified by:
addMediaWorkflowLockin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
addStreamCdnConfigLock
public Future<AddStreamCdnConfigLockResponse> addStreamCdnConfigLock(AddStreamCdnConfigLockRequest request, AsyncHandler<AddStreamCdnConfigLockRequest,AddStreamCdnConfigLockResponse> handler)
Description copied from interface:MediaServicesAsyncAdd a lock to a StreamCdnConfig.- Specified by:
addStreamCdnConfigLockin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
addStreamDistributionChannelLock
public Future<AddStreamDistributionChannelLockResponse> addStreamDistributionChannelLock(AddStreamDistributionChannelLockRequest request, AsyncHandler<AddStreamDistributionChannelLockRequest,AddStreamDistributionChannelLockResponse> handler)
Description copied from interface:MediaServicesAsyncAdd a lock to a StreamDistributionChannel.- Specified by:
addStreamDistributionChannelLockin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
addStreamPackagingConfigLock
public Future<AddStreamPackagingConfigLockResponse> addStreamPackagingConfigLock(AddStreamPackagingConfigLockRequest request, AsyncHandler<AddStreamPackagingConfigLockRequest,AddStreamPackagingConfigLockResponse> handler)
Description copied from interface:MediaServicesAsyncAdd a lock to a StreamPackagingConfig.- Specified by:
addStreamPackagingConfigLockin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeMediaAssetCompartment
public Future<ChangeMediaAssetCompartmentResponse> changeMediaAssetCompartment(ChangeMediaAssetCompartmentRequest request, AsyncHandler<ChangeMediaAssetCompartmentRequest,ChangeMediaAssetCompartmentResponse> handler)
Description copied from interface:MediaServicesAsyncMoves a MediaAsset resource from one compartment identifier to another.- Specified by:
changeMediaAssetCompartmentin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeMediaWorkflowCompartment
public Future<ChangeMediaWorkflowCompartmentResponse> changeMediaWorkflowCompartment(ChangeMediaWorkflowCompartmentRequest request, AsyncHandler<ChangeMediaWorkflowCompartmentRequest,ChangeMediaWorkflowCompartmentResponse> handler)
Description copied from interface:MediaServicesAsyncMoves a MediaWorkflow resource from one compartment identifier to another.- Specified by:
changeMediaWorkflowCompartmentin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeMediaWorkflowConfigurationCompartment
public Future<ChangeMediaWorkflowConfigurationCompartmentResponse> changeMediaWorkflowConfigurationCompartment(ChangeMediaWorkflowConfigurationCompartmentRequest request, AsyncHandler<ChangeMediaWorkflowConfigurationCompartmentRequest,ChangeMediaWorkflowConfigurationCompartmentResponse> handler)
Description copied from interface:MediaServicesAsyncMoves a MediaWorkflowConfiguration resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeMediaWorkflowConfigurationCompartmentin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeMediaWorkflowJobCompartment
public Future<ChangeMediaWorkflowJobCompartmentResponse> changeMediaWorkflowJobCompartment(ChangeMediaWorkflowJobCompartmentRequest request, AsyncHandler<ChangeMediaWorkflowJobCompartmentRequest,ChangeMediaWorkflowJobCompartmentResponse> handler)
Description copied from interface:MediaServicesAsyncMoves a MediaWorkflowJob resource from one compartment identifier to another.- Specified by:
changeMediaWorkflowJobCompartmentin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeStreamDistributionChannelCompartment
public Future<ChangeStreamDistributionChannelCompartmentResponse> changeStreamDistributionChannelCompartment(ChangeStreamDistributionChannelCompartmentRequest request, AsyncHandler<ChangeStreamDistributionChannelCompartmentRequest,ChangeStreamDistributionChannelCompartmentResponse> handler)
Description copied from interface:MediaServicesAsyncMoves a Stream Distribution Channel resource from one compartment identifier to another.- Specified by:
changeStreamDistributionChannelCompartmentin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createMediaAsset
public Future<CreateMediaAssetResponse> createMediaAsset(CreateMediaAssetRequest request, AsyncHandler<CreateMediaAssetRequest,CreateMediaAssetResponse> handler)
Description copied from interface:MediaServicesAsyncCreates a new MediaAsset.- Specified by:
createMediaAssetin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createMediaWorkflow
public Future<CreateMediaWorkflowResponse> createMediaWorkflow(CreateMediaWorkflowRequest request, AsyncHandler<CreateMediaWorkflowRequest,CreateMediaWorkflowResponse> handler)
Description copied from interface:MediaServicesAsyncCreates a new MediaWorkflow.- Specified by:
createMediaWorkflowin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createMediaWorkflowConfiguration
public Future<CreateMediaWorkflowConfigurationResponse> createMediaWorkflowConfiguration(CreateMediaWorkflowConfigurationRequest request, AsyncHandler<CreateMediaWorkflowConfigurationRequest,CreateMediaWorkflowConfigurationResponse> handler)
Description copied from interface:MediaServicesAsyncCreates a new MediaWorkflowConfiguration.- Specified by:
createMediaWorkflowConfigurationin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createMediaWorkflowJob
public Future<CreateMediaWorkflowJobResponse> createMediaWorkflowJob(CreateMediaWorkflowJobRequest request, AsyncHandler<CreateMediaWorkflowJobRequest,CreateMediaWorkflowJobResponse> handler)
Description copied from interface:MediaServicesAsyncRun the MediaWorkflow according to the given mediaWorkflow definition and configuration.- Specified by:
createMediaWorkflowJobin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createStreamCdnConfig
public Future<CreateStreamCdnConfigResponse> createStreamCdnConfig(CreateStreamCdnConfigRequest request, AsyncHandler<CreateStreamCdnConfigRequest,CreateStreamCdnConfigResponse> handler)
Description copied from interface:MediaServicesAsyncCreates a new CDN Configuration.- Specified by:
createStreamCdnConfigin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createStreamDistributionChannel
public Future<CreateStreamDistributionChannelResponse> createStreamDistributionChannel(CreateStreamDistributionChannelRequest request, AsyncHandler<CreateStreamDistributionChannelRequest,CreateStreamDistributionChannelResponse> handler)
Description copied from interface:MediaServicesAsyncCreates a new Stream Distribution Channel.- Specified by:
createStreamDistributionChannelin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createStreamPackagingConfig
public Future<CreateStreamPackagingConfigResponse> createStreamPackagingConfig(CreateStreamPackagingConfigRequest request, AsyncHandler<CreateStreamPackagingConfigRequest,CreateStreamPackagingConfigResponse> handler)
Description copied from interface:MediaServicesAsyncCreates a new Packaging Configuration.- Specified by:
createStreamPackagingConfigin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteMediaAsset
public Future<DeleteMediaAssetResponse> deleteMediaAsset(DeleteMediaAssetRequest request, AsyncHandler<DeleteMediaAssetRequest,DeleteMediaAssetResponse> handler)
Description copied from interface:MediaServicesAsyncDeletes a MediaAsset resource by identifier.If DeleteChildren is passed in as the mode, all the assets with the parentMediaAssetId matching the ID will be deleted. If DeleteDerivatives is set as the mode, all the assets with the masterMediaAssetId matching the ID will be deleted.
- Specified by:
deleteMediaAssetin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteMediaAssetDistributionChannelAttachment
public Future<DeleteMediaAssetDistributionChannelAttachmentResponse> deleteMediaAssetDistributionChannelAttachment(DeleteMediaAssetDistributionChannelAttachmentRequest request, AsyncHandler<DeleteMediaAssetDistributionChannelAttachmentRequest,DeleteMediaAssetDistributionChannelAttachmentResponse> handler)
Description copied from interface:MediaServicesAsyncDeletes a MediaAsset from the DistributionChannel by identifiers.- Specified by:
deleteMediaAssetDistributionChannelAttachmentin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteMediaWorkflow
public Future<DeleteMediaWorkflowResponse> deleteMediaWorkflow(DeleteMediaWorkflowRequest request, AsyncHandler<DeleteMediaWorkflowRequest,DeleteMediaWorkflowResponse> handler)
Description copied from interface:MediaServicesAsyncThe MediaWorkflow lifecycleState will change to DELETED.- Specified by:
deleteMediaWorkflowin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteMediaWorkflowConfiguration
public Future<DeleteMediaWorkflowConfigurationResponse> deleteMediaWorkflowConfiguration(DeleteMediaWorkflowConfigurationRequest request, AsyncHandler<DeleteMediaWorkflowConfigurationRequest,DeleteMediaWorkflowConfigurationResponse> handler)
Description copied from interface:MediaServicesAsyncDeletes a MediaWorkflowConfiguration resource by identifier.- Specified by:
deleteMediaWorkflowConfigurationin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteMediaWorkflowJob
public Future<DeleteMediaWorkflowJobResponse> deleteMediaWorkflowJob(DeleteMediaWorkflowJobRequest request, AsyncHandler<DeleteMediaWorkflowJobRequest,DeleteMediaWorkflowJobResponse> handler)
Description copied from interface:MediaServicesAsyncThis is an asynchronous operation.The MediaWorkflowJob lifecycleState will change to CANCELING temporarily until the job is completely CANCELED.
- Specified by:
deleteMediaWorkflowJobin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteStreamCdnConfig
public Future<DeleteStreamCdnConfigResponse> deleteStreamCdnConfig(DeleteStreamCdnConfigRequest request, AsyncHandler<DeleteStreamCdnConfigRequest,DeleteStreamCdnConfigResponse> handler)
Description copied from interface:MediaServicesAsyncThe StreamCdnConfig lifecycleState will change to DELETED.- Specified by:
deleteStreamCdnConfigin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteStreamDistributionChannel
public Future<DeleteStreamDistributionChannelResponse> deleteStreamDistributionChannel(DeleteStreamDistributionChannelRequest request, AsyncHandler<DeleteStreamDistributionChannelRequest,DeleteStreamDistributionChannelResponse> handler)
Description copied from interface:MediaServicesAsyncThe Stream Distribution Channel lifecycleState will change to DELETED.- Specified by:
deleteStreamDistributionChannelin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteStreamPackagingConfig
public Future<DeleteStreamPackagingConfigResponse> deleteStreamPackagingConfig(DeleteStreamPackagingConfigRequest request, AsyncHandler<DeleteStreamPackagingConfigRequest,DeleteStreamPackagingConfigResponse> handler)
Description copied from interface:MediaServicesAsyncThe Stream Packaging Configuration lifecycleState will change to DELETED.- Specified by:
deleteStreamPackagingConfigin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getMediaAsset
public Future<GetMediaAssetResponse> getMediaAsset(GetMediaAssetRequest request, AsyncHandler<GetMediaAssetRequest,GetMediaAssetResponse> handler)
Description copied from interface:MediaServicesAsyncGets a MediaAsset by identifier.- Specified by:
getMediaAssetin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getMediaAssetDistributionChannelAttachment
public Future<GetMediaAssetDistributionChannelAttachmentResponse> getMediaAssetDistributionChannelAttachment(GetMediaAssetDistributionChannelAttachmentRequest request, AsyncHandler<GetMediaAssetDistributionChannelAttachmentRequest,GetMediaAssetDistributionChannelAttachmentResponse> handler)
Description copied from interface:MediaServicesAsyncGets a MediaAssetDistributionChannelAttachment for a MediaAsset by identifiers.- Specified by:
getMediaAssetDistributionChannelAttachmentin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getMediaWorkflow
public Future<GetMediaWorkflowResponse> getMediaWorkflow(GetMediaWorkflowRequest request, AsyncHandler<GetMediaWorkflowRequest,GetMediaWorkflowResponse> handler)
Description copied from interface:MediaServicesAsyncGets a MediaWorkflow by identifier.- Specified by:
getMediaWorkflowin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getMediaWorkflowConfiguration
public Future<GetMediaWorkflowConfigurationResponse> getMediaWorkflowConfiguration(GetMediaWorkflowConfigurationRequest request, AsyncHandler<GetMediaWorkflowConfigurationRequest,GetMediaWorkflowConfigurationResponse> handler)
Description copied from interface:MediaServicesAsyncGets a MediaWorkflowConfiguration by identifier- Specified by:
getMediaWorkflowConfigurationin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getMediaWorkflowJob
public Future<GetMediaWorkflowJobResponse> getMediaWorkflowJob(GetMediaWorkflowJobRequest request, AsyncHandler<GetMediaWorkflowJobRequest,GetMediaWorkflowJobResponse> handler)
Description copied from interface:MediaServicesAsyncGets the MediaWorkflowJob.- Specified by:
getMediaWorkflowJobin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getStreamCdnConfig
public Future<GetStreamCdnConfigResponse> getStreamCdnConfig(GetStreamCdnConfigRequest request, AsyncHandler<GetStreamCdnConfigRequest,GetStreamCdnConfigResponse> handler)
Description copied from interface:MediaServicesAsyncGets a StreamCdnConfig by identifier.- Specified by:
getStreamCdnConfigin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getStreamDistributionChannel
public Future<GetStreamDistributionChannelResponse> getStreamDistributionChannel(GetStreamDistributionChannelRequest request, AsyncHandler<GetStreamDistributionChannelRequest,GetStreamDistributionChannelResponse> handler)
Description copied from interface:MediaServicesAsyncGets a Stream Distribution Channel by identifier.- Specified by:
getStreamDistributionChannelin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getStreamPackagingConfig
public Future<GetStreamPackagingConfigResponse> getStreamPackagingConfig(GetStreamPackagingConfigRequest request, AsyncHandler<GetStreamPackagingConfigRequest,GetStreamPackagingConfigResponse> handler)
Description copied from interface:MediaServicesAsyncGets a Stream Packaging Configuration by identifier.- Specified by:
getStreamPackagingConfigin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
ingestStreamDistributionChannel
public Future<IngestStreamDistributionChannelResponse> ingestStreamDistributionChannel(IngestStreamDistributionChannelRequest request, AsyncHandler<IngestStreamDistributionChannelRequest,IngestStreamDistributionChannelResponse> handler)
Description copied from interface:MediaServicesAsyncIngests an Asset into a Distribution Channel.- Specified by:
ingestStreamDistributionChannelin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listMediaAssetDistributionChannelAttachments
public Future<ListMediaAssetDistributionChannelAttachmentsResponse> listMediaAssetDistributionChannelAttachments(ListMediaAssetDistributionChannelAttachmentsRequest request, AsyncHandler<ListMediaAssetDistributionChannelAttachmentsRequest,ListMediaAssetDistributionChannelAttachmentsResponse> handler)
Description copied from interface:MediaServicesAsyncLists the MediaAssetDistributionChannelAttachments for a MediaAsset by identifier.- Specified by:
listMediaAssetDistributionChannelAttachmentsin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listMediaAssets
public Future<ListMediaAssetsResponse> listMediaAssets(ListMediaAssetsRequest request, AsyncHandler<ListMediaAssetsRequest,ListMediaAssetsResponse> handler)
Description copied from interface:MediaServicesAsyncReturns a list of MediaAssetSummary.- Specified by:
listMediaAssetsin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listMediaWorkflowConfigurations
public Future<ListMediaWorkflowConfigurationsResponse> listMediaWorkflowConfigurations(ListMediaWorkflowConfigurationsRequest request, AsyncHandler<ListMediaWorkflowConfigurationsRequest,ListMediaWorkflowConfigurationsResponse> handler)
Description copied from interface:MediaServicesAsyncReturns a list of MediaWorkflowConfigurations.- Specified by:
listMediaWorkflowConfigurationsin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listMediaWorkflowJobs
public Future<ListMediaWorkflowJobsResponse> listMediaWorkflowJobs(ListMediaWorkflowJobsRequest request, AsyncHandler<ListMediaWorkflowJobsRequest,ListMediaWorkflowJobsResponse> handler)
Description copied from interface:MediaServicesAsyncLists the MediaWorkflowJobs.- Specified by:
listMediaWorkflowJobsin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listMediaWorkflowTaskDeclarations
public Future<ListMediaWorkflowTaskDeclarationsResponse> listMediaWorkflowTaskDeclarations(ListMediaWorkflowTaskDeclarationsRequest request, AsyncHandler<ListMediaWorkflowTaskDeclarationsRequest,ListMediaWorkflowTaskDeclarationsResponse> handler)
Description copied from interface:MediaServicesAsyncReturns a list of MediaWorkflowTaskDeclarations.- Specified by:
listMediaWorkflowTaskDeclarationsin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listMediaWorkflows
public Future<ListMediaWorkflowsResponse> listMediaWorkflows(ListMediaWorkflowsRequest request, AsyncHandler<ListMediaWorkflowsRequest,ListMediaWorkflowsResponse> handler)
Description copied from interface:MediaServicesAsyncLists the MediaWorkflows.- Specified by:
listMediaWorkflowsin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listStreamCdnConfigs
public Future<ListStreamCdnConfigsResponse> listStreamCdnConfigs(ListStreamCdnConfigsRequest request, AsyncHandler<ListStreamCdnConfigsRequest,ListStreamCdnConfigsResponse> handler)
Description copied from interface:MediaServicesAsyncLists the StreamCdnConfig.- Specified by:
listStreamCdnConfigsin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listStreamDistributionChannels
public Future<ListStreamDistributionChannelsResponse> listStreamDistributionChannels(ListStreamDistributionChannelsRequest request, AsyncHandler<ListStreamDistributionChannelsRequest,ListStreamDistributionChannelsResponse> handler)
Description copied from interface:MediaServicesAsyncLists the Stream Distribution Channels.- Specified by:
listStreamDistributionChannelsin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listStreamPackagingConfigs
public Future<ListStreamPackagingConfigsResponse> listStreamPackagingConfigs(ListStreamPackagingConfigsRequest request, AsyncHandler<ListStreamPackagingConfigsRequest,ListStreamPackagingConfigsResponse> handler)
Description copied from interface:MediaServicesAsyncLists the Stream Packaging Configurations.- Specified by:
listStreamPackagingConfigsin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listSystemMediaWorkflows
public Future<ListSystemMediaWorkflowsResponse> listSystemMediaWorkflows(ListSystemMediaWorkflowsRequest request, AsyncHandler<ListSystemMediaWorkflowsRequest,ListSystemMediaWorkflowsResponse> handler)
Description copied from interface:MediaServicesAsyncLists the SystemMediaWorkflows that can be used to run a job by name or as a template to create a MediaWorkflow.- Specified by:
listSystemMediaWorkflowsin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removeMediaAssetLock
public Future<RemoveMediaAssetLockResponse> removeMediaAssetLock(RemoveMediaAssetLockRequest request, AsyncHandler<RemoveMediaAssetLockRequest,RemoveMediaAssetLockResponse> handler)
Description copied from interface:MediaServicesAsyncRemove a lock to an MediaAsset.- Specified by:
removeMediaAssetLockin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removeMediaWorkflowConfigurationLock
public Future<RemoveMediaWorkflowConfigurationLockResponse> removeMediaWorkflowConfigurationLock(RemoveMediaWorkflowConfigurationLockRequest request, AsyncHandler<RemoveMediaWorkflowConfigurationLockRequest,RemoveMediaWorkflowConfigurationLockResponse> handler)
Description copied from interface:MediaServicesAsyncRemove a lock from a MediaWorkflowConfiguration.- Specified by:
removeMediaWorkflowConfigurationLockin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removeMediaWorkflowJobLock
public Future<RemoveMediaWorkflowJobLockResponse> removeMediaWorkflowJobLock(RemoveMediaWorkflowJobLockRequest request, AsyncHandler<RemoveMediaWorkflowJobLockRequest,RemoveMediaWorkflowJobLockResponse> handler)
Description copied from interface:MediaServicesAsyncRemove a lock from a MediaWorkflowJob.- Specified by:
removeMediaWorkflowJobLockin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removeMediaWorkflowLock
public Future<RemoveMediaWorkflowLockResponse> removeMediaWorkflowLock(RemoveMediaWorkflowLockRequest request, AsyncHandler<RemoveMediaWorkflowLockRequest,RemoveMediaWorkflowLockResponse> handler)
Description copied from interface:MediaServicesAsyncRemove a lock from a MediaWorkflow.- Specified by:
removeMediaWorkflowLockin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removeStreamCdnConfigLock
public Future<RemoveStreamCdnConfigLockResponse> removeStreamCdnConfigLock(RemoveStreamCdnConfigLockRequest request, AsyncHandler<RemoveStreamCdnConfigLockRequest,RemoveStreamCdnConfigLockResponse> handler)
Description copied from interface:MediaServicesAsyncRemove a lock from a StreamCdnConfig.- Specified by:
removeStreamCdnConfigLockin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removeStreamDistributionChannelLock
public Future<RemoveStreamDistributionChannelLockResponse> removeStreamDistributionChannelLock(RemoveStreamDistributionChannelLockRequest request, AsyncHandler<RemoveStreamDistributionChannelLockRequest,RemoveStreamDistributionChannelLockResponse> handler)
Description copied from interface:MediaServicesAsyncRemove a lock to a StreamDistributionChannel.- Specified by:
removeStreamDistributionChannelLockin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removeStreamPackagingConfigLock
public Future<RemoveStreamPackagingConfigLockResponse> removeStreamPackagingConfigLock(RemoveStreamPackagingConfigLockRequest request, AsyncHandler<RemoveStreamPackagingConfigLockRequest,RemoveStreamPackagingConfigLockResponse> handler)
Description copied from interface:MediaServicesAsyncRemove a lock from a StreamPackagingConfig.- Specified by:
removeStreamPackagingConfigLockin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateMediaAsset
public Future<UpdateMediaAssetResponse> updateMediaAsset(UpdateMediaAssetRequest request, AsyncHandler<UpdateMediaAssetRequest,UpdateMediaAssetResponse> handler)
Description copied from interface:MediaServicesAsyncUpdates the MediaAsset.- Specified by:
updateMediaAssetin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateMediaWorkflow
public Future<UpdateMediaWorkflowResponse> updateMediaWorkflow(UpdateMediaWorkflowRequest request, AsyncHandler<UpdateMediaWorkflowRequest,UpdateMediaWorkflowResponse> handler)
Description copied from interface:MediaServicesAsyncUpdates the MediaWorkflow.- Specified by:
updateMediaWorkflowin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateMediaWorkflowConfiguration
public Future<UpdateMediaWorkflowConfigurationResponse> updateMediaWorkflowConfiguration(UpdateMediaWorkflowConfigurationRequest request, AsyncHandler<UpdateMediaWorkflowConfigurationRequest,UpdateMediaWorkflowConfigurationResponse> handler)
Description copied from interface:MediaServicesAsyncUpdates the MediaWorkflowConfiguration.- Specified by:
updateMediaWorkflowConfigurationin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateMediaWorkflowJob
public Future<UpdateMediaWorkflowJobResponse> updateMediaWorkflowJob(UpdateMediaWorkflowJobRequest request, AsyncHandler<UpdateMediaWorkflowJobRequest,UpdateMediaWorkflowJobResponse> handler)
Description copied from interface:MediaServicesAsyncUpdates the MediaWorkflowJob.- Specified by:
updateMediaWorkflowJobin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateStreamCdnConfig
public Future<UpdateStreamCdnConfigResponse> updateStreamCdnConfig(UpdateStreamCdnConfigRequest request, AsyncHandler<UpdateStreamCdnConfigRequest,UpdateStreamCdnConfigResponse> handler)
Description copied from interface:MediaServicesAsyncUpdates the StreamCdnConfig.- Specified by:
updateStreamCdnConfigin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateStreamDistributionChannel
public Future<UpdateStreamDistributionChannelResponse> updateStreamDistributionChannel(UpdateStreamDistributionChannelRequest request, AsyncHandler<UpdateStreamDistributionChannelRequest,UpdateStreamDistributionChannelResponse> handler)
Description copied from interface:MediaServicesAsyncUpdates the Stream Distribution Channel.- Specified by:
updateStreamDistributionChannelin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateStreamPackagingConfig
public Future<UpdateStreamPackagingConfigResponse> updateStreamPackagingConfig(UpdateStreamPackagingConfigRequest request, AsyncHandler<UpdateStreamPackagingConfigRequest,UpdateStreamPackagingConfigResponse> handler)
Description copied from interface:MediaServicesAsyncUpdates the Stream Packaging Configuration.- Specified by:
updateStreamPackagingConfigin interfaceMediaServicesAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getDefaultConfigurator
protected ClientConfigurator getDefaultConfigurator()
-
useRealmSpecificEndpointTemplate
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
This method should be used to enable or disable the use of realm-specific endpoint template.The default value is null. To enable the use of endpoint template defined for the realm in use, set the flag to true To disable the use of endpoint template defined for the realm in use, set the flag to false
- Parameters:
useOfRealmSpecificEndpointTemplateEnabled- This flag can be set to true or false to enable or disable the use of realm-specific endpoint template respectively
-
populateServiceParametersInEndpoint
public final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
Populate the parameters in the endpoint with its corresponding value and update the base endpoint.The value will be populated iff the parameter in endpoint is a required request path parameter or a required request query parameter. If not, the parameter in the endpoint will be ignored and left blank.
- Parameters:
endpoint- The endpoint template in userequiredParametersMap- Map of parameter name as key and value set in request path or query parameter as value
-
updateBaseEndpoint
public final void updateBaseEndpoint(String endpoint)
This method should be used for parameterized endpoint templates only.This does not include {region} and {secondLevelDomain} parameters.
- Parameters:
endpoint- The updated endpoint to use
-
setEndpoint
public final void setEndpoint(String endpoint)
-
getEndpoint
public final String getEndpoint()
-
refreshClient
public final void refreshClient()
Rebuild the backingHttpClient.This will call
ClientConfigurators again, and can be used to e.g. refresh the SSL certificate.
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable
-
getClientCommonLibraryVersion
public String getClientCommonLibraryVersion()
-
getMinimumClientCommonLibraryVersionFromClient
public Optional<String> getMinimumClientCommonLibraryVersionFromClient()
-
clientCall
protected <REQ extends BmcRequest<?>,RESP extends BmcResponse,RESP_BUILDER extends BmcResponse.Builder<RESP>> ClientCall<REQ,RESP,RESP_BUILDER> clientCall(REQ request, Supplier<RESP_BUILDER> responseBuilder)
-
-