com.obs.services.model.fs

## 类 RenameRequest

- java.lang.Object
- - com.obs.services.model.GenericRequest
  - - com.obs.services.model.fs.RenameRequest

-     public class RenameRequest
      extends GenericRequest

  Parameters in a request for renaming a file or folder

- - ### 构造器概要

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

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getBucketName()` Obtain the bucket name.
    `String` | `getNewObjectKey()` Obtain the new file or folder name.
    `String` | `getObjectKey()` Obtain the file or folder name.
    `void` | `setBucketName(String bucketName)` Set the bucket name.
    `void` | `setNewObjectKey(String newObjectKey)` Set the new file or folder name.
    `void` | `setObjectKey(String objectKey)` Set the file or folder name.

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

      `isRequesterPays, setRequesterPays, toString`

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

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

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

    - #### RenameRequest

          public RenameRequest()

    - #### RenameRequest

          public RenameRequest(String bucketName,
                               String objectKey,
                               String newObjectKey)

      Constructor
      参数:
        `bucketName` - Bucket name
        `objectKey` - File or folder name
        `newObjectKey` - New file or folder name

  - ### 方法详细资料

    - #### getBucketName

          public String getBucketName()

      Obtain the bucket name.
      返回:
        Bucket name

    - #### setBucketName

          public void setBucketName(String bucketName)

      Set the bucket name.
      参数:
        `bucketName` - Bucket name

    - #### getObjectKey

          public String getObjectKey()

      Obtain the file or folder name.
      返回:
        File or folder name

    - #### setObjectKey

          public void setObjectKey(String objectKey)

      Set the file or folder name.
      参数:
        `objectKey` - File or folder name

    - #### getNewObjectKey

          public String getNewObjectKey()

      Obtain the new file or folder name.
      返回:
        New file or folder name

    - #### setNewObjectKey

          public void setNewObjectKey(String newObjectKey)

      Set the new file or folder name.
      参数:
        `newObjectKey` - New file or folder name

Copyright © 2021. All rights reserved.