com.obs.services.model.fs

## 类 ObsFSFolder

- java.lang.Object
- - com.obs.services.internal.InternalHeaderResponse
  - - com.obs.services.model.HeaderResponse
    - - com.obs.services.model.PutObjectResult
      - - com.obs.services.model.fs.ObsFSFolder

- 直接已知子类:
    ObsFSFile

      public class ObsFSFolder
      extends PutObjectResult

  Folders in a bucket that supports the file interface

- - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `protected ObsClient` | `innerClient`

    - ### 从类继承的字段 com.obs.services.internal.InternalHeaderResponse

      `responseHeaders, statusCode`

  - ### 构造器概要

    构造器
    构造器和说明
    `ObsFSFolder(String bucketName, String objectKey, String etag, String versionId, StorageClassEnum storageClass, String objectUrl)`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `ObsFSAttribute` | `attribute()` Obtain folder properties.
    `protected void` | `checkInternalClient()`
    `TaskProgressStatus` | `dropFolder()` Delete a folder.
    `RenameResult` | `rename(String newName)` Rename a folder.
    `protected void` | `setInnerClient(ObsClient innerClient)`

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

      `getBucketName, getEtag, getObjectKey, getObjectStorageClass, getObjectUrl, getVersionId, toString`

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

      `getRequestId, getResponseHeaders, getStatusCode`

    - ### 从类继承的方法 com.obs.services.internal.InternalHeaderResponse

      `setResponseHeaders, setStatusCode`

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

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

- - ### 字段详细资料

    - #### innerClient

          protected ObsClient innerClient

  - ### 构造器详细资料

    - #### ObsFSFolder

          public ObsFSFolder(String bucketName,
                             String objectKey,
                             String etag,
                             String versionId,
                             StorageClassEnum storageClass,
                             String objectUrl)

  - ### 方法详细资料

    - #### setInnerClient

          protected void setInnerClient(ObsClient innerClient)

    - #### attribute

          public ObsFSAttribute attribute()
                                   throws ObsException

      Obtain folder properties.
      返回:
        Folder properties
      抛出:
        `ObsException` - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails

    - #### rename

          public RenameResult rename(String newName)
                              throws ObsException

      Rename a folder.
      参数:
        `newName` - New folder name
      返回:
        Response to the request for renaming a folder
      抛出:
        `ObsException` - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails

    - #### dropFolder

          public TaskProgressStatus dropFolder()
                                        throws ObsException

      Delete a folder.
      抛出:
        `ObsException` - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails

    - #### checkInternalClient

          protected void checkInternalClient()

Copyright © 2021. All rights reserved.