com.obs.services.model

## 类 CopyPartRequest

- java.lang.Object
- - com.obs.services.model.GenericRequest
  - - com.obs.services.model.CopyPartRequest

-     public class CopyPartRequest
      extends GenericRequest

  Parameters in the request for copying a part

- - ### 构造器概要

    构造器
    构造器和说明
    `CopyPartRequest()`
    `CopyPartRequest(String uploadId, String sourceBucketName, String sourceObjectKey, String destinationBucketName, String destinationObjectKey, int partNumber)` Constructor

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `Long` | `getByteRangeEnd()` Obtain the end position for copying.
    `Long` | `getByteRangeStart()` Obtain the start position for copying.
    `String` | `getDestinationBucketName()` Obtain the name of the bucket (destination bucket) to which the multipart upload belongs.
    `String` | `getDestinationObjectKey()` Obtain the name of the object (destination object) involved in the multipart upload.
    `int` | `getPartNumber()` Obtain the part number of the to-be-copied part.
    `String` | `getSourceBucketName()` Obtain the source bucket name.
    `String` | `getSourceObjectKey()` Obtain the source object name.
    `SseCHeader` | `getSseCHeaderDestination()` Obtain SSE-C encryption headers of the destination object.
    `SseCHeader` | `getSseCHeaderSource()` Obtain SSE-C decryption headers of the source object.
    `String` | `getUploadId()` Obtain the multipart upload ID.
    `String` | `getVersionId()` Obtain the version ID of the source object.
    `void` | `setByteRangeEnd(Long byteRangeEnd)` Set the end position for copying.
    `void` | `setByteRangeStart(Long byteRangeStart)` Set the start position for copying.
    `void` | `setDestinationBucketName(String destBucketName)` Set the name of the bucket (destination bucket) to which the multipart upload belongs.
    `void` | `setDestinationObjectKey(String destObjectKey)` Set the name of the object (destination object) involved in the multipart upload.
    `void` | `setPartNumber(int partNumber)` Set the part number of the to-be-copied part.
    `void` | `setSourceBucketName(String bucketName)` Set the source bucket name.
    `void` | `setSourceObjectKey(String objectKey)` Set the source object name.
    `void` | `setSseCHeaderDestination(SseCHeader sseCHeaderDestination)` Set SSE-C encryption headers for the destination object.
    `void` | `setSseCHeaderSource(SseCHeader sseCHeaderSource)` Set SSE-C decryption headers of the source object.
    `void` | `setUploadId(String uploadId)` Set the multipart upload ID.
    `void` | `setVersionId(String versionId)` Set the version ID for the source object.
    `String` | `toString()`

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

      `isRequesterPays, setRequesterPays`

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

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

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

    - #### CopyPartRequest

          public CopyPartRequest()

    - #### CopyPartRequest

          public CopyPartRequest(String uploadId,
                                 String sourceBucketName,
                                 String sourceObjectKey,
                                 String destinationBucketName,
                                 String destinationObjectKey,
                                 int partNumber)

      Constructor
      参数:
        `uploadId` - Multipart upload ID
        `sourceBucketName` - Source bucket name
        `sourceObjectKey` - Source object name
        `destinationBucketName` - Destination bucket name
        `destinationObjectKey` - Destination object name
        `partNumber` - Part number

  - ### 方法详细资料

    - #### getSseCHeaderSource

          public SseCHeader getSseCHeaderSource()

      Obtain SSE-C decryption headers of the source object.
      返回:
        SSE-C decryption headers of the source object

    - #### setSseCHeaderSource

          public void setSseCHeaderSource(SseCHeader sseCHeaderSource)

      Set SSE-C decryption headers of the source object.
      参数:
        `sseCHeaderSource` - SSE-C decryption headers of the source object

    - #### getSseCHeaderDestination

          public SseCHeader getSseCHeaderDestination()

      Obtain SSE-C encryption headers of the destination object.
      返回:
        SSE-C encryption headers of the destination object

    - #### setSseCHeaderDestination

          public void setSseCHeaderDestination(SseCHeader sseCHeaderDestination)

      Set SSE-C encryption headers for the destination object.
      参数:
        `sseCHeaderDestination` - SSE-C encryption headers of the destination object

    - #### getByteRangeStart

          public Long getByteRangeStart()

      Obtain the start position for copying.
      返回:
        Start position for copying

    - #### setByteRangeStart

          public void setByteRangeStart(Long byteRangeStart)

      Set the start position for copying.
      参数:
        `byteRangeStart` - Start position for copying

    - #### getByteRangeEnd

          public Long getByteRangeEnd()

      Obtain the end position for copying.
      返回:
        End position for copying

    - #### setByteRangeEnd

          public void setByteRangeEnd(Long byteRangeEnd)

      Set the end position for copying.
      参数:
        `byteRangeEnd` - End position for copying

    - #### getPartNumber

          public int getPartNumber()

      Obtain the part number of the to-be-copied part.
      返回:
        Part number

    - #### setPartNumber

          public void setPartNumber(int partNumber)

      Set the part number of the to-be-copied part.
      参数:
        `partNumber` - Part number

    - #### getUploadId

          public String getUploadId()

      Obtain the multipart upload ID.
      返回:
        Multipart upload ID

    - #### setUploadId

          public void setUploadId(String uploadId)

      Set the multipart upload ID.
      参数:
        `uploadId` - Multipart upload ID

    - #### getSourceBucketName

          public String getSourceBucketName()

      Obtain the source bucket name.
      返回:
        Source bucket name

    - #### setSourceBucketName

          public void setSourceBucketName(String bucketName)

      Set the source bucket name.
      参数:
        `bucketName` - Source bucket name

    - #### getSourceObjectKey

          public String getSourceObjectKey()

      Obtain the source object name.
      返回:
        Source object name

    - #### setSourceObjectKey

          public void setSourceObjectKey(String objectKey)

      Set the source object name.
      参数:
        `objectKey` - Source object name

    - #### getDestinationBucketName

          public String getDestinationBucketName()

      Obtain the name of the bucket (destination bucket) to which the multipart upload belongs.
      返回:
        Name of the bucket to which the multipart upload belongs

    - #### setDestinationBucketName

          public void setDestinationBucketName(String destBucketName)

      Set the name of the bucket (destination bucket) to which the multipart upload belongs.
      参数:
        `destBucketName` - Name of the bucket to which the multipart upload belongs

    - #### getDestinationObjectKey

          public String getDestinationObjectKey()

      Obtain the name of the object (destination object) involved in the multipart upload.
      返回:
        Name of the object involved in the multipart upload

    - #### setDestinationObjectKey

          public void setDestinationObjectKey(String destObjectKey)

      Set the name of the object (destination object) involved in the multipart upload.
      参数:
        `destObjectKey` - Name of the object involved in the multipart upload

    - #### getVersionId

          public String getVersionId()

      Obtain the version ID of the source object.
      返回:
        Version ID of the source object

    - #### setVersionId

          public void setVersionId(String versionId)

      Set the version ID for the source object.
      参数:
        `versionId` - Version ID of the source object

    - #### toString

          public String toString()

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

Copyright © 2021. All rights reserved.