类 CreateAsyncFetchJobsRequest
java.lang.Object
com.oef.services.model.CreateAsyncFetchJobsRequest
Create an asynchronous fetch job request in the JSON format.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Obtain the bucket name.Obtain the callback body.Obtain the content type of the callback body.Obtain the host used for callback.Obtain the callback URL.Obtain the storage file typegetHost()Obtain the host used for downloading data from a specified URL.getMd5()Obtain the MD5 file.Obtain the object name.getUrl()Obtain the URL.booleanIf a file with the same name already exists in the namespace, the current fetch job is canceled.voidsetBucketName(String bucket) Set the bucket name.voidsetCallBackBody(String callBackBody) Set the callback body (Base64 encoded).voidsetCallbackBodyType(String callBackBodyType) Set the content type of the callback body.voidsetCallBackHost(String callBackHost) Set the host used for callback.voidsetCallBackUrl(String callBackUrl) Set the callback URL.voidsetFileType(String fileType) Set the storage file typevoidSet the host used for downloading data from a specified URL.voidsetignoreSameKey(boolean ignoreSameKey) voidSet the MD5 file.voidsetObjectKey(String key) Set the object name.voidSet the URL.toString()
-
构造器详细资料
-
CreateAsyncFetchJobsRequest
public CreateAsyncFetchJobsRequest() -
CreateAsyncFetchJobsRequest
-
-
方法详细资料
-
getUrl
-
setUrl
-
getBucketName
-
setBucketName
-
getHost
Obtain the host used for downloading data from a specified URL.- 返回:
- Host used for downloading data from a specified URL
-
setHost
Set the host used for downloading data from a specified URL.- 参数:
host- Host used for downloading data from a specified URL
-
getObjectKey
-
setObjectKey
-
getMd5
-
setMd5
-
getCallBackUrl
-
setCallBackUrl
Set the callback URL.- 参数:
callBackUrl- Callback URL.
-
getCallBackBody
-
setCallBackBody
Set the callback body (Base64 encoded).- 参数:
callBackBody- Callback body- 抛出:
com.obs.services.internal.ServiceException
-
getCallbackBodyType
Obtain the content type of the callback body.- 返回:
- Content type of the callback body
-
setCallbackBodyType
Set the content type of the callback body.- 参数:
callBackBodyType- Content type of the callback body
-
getCallBackHost
-
setCallBackHost
Set the host used for callback.- 参数:
callBackHost- Host used for callback
-
getFileType
-
setFileType
-
isignoreSameKey
public boolean isignoreSameKey()If a file with the same name already exists in the namespace, the current fetch job is canceled.- 返回:
- ignoreSameKey
-
setignoreSameKey
public void setignoreSameKey(boolean ignoreSameKey) - 参数:
ignoreSameKey-
-
toString
-