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 MediaServicesAsync
Async 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 class
MediaServicesAsyncClient.Builder
Builder class for this client.
-
Field Summary
Fields Modifier and Type Field Description String
clientCommonLibraryVersion
Compatible SDK version, provided by the codegen.Optional<String>
minimumClientCommonLibraryVersionFromClient
Minimum compatible SDK version, maybe provided by the codegen.static Service
SERVICE
Service instance for MediaServices.
-
Constructor Summary
Constructors Constructor Description MediaServicesAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilder
instead.MediaServicesAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilder
instead.MediaServicesAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.MediaServicesAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.MediaServicesAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilder
instead.MediaServicesAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilder
instead.MediaServicesAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilder
instead.
-
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 thebuilder
instead.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 thebuilder
instead.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 thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeMediaServicesAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
MediaServicesAsyncClient
@Deprecated public MediaServicesAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeMediaServicesAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-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 thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeMediaServicesAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
-ClientBuilderBase.additionalClientConfigurators
-
MediaServicesAsyncClient
@Deprecated public MediaServicesAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeMediaServicesAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
-ClientBuilderBase.additionalClientConfigurators
endpoint
-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 thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeMediaServicesAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
-ClientBuilderBase.additionalClientConfigurators
endpoint
-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:MediaServicesAsync
Sets the region to call (ex, Region.US_PHOENIX_1).Note, this will call
setEndpoint
after resolving the endpoint. If the service is not available in this region, however, an IllegalArgumentException will be raised.- Specified by:
setRegion
in interfaceMediaServicesAsync
- Parameters:
region
- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:MediaServicesAsync
Sets 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:
setRegion
in interfaceMediaServicesAsync
- Parameters:
regionId
- The public region ID.
-
addMediaAssetLock
public Future<AddMediaAssetLockResponse> addMediaAssetLock(AddMediaAssetLockRequest request, AsyncHandler<AddMediaAssetLockRequest,AddMediaAssetLockResponse> handler)
Description copied from interface:MediaServicesAsync
Add a lock to an MediaAsset.- Specified by:
addMediaAssetLock
in 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:MediaServicesAsync
Add a lock to a MediaWorkflowConfiguration.- Specified by:
addMediaWorkflowConfigurationLock
in 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:MediaServicesAsync
Add a lock to a MediaWorkflowJob.- Specified by:
addMediaWorkflowJobLock
in 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:MediaServicesAsync
Add a lock to a MediaWorkflow.- Specified by:
addMediaWorkflowLock
in 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:MediaServicesAsync
Add a lock to a StreamCdnConfig.- Specified by:
addStreamCdnConfigLock
in 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:MediaServicesAsync
Add a lock to a StreamDistributionChannel.- Specified by:
addStreamDistributionChannelLock
in 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:MediaServicesAsync
Add a lock to a StreamPackagingConfig.- Specified by:
addStreamPackagingConfigLock
in 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:MediaServicesAsync
Moves a MediaAsset resource from one compartment identifier to another.- Specified by:
changeMediaAssetCompartment
in 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:MediaServicesAsync
Moves a MediaWorkflow resource from one compartment identifier to another.- Specified by:
changeMediaWorkflowCompartment
in 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:MediaServicesAsync
Moves a MediaWorkflowConfiguration resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeMediaWorkflowConfigurationCompartment
in 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:MediaServicesAsync
Moves a MediaWorkflowJob resource from one compartment identifier to another.- Specified by:
changeMediaWorkflowJobCompartment
in 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:MediaServicesAsync
Moves a Stream Distribution Channel resource from one compartment identifier to another.- Specified by:
changeStreamDistributionChannelCompartment
in 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:MediaServicesAsync
Creates a new MediaAsset.- Specified by:
createMediaAsset
in 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:MediaServicesAsync
Creates a new MediaWorkflow.- Specified by:
createMediaWorkflow
in 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:MediaServicesAsync
Creates a new MediaWorkflowConfiguration.- Specified by:
createMediaWorkflowConfiguration
in 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:MediaServicesAsync
Run the MediaWorkflow according to the given mediaWorkflow definition and configuration.- Specified by:
createMediaWorkflowJob
in 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:MediaServicesAsync
Creates a new CDN Configuration.- Specified by:
createStreamCdnConfig
in 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:MediaServicesAsync
Creates a new Stream Distribution Channel.- Specified by:
createStreamDistributionChannel
in 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:MediaServicesAsync
Creates a new Packaging Configuration.- Specified by:
createStreamPackagingConfig
in 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:MediaServicesAsync
Deletes 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:
deleteMediaAsset
in 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:MediaServicesAsync
Deletes a MediaAsset from the DistributionChannel by identifiers.- Specified by:
deleteMediaAssetDistributionChannelAttachment
in 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:MediaServicesAsync
The MediaWorkflow lifecycleState will change to DELETED.- Specified by:
deleteMediaWorkflow
in 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:MediaServicesAsync
Deletes a MediaWorkflowConfiguration resource by identifier.- Specified by:
deleteMediaWorkflowConfiguration
in 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:MediaServicesAsync
This is an asynchronous operation.The MediaWorkflowJob lifecycleState will change to CANCELING temporarily until the job is completely CANCELED.
- Specified by:
deleteMediaWorkflowJob
in 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:MediaServicesAsync
The StreamCdnConfig lifecycleState will change to DELETED.- Specified by:
deleteStreamCdnConfig
in 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:MediaServicesAsync
The Stream Distribution Channel lifecycleState will change to DELETED.- Specified by:
deleteStreamDistributionChannel
in 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:MediaServicesAsync
The Stream Packaging Configuration lifecycleState will change to DELETED.- Specified by:
deleteStreamPackagingConfig
in 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:MediaServicesAsync
Gets a MediaAsset by identifier.- Specified by:
getMediaAsset
in 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:MediaServicesAsync
Gets a MediaAssetDistributionChannelAttachment for a MediaAsset by identifiers.- Specified by:
getMediaAssetDistributionChannelAttachment
in 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:MediaServicesAsync
Gets a MediaWorkflow by identifier.- Specified by:
getMediaWorkflow
in 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:MediaServicesAsync
Gets a MediaWorkflowConfiguration by identifier- Specified by:
getMediaWorkflowConfiguration
in 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:MediaServicesAsync
Gets the MediaWorkflowJob.- Specified by:
getMediaWorkflowJob
in 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:MediaServicesAsync
Gets a StreamCdnConfig by identifier.- Specified by:
getStreamCdnConfig
in 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:MediaServicesAsync
Gets a Stream Distribution Channel by identifier.- Specified by:
getStreamDistributionChannel
in 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:MediaServicesAsync
Gets a Stream Packaging Configuration by identifier.- Specified by:
getStreamPackagingConfig
in 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:MediaServicesAsync
Ingests an Asset into a Distribution Channel.- Specified by:
ingestStreamDistributionChannel
in 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:MediaServicesAsync
Lists the MediaAssetDistributionChannelAttachments for a MediaAsset by identifier.- Specified by:
listMediaAssetDistributionChannelAttachments
in 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:MediaServicesAsync
Returns a list of MediaAssetSummary.- Specified by:
listMediaAssets
in 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:MediaServicesAsync
Returns a list of MediaWorkflowConfigurations.- Specified by:
listMediaWorkflowConfigurations
in 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:MediaServicesAsync
Lists the MediaWorkflowJobs.- Specified by:
listMediaWorkflowJobs
in 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:MediaServicesAsync
Returns a list of MediaWorkflowTaskDeclarations.- Specified by:
listMediaWorkflowTaskDeclarations
in 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:MediaServicesAsync
Lists the MediaWorkflows.- Specified by:
listMediaWorkflows
in 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:MediaServicesAsync
Lists the StreamCdnConfig.- Specified by:
listStreamCdnConfigs
in 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:MediaServicesAsync
Lists the Stream Distribution Channels.- Specified by:
listStreamDistributionChannels
in 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:MediaServicesAsync
Lists the Stream Packaging Configurations.- Specified by:
listStreamPackagingConfigs
in 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:MediaServicesAsync
Lists the SystemMediaWorkflows that can be used to run a job by name or as a template to create a MediaWorkflow.- Specified by:
listSystemMediaWorkflows
in 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:MediaServicesAsync
Remove a lock to an MediaAsset.- Specified by:
removeMediaAssetLock
in 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:MediaServicesAsync
Remove a lock from a MediaWorkflowConfiguration.- Specified by:
removeMediaWorkflowConfigurationLock
in 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:MediaServicesAsync
Remove a lock from a MediaWorkflowJob.- Specified by:
removeMediaWorkflowJobLock
in 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:MediaServicesAsync
Remove a lock from a MediaWorkflow.- Specified by:
removeMediaWorkflowLock
in 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:MediaServicesAsync
Remove a lock from a StreamCdnConfig.- Specified by:
removeStreamCdnConfigLock
in 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:MediaServicesAsync
Remove a lock to a StreamDistributionChannel.- Specified by:
removeStreamDistributionChannelLock
in 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:MediaServicesAsync
Remove a lock from a StreamPackagingConfig.- Specified by:
removeStreamPackagingConfigLock
in 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:MediaServicesAsync
Updates the MediaAsset.- Specified by:
updateMediaAsset
in 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:MediaServicesAsync
Updates the MediaWorkflow.- Specified by:
updateMediaWorkflow
in 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:MediaServicesAsync
Updates the MediaWorkflowConfiguration.- Specified by:
updateMediaWorkflowConfiguration
in 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:MediaServicesAsync
Updates the MediaWorkflowJob.- Specified by:
updateMediaWorkflowJob
in 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:MediaServicesAsync
Updates the StreamCdnConfig.- Specified by:
updateStreamCdnConfig
in 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:MediaServicesAsync
Updates the Stream Distribution Channel.- Specified by:
updateStreamDistributionChannel
in 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:MediaServicesAsync
Updates the Stream Packaging Configuration.- Specified by:
updateStreamPackagingConfig
in 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
ClientConfigurator
s again, and can be used to e.g. refresh the SSL certificate.
-
close
public final void close()
- Specified by:
close
in 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)
-
-