com.oef.services.model

## 类 CreateAsyncFetchJobsRequest

- java.lang.Object
- - com.oef.services.model.CreateAsyncFetchJobsRequest

-     public class CreateAsyncFetchJobsRequest
      extends Object

  Create an asynchronous fetch job request in the JSON format.

- - ### 构造器概要

    构造器
    构造器和说明
    `CreateAsyncFetchJobsRequest()`
    `CreateAsyncFetchJobsRequest(String url, String bucket)` Constructor

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `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()`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### 构造器详细资料

    - #### 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 com.obs.services.internal.ServiceException

      Set the callback body (Base64 encoded).
      参数:
        `callBackBody` - Callback body
      抛出:
        `com.obs.services.internal.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`

Copyright © 2021. All rights reserved.