|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.baidubce.AbstractBceClient
com.baidubce.services.bvw.BvwClient
public class BvwClient
Provides the client for accessing the Baidu VideoWorks(BVW).
| Field Summary |
|---|
| Fields inherited from class com.baidubce.AbstractBceClient |
|---|
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX |
| Constructor Summary | |
|---|---|
BvwClient(BceClientConfiguration config)
Constructs a new bvw client using the client configuration to access bvw. |
|
| Method Summary | |
|---|---|
MediaBaseResponse |
banMedia(MediaBaseRequest banRequest)
Ban media with specified banning media request. |
MediaBaseResponse |
banMedia(String mediaId)
Ban media with specified media id. |
MediaBaseResponse |
batchDeleteMedia(List<String> mediaIds)
Batch delete media with specified media id list. |
MediaBaseResponse |
batchDeleteMedia(MediaBatchDeleteRequest batchDeleteRequest)
Batch delete media with specified batch deleting media request. |
MatlibConfigBaseResponse |
createMatlibConfig(MatlibConfigBaseRequest baseRequest)
Create matlib config. |
NotificationBaseResponse |
createNotification(NotificationCreateRequest createRequest)
Create notification with specified creating notification request. |
NotificationBaseResponse |
createNotification(String name,
String endpoint)
Create notification with specified parameters.(No authentication) |
NotificationBaseResponse |
createNotification(String name,
String endpoint,
String token,
AuthType authType)
Create notification with specified parameters. |
VideoEditCreateResponse |
createVideoEdit(VideoEditCreateRequest videoEditCreateRequest)
create a task of video edit The cmd Object in VideoEditCreateRequest 1> do not need to modify it by your self, you only put the json string to Map |
WorkflowBaseResponse |
createWorkflow(WorkflowCreateRequest workflowCreateRequest)
Create workflow with specified parameter. |
MediaBaseResponse |
deleteMedia(MediaBaseRequest deleteRequest)
Delete media with specified deleting media request. |
MediaBaseResponse |
deleteMedia(String mediaId)
Delete media with specified media id. |
NotificationBaseResponse |
deleteNotification(NotificationBaseRequest deleteRequest)
Delete notification with specified deleting request. |
NotificationBaseResponse |
deleteNotification(String name)
Delete notification with specified notification name. |
WorkflowBaseResponse |
deleteWorkflow(String workflowName)
Delete workflow with specified workflow name. |
WorkflowBaseResponse |
deleteWorkflow(WorkflowBaseRequest deleteRequest)
Get workflow with specified deleting workflow request. |
NotificationBaseResponse |
disableNotification(NotificationBaseRequest disableRequest)
Disable notification with specified enabling request. |
NotificationBaseResponse |
disableNotification(String name)
Enable notification with specified notification name. |
WorkflowBaseResponse |
disableWorkflow(String workflowName)
Disable workflow with specified workflow name. |
WorkflowBaseResponse |
disableWorkflow(WorkflowBaseRequest disableRequest)
Disable workflow with specified enabling workflow request. |
NotificationBaseResponse |
enableNotification(NotificationBaseRequest enableRequest)
Enable notification with specified enabling request. |
NotificationBaseResponse |
enableNotification(String name)
Enable notification with specified notification name. |
WorkflowBaseResponse |
enableWorkflow(String workflowName)
Enable workflow with specified workflow name. |
WorkflowBaseResponse |
enableWorkflow(WorkflowBaseRequest enableRequest)
Enable workflow with specified enabling workflow request. |
InstanceGetResponse |
getInstance(InstanceBaseRequest getRequest)
Get instance with specified getting instance request. |
InstanceGetResponse |
getInstance(String instanceId)
Get instance with specified instance id. |
InstanceGetTaskUrlsResponse |
getInstanceTaskUrls(InstanceBaseRequest getRequest)
Get url resource from a instance with specified getting request. |
InstanceGetTaskUrlsResponse |
getInstanceTaskUrls(String instanceId)
Get url resource from a instance with specified instance id. |
MaterialGetResponse |
getMaterial(String materialId)
Get material from material library. |
MatlibConfigGetResponse |
getMatlibConfig()
Get matlib config. |
MediaGetResponse |
getMedia(MediaBaseRequest getRequest)
Get media with specified getting media request. |
MediaGetResponse |
getMedia(String mediaId)
Get media with specified media id. |
MediaInstanceListResponse |
getMediaInstanceList(MediaBaseRequest getRequest)
Get instance list of media. |
MediaInstanceListResponse |
getMediaInstanceList(String mediaId)
Get instance list of media. |
NotificationGetResponse |
getNotification(NotificationBaseRequest getRequest)
Get notification with specified parameters. |
NotificationGetResponse |
getNotification(String name)
Get notification with specified notification name. |
TaskGetResponse |
getTask(String taskId)
Get task with specified task id. |
TaskGetResponse |
getTask(TaskBaseRequest getRequest)
Get task with specified getting task request. |
WorkflowGetResponse |
getWorkflow(String workflowName)
Get workflow with specified workflow name. |
WorkflowGetResponse |
getWorkflow(WorkflowBaseRequest getRequest)
Get workflow with specified getting workflow request. |
ListByPageResponse<MediaListResponse> |
listMedia(MediaListRequest listRequest)
List media with specified listing media request. |
NotificationListResponse |
listNotification()
List all of the notifications. |
NotificationListResponse |
listNotification(NotificationListRequest listRequest)
List notification with specified listing request. |
NotificationListResponse |
listNotification(NotificationStatus status)
List notification with specified notification status. |
ListByPageResponse<WorkflowListResponse> |
listWorkflow(WorkflowListRequest listRequest)
List workflow with specified listing workflow request. |
VideoEditPollingResponse |
pollingVideoEdit(long editId)
get edit job status |
MediaProcessResponse |
processMedia(MediaProcessRequest processRequest)
Process media with specified processing media request. |
Text2AudioResponse |
text2Audio(Text2AudioRequest text2AudioRequest)
Transfer a list of text to audio. |
MediaBaseResponse |
unbanMedia(MediaBaseRequest unbanRequest)
Unban media with specified unbanning media request. |
MediaBaseResponse |
unbanMedia(String mediaId)
Unban media with specified media id. |
MatlibConfigBaseResponse |
updateMatlibConfig(MatlibConfigBaseRequest baseRequest)
Update matlib config. |
MediaBaseResponse |
updateMedia(MediaUpdateRequest updateRequest)
Update media with specified updating media request. |
NotificationBaseResponse |
updateNotification(NotificationUpdateRequest updateRequest)
Update notification with specified updating request. |
NotificationBaseResponse |
updateNotification(String name,
String endpoint)
Update notification with specified parameters. |
NotificationBaseResponse |
updateNotification(String name,
String endpoint,
String token,
AuthType authType)
Update notification with specified parameters. |
WorkflowBaseResponse |
updateWorkflow(WorkflowUpdateRequest updateRequest)
Update workflow with specified updating workflow request. |
MatlibUploadResponse |
upload2Material(MatlibUploadRequest matlibUploadRequest)
Upload media to material library. |
| Methods inherited from class com.baidubce.AbstractBceClient |
|---|
computeServiceId, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BvwClient(BceClientConfiguration config)
config - The bvw client configuration options controlling how this client
connects to bvw (e.g. proxy settings, retry counts, etc).| Method Detail |
|---|
public WorkflowBaseResponse createWorkflow(WorkflowCreateRequest workflowCreateRequest)
workflowCreateRequest - The creating workflow request
public WorkflowGetResponse getWorkflow(String workflowName)
workflowName - The workflow name
public WorkflowGetResponse getWorkflow(WorkflowBaseRequest getRequest)
getRequest - The getting workflow request
public WorkflowBaseResponse deleteWorkflow(String workflowName)
workflowName - The workflow name
public WorkflowBaseResponse deleteWorkflow(WorkflowBaseRequest deleteRequest)
deleteRequest - The deleting workflow request
public WorkflowBaseResponse updateWorkflow(WorkflowUpdateRequest updateRequest)
updateRequest - The updating workflow request
public ListByPageResponse<WorkflowListResponse> listWorkflow(WorkflowListRequest listRequest)
listRequest - The listing workflow request
public WorkflowBaseResponse enableWorkflow(WorkflowBaseRequest enableRequest)
enableRequest - Enabling workflow request
public WorkflowBaseResponse enableWorkflow(String workflowName)
workflowName - Workflow name
public WorkflowBaseResponse disableWorkflow(WorkflowBaseRequest disableRequest)
disableRequest - Disabling workflow request
public WorkflowBaseResponse disableWorkflow(String workflowName)
workflowName - Workflow name
public MediaProcessResponse processMedia(MediaProcessRequest processRequest)
processRequest - processing media request
public MediaGetResponse getMedia(MediaBaseRequest getRequest)
getRequest - getting media request
public MediaGetResponse getMedia(String mediaId)
mediaId - Media id
public MediaBaseResponse updateMedia(MediaUpdateRequest updateRequest)
updateRequest - The updating media request
public MediaInstanceListResponse getMediaInstanceList(MediaBaseRequest getRequest)
getRequest - The getting instance list of media request
public MediaInstanceListResponse getMediaInstanceList(String mediaId)
mediaId - The media id
public MediaBaseResponse banMedia(MediaBaseRequest banRequest)
banRequest - The banning media request
public MediaBaseResponse banMedia(String mediaId)
mediaId - The media id
public MediaBaseResponse unbanMedia(MediaBaseRequest unbanRequest)
unbanRequest - The unbanning media request
public MediaBaseResponse unbanMedia(String mediaId)
mediaId - The media id
public ListByPageResponse<MediaListResponse> listMedia(MediaListRequest listRequest)
listRequest - The listing media request
public MediaBaseResponse deleteMedia(MediaBaseRequest deleteRequest)
deleteRequest - The deleting media request
public MediaBaseResponse deleteMedia(String mediaId)
mediaId - The media id
public MediaBaseResponse batchDeleteMedia(MediaBatchDeleteRequest batchDeleteRequest)
batchDeleteRequest - The batch deleting media request
public MediaBaseResponse batchDeleteMedia(List<String> mediaIds)
mediaIds - The media id list
public InstanceGetResponse getInstance(InstanceBaseRequest getRequest)
getRequest - The getting instance request
public InstanceGetResponse getInstance(String instanceId)
instanceId - The instance id
public InstanceGetTaskUrlsResponse getInstanceTaskUrls(InstanceBaseRequest getRequest)
getRequest - The getting instance task urls request
public InstanceGetTaskUrlsResponse getInstanceTaskUrls(String instanceId)
instanceId - The instance id
public TaskGetResponse getTask(TaskBaseRequest getRequest)
getRequest - The getting task request
public TaskGetResponse getTask(String taskId)
taskId - The task id
public NotificationBaseResponse createNotification(NotificationCreateRequest createRequest)
createRequest - The creating notification request
public NotificationBaseResponse createNotification(String name,
String endpoint)
name - The notification nameendpoint - The notification endpoint
public NotificationBaseResponse createNotification(String name,
String endpoint,
String token,
AuthType authType)
name - The notification nameendpoint - The notification endpointtoken - The notification authentication tokenauthType - The notification auth type
public NotificationGetResponse getNotification(NotificationBaseRequest getRequest)
getRequest - The getting notification request
public NotificationGetResponse getNotification(String name)
name - The notification name
public NotificationListResponse listNotification(NotificationListRequest listRequest)
listRequest - The listing notification request.
public NotificationListResponse listNotification(NotificationStatus status)
status - The notification status
public NotificationListResponse listNotification()
public NotificationBaseResponse updateNotification(NotificationUpdateRequest updateRequest)
updateRequest - The updating notification request
public NotificationBaseResponse updateNotification(String name,
String endpoint)
name - The notification nameendpoint - The notification endpoint to update
public NotificationBaseResponse updateNotification(String name,
String endpoint,
String token,
AuthType authType)
name - The notification nameendpoint - The notification endpoint to updatetoken - The notification token to updateauthType - The notification authentication type to update
public NotificationBaseResponse enableNotification(NotificationBaseRequest enableRequest)
enableRequest - The enabling notification request
public NotificationBaseResponse enableNotification(String name)
name - The notification name
public NotificationBaseResponse disableNotification(NotificationBaseRequest disableRequest)
disableRequest - The disabling notification request
public NotificationBaseResponse disableNotification(String name)
name - The notification name
public NotificationBaseResponse deleteNotification(NotificationBaseRequest deleteRequest)
deleteRequest - The deleting notification request
public NotificationBaseResponse deleteNotification(String name)
name - The notification name
public MatlibUploadResponse upload2Material(MatlibUploadRequest matlibUploadRequest)
matlibUploadRequest - The uploading request
public MaterialGetResponse getMaterial(String materialId)
materialId - The material id
public MatlibConfigBaseResponse createMatlibConfig(MatlibConfigBaseRequest baseRequest)
baseRequest - The creating matlib config request.
public MatlibConfigBaseResponse updateMatlibConfig(MatlibConfigBaseRequest baseRequest)
baseRequest - The updating matlib config request.
public MatlibConfigGetResponse getMatlibConfig()
public Text2AudioResponse text2Audio(Text2AudioRequest text2AudioRequest)
text2AudioRequest - The text to audio request
public VideoEditCreateResponse createVideoEdit(VideoEditCreateRequest videoEditCreateRequest)
videoEditCreateRequest -
public VideoEditPollingResponse pollingVideoEdit(long editId)
editId -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||