com.obs.services.model

## 类 ListVersionsResult

- java.lang.Object
- - com.obs.services.internal.InternalHeaderResponse
  - - com.obs.services.model.HeaderResponse
    - - com.obs.services.model.ListVersionsResult

-     public class ListVersionsResult
      extends HeaderResponse

  Response to a request for listing versioning objects in a bucket

- - ### 字段概要

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

      `responseHeaders, statusCode`

  - ### 构造器概要

    构造器
    构造器和说明
    `ListVersionsResult(String bucketName, String prefix, String keyMarker, String nextKeyMarker, String versionIdMarker, String nextVersionIdMarker, String maxKeys, boolean isTruncated, VersionOrDeleteMarker[] versions, List<String> commonPrefixes, String location, String delimiter)`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getBucketName()` Obtain the bucket name.
    `List<String>` | `getCommonPrefixes()` Obtain the list of prefixes to the names of grouped objects.
    `String` | `getDelimiter()` Obtain the character for grouping object names.
    `String` | `getKeyMarker()` Obtain the start position for listing versioning objects (sorted by object name).
    `String` | `getLocation()` Obtain the bucket location.
    `String` | `getMaxKeys()` Obtain the maximum number of versioning objects to be listed.
    `String` | `getNextKeyMarker()` Start position for next listing (sorted by object name)
    `String` | `getNextVersionIdMarker()` Obtain the start position for next listing (sorted by version ID).
    `String` | `getPrefix()` Obtain the object name prefix used for listing versioning objects.
    `String` | `getVersionIdMarker()` Obtain the start position for listing versioning objects (sorted by version ID).
    `VersionOrDeleteMarker[]` | `getVersions()` Obtain the versioning object array in the bucket.
    `boolean` | `isAppendable()`
    `boolean` | `isTruncated()` Check whether the query result list is truncated.
    `String` | `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`

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

    - #### ListVersionsResult

          public ListVersionsResult(String bucketName,
                                    String prefix,
                                    String keyMarker,
                                    String nextKeyMarker,
                                    String versionIdMarker,
                                    String nextVersionIdMarker,
                                    String maxKeys,
                                    boolean isTruncated,
                                    VersionOrDeleteMarker[] versions,
                                    List<String> commonPrefixes,
                                    String location,
                                    String delimiter)

  - ### 方法详细资料

    - #### getBucketName

          public String getBucketName()

      Obtain the bucket name.
      返回:
        Bucket name

    - #### getPrefix

          public String getPrefix()

      Obtain the object name prefix used for listing versioning objects.
      返回:
        Object name prefix used for listing versioning objects

    - #### getKeyMarker

          public String getKeyMarker()

      Obtain the start position for listing versioning objects (sorted by object name).
      返回:
        Start position for listing objects

    - #### getVersionIdMarker

          public String getVersionIdMarker()

      Obtain the start position for listing versioning objects (sorted by version ID).
      返回:
        Start position for listing objects

    - #### getMaxKeys

          public String getMaxKeys()

      Obtain the maximum number of versioning objects to be listed.
      返回:
        Maximum number of versioning objects to be listed

    - #### isTruncated

          public boolean isTruncated()

      Check whether the query result list is truncated. Value "true" indicates that the results are incomplete while value "false" indicates that the results are complete.
      返回:
        Truncation identifier

    - #### getVersions

          public VersionOrDeleteMarker[] getVersions()

      Obtain the versioning object array in the bucket.
      返回:
        Versioning object array in the bucket. For details, see `VersionOrDeleteMarker`.

    - #### getNextKeyMarker

          public String getNextKeyMarker()

      Start position for next listing (sorted by object name)
      返回:
        Start position for next listing

    - #### getNextVersionIdMarker

          public String getNextVersionIdMarker()

      Obtain the start position for next listing (sorted by version ID).
      返回:
        Start position for next listing

    - #### getCommonPrefixes

          public List<String> getCommonPrefixes()

      Obtain the list of prefixes to the names of grouped objects.
      返回:
        List of prefixes to the names of grouped objects

    - #### getLocation

          public String getLocation()

      Obtain the bucket location.
      返回:
        Bucket location

    - #### getDelimiter

          public String getDelimiter()

      Obtain the character for grouping object names.
      返回:
        Character for grouping object names

    - #### isAppendable

          public boolean isAppendable()

    - #### toString

          public String toString()

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

Copyright © 2021. All rights reserved.