## 类 com.aliyun.oss.model.AsyncFetchTaskConfiguration
的使用

- 使用AsyncFetchTaskConfiguration的程序包
  程序包 | 说明
  --- | ---
  com.aliyun.oss |
  com.aliyun.oss.common.parser |
  com.aliyun.oss.model |

- - ### com.aliyun.oss中AsyncFetchTaskConfiguration的使用

    参数类型为AsyncFetchTaskConfiguration的com.aliyun.oss中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `SetAsyncFetchTaskResult` | OSSClient.`setAsyncFetchTask(String bucketName, AsyncFetchTaskConfiguration asyncFetchTaskConfiguration)`
    `SetAsyncFetchTaskResult` | OSS.`setAsyncFetchTask(String bucketName, AsyncFetchTaskConfiguration asyncFetchTaskConfiguration)` Sets an async fetch task.

  - ### com.aliyun.oss.common.parser中AsyncFetchTaskConfiguration的使用

    参数类型为AsyncFetchTaskConfiguration的com.aliyun.oss.common.parser中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `byte[]` | RequestMarshallers.SetAsyncFetchTaskRequestMarshaller.`marshall(AsyncFetchTaskConfiguration asyncFetchTaskConfiguration)`

  - ### com.aliyun.oss.model中AsyncFetchTaskConfiguration的使用

    返回AsyncFetchTaskConfiguration的com.aliyun.oss.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `AsyncFetchTaskConfiguration` | SetAsyncFetchTaskRequest.`getAsyncFetchTaskConfiguration()`
    `AsyncFetchTaskConfiguration` | GetAsyncFetchTaskResult.`getAsyncFetchTaskConfiguration()` Gets the async task configuration.
    `AsyncFetchTaskConfiguration` | AsyncFetchTaskConfiguration.`withCallback(String callback)` Sets the callback after fetch object success, and returns the updated AsyncFetchTaskConfiguration object.
    `AsyncFetchTaskConfiguration` | 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` | 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` | 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` | AsyncFetchTaskConfiguration.`withObjectName(String objectName)` Sets the destination object name and returns the updated AsyncFetchTaskConfiguration object.
    `AsyncFetchTaskConfiguration` | AsyncFetchTaskConfiguration.`withUrl(String url)` Sets the source object url and returns the updated AsyncFetchTaskConfiguration object.

    参数类型为AsyncFetchTaskConfiguration的com.aliyun.oss.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | SetAsyncFetchTaskRequest.`setAsyncFetchTaskConfiguration(AsyncFetchTaskConfiguration asyncFetchTaskConfiguration)`
    `void` | GetAsyncFetchTaskResult.`setAsyncFetchTaskConfiguration(AsyncFetchTaskConfiguration asyncFetchTaskConfiguration)` Sets the async task configuration.
    `SetAsyncFetchTaskRequest` | SetAsyncFetchTaskRequest.`withAsyncFetchTaskConfiguration(AsyncFetchTaskConfiguration asyncFetchTaskConfiguration)`

    参数类型为AsyncFetchTaskConfiguration的com.aliyun.oss.model中的构造器
    构造器和说明
    `SetAsyncFetchTaskRequest(String bucketName, AsyncFetchTaskConfiguration asyncFetchTaskConfiguration)`

Copyright © 2020. All Rights Reserved.