com.aliyun.oss.model

## 类 InitiateMultipartUploadRequest

- java.lang.Object
- - com.aliyun.oss.model.WebServiceRequest
  - - com.aliyun.oss.model.GenericRequest
    - - com.aliyun.oss.model.InitiateMultipartUploadRequest

-     public class InitiateMultipartUploadRequest
      extends GenericRequest

  This is the request that is used to initiate a multipart upload.

- - ### 字段概要

    - ### 从类继承的字段 com.aliyun.oss.model.WebServiceRequest

      `NOOP`

  - ### 构造器概要

    构造器
    构造器和说明
    `InitiateMultipartUploadRequest(String bucketName, String key)` Constructor
    `InitiateMultipartUploadRequest(String bucketName, String key, ObjectMetadata objectMetadata)` Constructor

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `ObjectMetadata` | `getObjectMetadata()` Gets the object's metadata.
    `Boolean` | `getSequentialMode()` Gets the sequential mode setting.
    `void` | `setObjectMetadata(ObjectMetadata objectMetadata)` Sets the object's metadata.
    `void` | `setSequentialMode(Boolean sequentialMode)` Sets upload in sequential mode or not.

    - ### 从类继承的方法 com.aliyun.oss.model.GenericRequest

      `getBucketName, getKey, getRequestPayer, getVersionId, setBucketName, setKey, setRequestPayer, setVersionId, withBucketName, withKey, withRequestPayer, withVersionId`

    - ### 从类继承的方法 com.aliyun.oss.model.WebServiceRequest

      `addAdditionalHeaderName, addHeader, addParameter, getAdditionalHeaderNames, getHeaders, getParameters, getProgressListener, isLogEnabled, setAdditionalHeaderNames, setHeaders, setLogEnabled, setParameters, setProgressListener, withProgressListener`

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

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

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

    - #### InitiateMultipartUploadRequest

          public InitiateMultipartUploadRequest(String bucketName,
                                        String key)

      Constructor
      参数:
        `bucketName` - Bucket name.
        `key` - Target object's key (which is the combined file after all parts are uploaded).

    - #### InitiateMultipartUploadRequest

          public InitiateMultipartUploadRequest(String bucketName,
                                        String key,
                                        ObjectMetadata objectMetadata)

      Constructor
      参数:
        `bucketName` - Bucket name.
        `key` - Target object's key (which is the combined file after all parts are uploaded).
        `objectMetadata` - Object's metadata.

  - ### 方法详细资料

    - #### getObjectMetadata

          public ObjectMetadata getObjectMetadata()

      Gets the object's metadata.
      返回:
        The metadata of the object to create.

    - #### setObjectMetadata

          public void setObjectMetadata(ObjectMetadata objectMetadata)

      Sets the object's metadata.
      参数:
        `objectMetadata` - The metadata of the object to create.

    - #### getSequentialMode

          public Boolean getSequentialMode()

      Gets the sequential mode setting.

    - #### setSequentialMode

          public void setSequentialMode(Boolean sequentialMode)

      Sets upload in sequential mode or not.

Copyright © 2020. All Rights Reserved.