类 CreateAsyncFetchJobsRequest

java.lang.Object
cn.warpin.thirdPart.huawei.obs.services.model.CreateAsyncFetchJobsRequest

public class CreateAsyncFetchJobsRequest extends Object
Create an asynchronous fetch job request in the JSON format.
  • 字段详细资料

    • url

      private String url
    • bucket

      private String bucket
    • host

      private String host
    • key

      private String key
    • md5

      private String md5
    • callBackUrl

      private String callBackUrl
    • callBackBody

      private String callBackBody
    • callBackBodyType

      private String callBackBodyType
    • callBackHost

      private String callBackHost
    • fileType

      private String fileType
    • ignoreSameKey

      private boolean ignoreSameKey
  • 构造器详细资料

    • CreateAsyncFetchJobsRequest

      public CreateAsyncFetchJobsRequest()
    • CreateAsyncFetchJobsRequest

      public CreateAsyncFetchJobsRequest(String url, String bucket)
      Constructor
      参数:
      url - URL to be fetched. You can set multiple URLs and separate them with semicolons (;).
      bucket - Bucket name
  • 方法详细资料

    • getUrl

      public String getUrl()
      Obtain the URL.
      返回:
      url
    • setUrl

      public void setUrl(String url)
      Set the URL.
      参数:
      url -
    • getBucketName

      public String getBucketName()
      Obtain the bucket name.
      返回:
      Bucket name
    • setBucketName

      public void setBucketName(String bucket)
      Set the bucket name.
      参数:
      bucket - Bucket name
    • getHost

      public String getHost()
      Obtain the host used for downloading data from a specified URL.
      返回:
      Host used for downloading data from a specified URL
    • setHost

      public void setHost(String host)
      Set the host used for downloading data from a specified URL.
      参数:
      host - Host used for downloading data from a specified URL
    • getObjectKey

      public String getObjectKey()
      Obtain the object name.
      返回:
      Object name
    • setObjectKey

      public void setObjectKey(String key)
      Set the object name.
      参数:
      key - Object name
    • getMd5

      public String getMd5()
      Obtain the MD5 file.
      返回:
      File MD5
    • setMd5

      public void setMd5(String md5)
      Set the MD5 file.
      参数:
      md5 -
    • getCallBackUrl

      public String getCallBackUrl()
      Obtain the callback URL.
      返回:
      Callback URL.
    • setCallBackUrl

      public void setCallBackUrl(String callBackUrl)
      Set the callback URL.
      参数:
      callBackUrl - Callback URL.
    • getCallBackBody

      public String getCallBackBody()
      Obtain the callback body.
      返回:
      Callback body
    • setCallBackBody

      public void setCallBackBody(String callBackBody) throws ServiceException
      Set the callback body (Base64 encoded).
      参数:
      callBackBody - Callback body
      抛出:
      ServiceException
    • getCallbackBodyType

      public String getCallbackBodyType()
      Obtain the content type of the callback body.
      返回:
      Content type of the callback body
    • setCallbackBodyType

      public void setCallbackBodyType(String callBackBodyType)
      Set the content type of the callback body.
      参数:
      callBackBodyType - Content type of the callback body
    • getCallBackHost

      public String getCallBackHost()
      Obtain the host used for callback.
      返回:
      Host used for callback
    • setCallBackHost

      public void setCallBackHost(String callBackHost)
      Set the host used for callback.
      参数:
      callBackHost - Host used for callback
    • getFileType

      public String getFileType()
      Obtain the storage file type
      返回:
      Storage file type
    • setFileType

      public void setFileType(String fileType)
      Set the storage file type
      参数:
      fileType - Storage file type
    • 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

      public String toString()
      覆盖:
      toString 在类中 Object