com.aliyun.oss.model

## 类 AsyncFetchTaskConfiguration

- java.lang.Object
- - com.aliyun.oss.model.AsyncFetchTaskConfiguration

-     public class AsyncFetchTaskConfiguration
      extends Object

- - ### 构造器概要

    构造器
    构造器和说明
    `AsyncFetchTaskConfiguration()`

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getCallback()` Gets the callback that you specified.
    `String` | `getContentMd5()` Gets the contentMd5 that you specified.
    `String` | `getHost()` Gets the host that you specified.
    `Boolean` | `getIgnoreSameKey()` Gets the ignoreSameKey option that you specified.
    `String` | `getObjectName()` Gets the destination object name
    `String` | `getUrl()` Gets the source object url.
    `void` | `setCallback(String callback)` Sets the callback after fetch object success.
    `void` | `setContentMd5(String contentMd5)` Sets the contentMd5 of the source object, it also can be null or empty.
    `void` | `setHost(String host)` Sets the host that you want to fetch, and it also can be null or empty.
    `void` | `setIgnoreSameKey(Boolean ignoreSameKey)` Sets the optional operation of ignore the task or not when the destination object already exists, true means ignore the task and false means it allows object coving.
    `void` | `setObjectName(String objectName)` Sets the destination object name
    `void` | `setUrl(String url)` Sets the source object url.
    `AsyncFetchTaskConfiguration` | `withCallback(String callback)` Sets the callback after fetch object success, and returns the updated AsyncFetchTaskConfiguration object.
    `AsyncFetchTaskConfiguration` | `withContentMd5(String contentMd5)` Sets the contentMd5 of the source file, it also can be null or empty, and returns the updated AsyncFetchTaskConfiguration object.
    `AsyncFetchTaskConfiguration` | `withHost(String host)` Sets the host that you want to fetch, it also can be null or empty, and returns the updated AsyncFetchTaskConfiguration object.
    `AsyncFetchTaskConfiguration` | `withIgnoreSameKey(Boolean ignoreSameKey)` Sets the optional operation of ignore the task or not when the destination object already exists, true means ignore the task and false means it allows object coving, and returns the updated AsyncFetchTaskConfiguration object.
    `AsyncFetchTaskConfiguration` | `withObjectName(String objectName)` Sets the destination object name and returns the updated AsyncFetchTaskConfiguration object.
    `AsyncFetchTaskConfiguration` | `withUrl(String url)` Sets the source object url and returns the updated AsyncFetchTaskConfiguration object.

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

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

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

    - #### AsyncFetchTaskConfiguration

          public AsyncFetchTaskConfiguration()

  - ### 方法详细资料

    - #### getUrl

          public String getUrl()

      Gets the source object url.

    - #### setUrl

          public void setUrl(String url)

      Sets the source object url.

    - #### withUrl

          public AsyncFetchTaskConfiguration withUrl(String url)

      Sets the source object url and returns the updated AsyncFetchTaskConfiguration object.

    - #### getObjectName

          public String getObjectName()

      Gets the destination object name

    - #### setObjectName

          public void setObjectName(String objectName)

      Sets the destination object name

    - #### withObjectName

          public AsyncFetchTaskConfiguration withObjectName(String objectName)

      Sets the destination object name and returns the updated AsyncFetchTaskConfiguration object.

    - #### getHost

          public String getHost()

      Gets the host that you specified.

    - #### setHost

          public void setHost(String host)

      Sets the host that you want to fetch, and it also can be null or empty.

    - #### withHost

          public AsyncFetchTaskConfiguration withHost(String host)

      Sets the host that you want to fetch, it also can be null or empty, and returns the updated AsyncFetchTaskConfiguration object.

    - #### getContentMd5

          public String getContentMd5()

      Gets the contentMd5 that you specified.

    - #### setContentMd5

          public void setContentMd5(String contentMd5)

      Sets the contentMd5 of the source object, it also can be null or empty.

    - #### withContentMd5

          public AsyncFetchTaskConfiguration withContentMd5(String contentMd5)

      Sets the contentMd5 of the source file, it also can be null or empty, and returns the updated AsyncFetchTaskConfiguration object.

    - #### getCallback

          public String getCallback()

      Gets the callback that you specified.

    - #### setCallback

          public void setCallback(String callback)

      Sets the callback after fetch object success.

    - #### withCallback

          public AsyncFetchTaskConfiguration withCallback(String callback)

      Sets the callback after fetch object success, and returns the updated AsyncFetchTaskConfiguration object.

    - #### getIgnoreSameKey

          public Boolean getIgnoreSameKey()

      Gets the ignoreSameKey option that you specified.

    - #### setIgnoreSameKey

          public void setIgnoreSameKey(Boolean ignoreSameKey)

      Sets the optional operation of ignore the task or not when the destination object already exists, true means ignore the task and false means it allows object coving.

    - #### withIgnoreSameKey

          public AsyncFetchTaskConfiguration withIgnoreSameKey(Boolean ignoreSameKey)

      Sets the optional operation of ignore the task or not when the destination object already exists, true means ignore the task and false means it allows object coving, and returns the updated AsyncFetchTaskConfiguration object.

Copyright © 2020. All Rights Reserved.