com.obs.services.model

## 类 ModifyObjectRequest

- java.lang.Object
- - com.obs.services.model.GenericRequest
  - - com.obs.services.model.PutObjectBasicRequest
    - - com.obs.services.model.PutObjectRequest
      - - com.obs.services.model.AppendObjectRequest
        - - com.obs.services.model.ModifyObjectRequest

-     public class ModifyObjectRequest
      extends AppendObjectRequest

  Request parameters for writing data to a file

- - ### 字段概要

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

      `position`

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

      `expires, file, input, metadata, offset`

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

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

  - ### 构造器概要

    构造器
    构造器和说明
    `ModifyObjectRequest()`
    `ModifyObjectRequest(String bucketName, String objectKey)` Constructor
    `ModifyObjectRequest(String bucketName, String objectKey, File file)` Constructor
    `ModifyObjectRequest(String bucketName, String objectKey, File file, long position)` Constructor
    `ModifyObjectRequest(String bucketName, String objectKey, InputStream input)` Constructor
    `ModifyObjectRequest(String bucketName, String objectKey, InputStream input, long position)` Constructor

  - ### 方法概要

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

      `getPosition, setPosition`

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

      `getExpires, getFile, getInput, getMetadata, getOffset, getProgressInterval, getProgressListener, isAutoClose, setAutoClose, setExpires, setFile, setInput, setMetadata, setOffset, setProgressInterval, setProgressListener, toString`

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

      `getAcl, getAllGrantPermissions, getBucketName, getDomainIdsByGrantPermission, getExtensionPermissionMap, getGrantPermissionsByDomainId, getObjectKey, getSseCHeader, getSseKmsHeader, getSuccessRedirectLocation, grantExtensionPermission, setAcl, setBucketName, setExtensionPermissionMap, setObjectKey, 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`

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

    - #### ModifyObjectRequest

          public ModifyObjectRequest()

    - #### ModifyObjectRequest

          public ModifyObjectRequest(String bucketName,
                                     String objectKey)

      Constructor
      参数:
        `bucketName` - Bucket name
        `objectKey` - File name

    - #### ModifyObjectRequest

          public ModifyObjectRequest(String bucketName,
                                     String objectKey,
                                     File file)

      Constructor
      参数:
        `bucketName` - Bucket name
        `objectKey` - File name
        `file` - Local path to the file

    - #### ModifyObjectRequest

          public ModifyObjectRequest(String bucketName,
                                     String objectKey,
                                     File file,
                                     long position)

      Constructor
      参数:
        `bucketName` - Bucket name
        `objectKey` - File name
        `file` - Local path to the file
        `position` - Start position for writing data to a file

    - #### ModifyObjectRequest

          public ModifyObjectRequest(String bucketName,
                                     String objectKey,
                                     InputStream input)

      Constructor
      参数:
        `bucketName` - Bucket name
        `objectKey` - File name
        `input` - Data stream to be uploaded

    - #### ModifyObjectRequest

          public ModifyObjectRequest(String bucketName,
                                     String objectKey,
                                     InputStream input,
                                     long position)

      Constructor
      参数:
        `bucketName` - Bucket name
        `objectKey` - File name
        `input` - Data stream to be uploaded
        `position` - Start position for writing data to a file

Copyright © 2021. All rights reserved.