public class CreateAsyncFetchJobsRequest extends Object
Constructor and Description |
---|
CreateAsyncFetchJobsRequest() |
CreateAsyncFetchJobsRequest(String url,
String bucket)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getBucketName()
Obtain the bucket name.
|
String |
getCallBackBody()
Obtain the callback body.
|
String |
getCallbackBodyType()
Obtain the content type of the callback body.
|
String |
getCallBackHost()
Obtain the host used for callback.
|
String |
getCallBackUrl()
Obtain the callback URL.
|
String |
getFileType()
Obtain the storage file type
|
String |
getHost()
Obtain the host used for downloading data from a specified URL.
|
String |
getMd5()
Obtain the MD5 file.
|
String |
getObjectKey()
Obtain the object name.
|
String |
getUrl()
Obtain the URL.
|
boolean |
isignoreSameKey()
If a file with the same name already exists in the namespace, the current fetch job is canceled.
|
void |
setBucketName(String bucket)
Set the bucket name.
|
void |
setCallBackBody(String callBackBody)
Set the callback body (Base64 encoded).
|
void |
setCallbackBodyType(String callBackBodyType)
Set the content type of the callback body.
|
void |
setCallBackHost(String callBackHost)
Set the host used for callback.
|
void |
setCallBackUrl(String callBackUrl)
Set the callback URL.
|
void |
setFileType(String fileType)
Set the storage file type
|
void |
setHost(String host)
Set the host used for downloading data from a specified URL.
|
void |
setignoreSameKey(boolean ignoreSameKey) |
void |
setMd5(String md5)
Set the MD5 file.
|
void |
setObjectKey(String key)
Set the object name.
|
void |
setUrl(String url)
Set the URL.
|
String |
toString() |
public String getUrl()
public void setUrl(String url)
url
- public String getBucketName()
public void setBucketName(String bucket)
bucket
- Bucket namepublic String getHost()
public void setHost(String host)
host
- Host used for downloading data from a specified URLpublic String getObjectKey()
public void setObjectKey(String key)
key
- Object namepublic String getMd5()
public void setMd5(String md5)
md5
- public String getCallBackUrl()
public void setCallBackUrl(String callBackUrl)
callBackUrl
- Callback URL.public String getCallBackBody()
public void setCallBackBody(String callBackBody) throws com.obs.services.internal.ServiceException
callBackBody
- Callback bodycom.obs.services.internal.ServiceException
public String getCallbackBodyType()
public void setCallbackBodyType(String callBackBodyType)
callBackBodyType
- Content type of the callback bodypublic String getCallBackHost()
public void setCallBackHost(String callBackHost)
callBackHost
- Host used for callbackpublic String getFileType()
public void setFileType(String fileType)
fileType
- Storage file typepublic boolean isignoreSameKey()
public void setignoreSameKey(boolean ignoreSameKey)
ignoreSameKey
- Copyright © 2019. All rights reserved.