com.aliyun.oss.model

## 类 CompleteMultipartUploadResult

- java.lang.Object
- - com.aliyun.oss.model.GenericResult
  - - com.aliyun.oss.model.CompleteMultipartUploadResult

- 所有已实现的接口:
    CallbackResult

      public class CompleteMultipartUploadResult
      extends GenericResult
      implements CallbackResult

  The result of a multipart upload.

- - ### 构造器概要

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

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getBucketName()` Gets the bucket name of the target file of this multipart upload.
    `InputStream` | `getCallbackResponseBody()` 已过时。
    `String` | `getETag()` Gets the ETag of the target file.
    `String` | `getKey()` Gets the target file's key.
    `String` | `getLocation()` Gets the url of the target file of this multipart upload.
    `String` | `getVersionId()` Gets version id.
    `void` | `setBucketName(String bucketName)` Sets the bucket name of the target file of this multipart upload.
    `void` | `setCallbackResponseBody(InputStream callbackResponseBody)` Sets the callback response body.
    `void` | `setETag(String etag)` Sets the ETag of the target file.
    `void` | `setKey(String key)` Sets the target file's key.
    `void` | `setLocation(String location)` Sets the url of the target file of this multipart upload.
    `void` | `setVersionId(String versionId)` Sets version id.

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

      `getClientCRC, getRequestId, getResponse, getServerCRC, setClientCRC, setRequestId, setResponse, setServerCRC`

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

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

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

    - #### CompleteMultipartUploadResult

          public CompleteMultipartUploadResult()

  - ### 方法详细资料

    - #### getLocation

          public String getLocation()

      Gets the url of the target file of this multipart upload.
      返回:
        The url of the target file of this multipart upload.

    - #### setLocation

          public void setLocation(String location)

      Sets the url of the target file of this multipart upload.
      参数:
        `location` - The url of the target file of this multipart upload.

    - #### getBucketName

          public String getBucketName()

      Gets the bucket name of the target file of this multipart upload.
      返回:
        Bucket name.

    - #### setBucketName

          public void setBucketName(String bucketName)

      Sets the bucket name of the target file of this multipart upload.
      参数:
        `bucketName` - Bucket name.

    - #### getKey

          public String getKey()

      Gets the target file's key.
      返回:
        The target file's key.

    - #### setKey

          public void setKey(String key)

      Sets the target file's key.
      参数:
        `key` - The target file's key.

    - #### getETag

          public String getETag()

      Gets the ETag of the target file.
      返回:
        ETag of the target file.

    - #### setETag

          public void setETag(String etag)

      Sets the ETag of the target file.
      参数:
        `etag` - ETag of the target file.

    - #### getVersionId

          public String getVersionId()

      Gets version id.
      返回:
        version id.

    - #### setVersionId

          public void setVersionId(String versionId)

      Sets version id.
      参数:
        `versionId` -

    - #### getCallbackResponseBody

          @Deprecated
          public InputStream getCallbackResponseBody()

      已过时。
      Deprecated. Gets the callback response body. The caller needs to close it after usage.
      指定者:
        `getCallbackResponseBody` 在接口中 `CallbackResult`
      返回:
        The response body.

    - #### setCallbackResponseBody

          public void setCallbackResponseBody(InputStream callbackResponseBody)

      Sets the callback response body.
      指定者:
        `setCallbackResponseBody` 在接口中 `CallbackResult`
      参数:
        `callbackResponseBody` - The callback response body.

Copyright © 2020. All Rights Reserved.