com.obs.services.model

## 类 InitiateMultipartUploadRequest

- java.lang.Object
- - com.obs.services.model.GenericRequest
  - - com.obs.services.model.PutObjectBasicRequest
    - - com.obs.services.model.InitiateMultipartUploadRequest

-     public class InitiateMultipartUploadRequest
      extends PutObjectBasicRequest

  Parameters in a request for initializing a multipart upload

- - ### 字段概要

    - ### 从类继承的字段 com.obs.services.model.PutObjectBasicRequest

      `acl, bucketName, extensionPermissionMap, objectKey, sseCHeader, sseKmsHeader, successRedirectLocation`

  - ### 构造器概要

    构造器
    构造器和说明
    `InitiateMultipartUploadRequest()`
    `InitiateMultipartUploadRequest(String bucketName, String objectKey)` Constructor

  - ### 方法概要

    所有方法 实例方法 具体方法 已过时的方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getBucketName()` Obtain the name of the bucket to which the multipart upload belongs.
    `int` | `getExpires()` Obtain the expiration time of the object generated after the multipart upload is complete.
    `ObjectMetadata` | `getMetadata()` Set object properties, including customized metadata.
    `String` | `getObjectKey()` Obtain the name of the object involved in the multipart upload.
    `String` | `getWebSiteRedirectLocation()` 已过时。
    `void` | `setBucketName(String bucketName)` Set the name for the bucket to which the multipart upload belongs.
    `void` | `setExpires(int expires)` Set the expiration time of the object generated after the multipart upload is complete.
    `void` | `setMetadata(ObjectMetadata metadata)` Obtain object properties, including customized metadata.
    `void` | `setObjectKey(String objectKey)` Set the name for the object involved in the multipart upload.
    `void` | `setWebSiteRedirectLocation(String webSiteRedirectLocation)` 已过时。
    `String` | `toString()`

    - ### 从类继承的方法 com.obs.services.model.PutObjectBasicRequest

      `getAcl, getAllGrantPermissions, getDomainIdsByGrantPermission, getExtensionPermissionMap, getGrantPermissionsByDomainId, getSseCHeader, getSseKmsHeader, getSuccessRedirectLocation, grantExtensionPermission, setAcl, setExtensionPermissionMap, setSseCHeader, setSseKmsHeader, setSuccessRedirectLocation, withdrawExtensionPermission, withdrawExtensionPermissions`

    - ### 从类继承的方法 com.obs.services.model.GenericRequest

      `isRequesterPays, setRequesterPays`

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

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

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

    - #### InitiateMultipartUploadRequest

          public InitiateMultipartUploadRequest()

    - #### InitiateMultipartUploadRequest

          public InitiateMultipartUploadRequest(String bucketName,
                                                String objectKey)

      Constructor
      参数:
        `bucketName` - Name of the bucket to which the multipart upload belongs
        `objectKey` - Name of the object involved in the multipart upload

  - ### 方法详细资料

    - #### getExpires

          public int getExpires()

      Obtain the expiration time of the object generated after the multipart upload is complete.
      返回:
        Expiration time of the object

    - #### setExpires

          public void setExpires(int expires)

      Set the expiration time of the object generated after the multipart upload is complete. The value must be an integer.
      参数:
        `expires` - Expiration time of the object

    - #### getBucketName

          public String getBucketName()

      Obtain the name of the bucket to which the multipart upload belongs.
      覆盖:
        `getBucketName` 在类中 `PutObjectBasicRequest`
      返回:
        Name of the bucket to which the multipart upload belongs

    - #### setBucketName

          public void setBucketName(String bucketName)

      Set the name for the bucket to which the multipart upload belongs.
      覆盖:
        `setBucketName` 在类中 `PutObjectBasicRequest`
      参数:
        `bucketName` - Name of the bucket to which the multipart upload belongs

    - #### getObjectKey

          public String getObjectKey()

      Obtain the name of the object involved in the multipart upload.
      覆盖:
        `getObjectKey` 在类中 `PutObjectBasicRequest`
      返回:
        Name of the object involved in the multipart upload

    - #### setObjectKey

          public void setObjectKey(String objectKey)

      Set the name for the object involved in the multipart upload.
      覆盖:
        `setObjectKey` 在类中 `PutObjectBasicRequest`
      参数:
        `objectKey` - Name of the object involved in the multipart upload

    - #### getWebSiteRedirectLocation

          @Deprecated
          public String getWebSiteRedirectLocation()

      已过时。
      Set the redirection link which can redirect the request to another object in the bucket or to an external URL.
      返回:
        Redirection link

    - #### setWebSiteRedirectLocation

          @Deprecated
          public void setWebSiteRedirectLocation(String webSiteRedirectLocation)

      已过时。
      Obtain the redirection link which can redirect the request to another object in the bucket or to an external URL.
      参数:
        `webSiteRedirectLocation` - Redirection link

    - #### getMetadata

          public ObjectMetadata getMetadata()

      Set object properties, including customized metadata. "content-type" is supported.
      返回:
        Object properties

    - #### setMetadata

          public void setMetadata(ObjectMetadata metadata)

      Obtain object properties, including customized metadata. "content-type" is supported.
      参数:
        `metadata` - Object properties

    - #### toString

          public String toString()

      覆盖:
        `toString` 在类中 `GenericRequest`

Copyright © 2021. All rights reserved.