com.obs.services.model

## 类 ListVersionsRequest

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

-     public class ListVersionsRequest
      extends GenericRequest

  Parameters in a request for listing versioning objects in a bucket

- - ### 构造器概要

    构造器
    构造器和说明
    `ListVersionsRequest()`
    `ListVersionsRequest(String bucketName)` Constructor
    `ListVersionsRequest(String bucketName, int maxKeys)` Constructor
    `ListVersionsRequest(String bucketName, String prefix, String keyMarker, String delimiter, int maxKeys)` Constructor

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getBucketName()` Obtain the bucket name.
    `String` | `getDelimiter()` Character used for grouping versioning object names.
    `String` | `getKeyMarker()` Obtain the start position for listing versioning objects.
    `int` | `getListTimeout()`
    `int` | `getMaxKeys()` Obtain the maximum number of versioning objects to be listed.
    `String` | `getPrefix()` Obtain the object name prefix used for listing versioning objects.
    `String` | `getVersionIdMarker()` Obtain the start position (versionId) for listing versioning objects.
    `void` | `setBucketName(String bucketName)` Set the bucket name.
    `void` | `setDelimiter(String delimiter)` Set the character used for grouping versioning object names.
    `void` | `setKeyMarker(String keyMarker)` Set the start position for listing versioning objects.
    `void` | `setListTimeout(int listTimeout)`
    `void` | `setMaxKeys(int maxKeys)` Set the maximum number of versioning objects to be listed.
    `void` | `setPrefix(String prefix)` Set the object name prefix used for listing versioning objects.
    `void` | `setVersionIdMarker(String versionIdMarker)` Set the start position (versionId) for listing versioning objects.
    `String` | `toString()`

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

      `isRequesterPays, setRequesterPays`

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

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

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

    - #### ListVersionsRequest

          public ListVersionsRequest()

    - #### ListVersionsRequest

          public ListVersionsRequest(String bucketName)

      Constructor
      参数:
        `bucketName` - Bucket name

    - #### ListVersionsRequest

          public ListVersionsRequest(String bucketName,
                                     int maxKeys)

      Constructor
      参数:
        `bucketName` - Bucket name
        `maxKeys` - Maximum number of versioning objects to be listed

    - #### ListVersionsRequest

          public ListVersionsRequest(String bucketName,
                                     String prefix,
                                     String keyMarker,
                                     String delimiter,
                                     int maxKeys)

      Constructor
      参数:
        `bucketName` - Bucket name
        `prefix` - Oject name prefix used for listing versioning objects
        `keyMarker` - Start position for listing versioning objects
        `delimiter` - Character used for sorting versioning object names into groups
        `maxKeys` - Maximum number of versioning objects to be listed

  - ### 方法详细资料

    - #### getBucketName

          public String getBucketName()

      Obtain the bucket name.
      返回:
        Bucket name

    - #### setBucketName

          public void setBucketName(String bucketName)

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

    - #### getPrefix

          public String getPrefix()

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

    - #### setPrefix

          public void setPrefix(String prefix)

      Set the object name prefix used for listing versioning objects.
      参数:
        `prefix` - Object name prefix

    - #### getMaxKeys

          public int getMaxKeys()

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

    - #### setMaxKeys

          public void setMaxKeys(int maxKeys)

      Set the maximum number of versioning objects to be listed.
      参数:
        `maxKeys` - Maximum number of versioning objects to be listed

    - #### getDelimiter

          public String getDelimiter()

      Character used for grouping versioning object names.
      返回:
        Character for grouping object names

    - #### setDelimiter

          public void setDelimiter(String delimiter)

      Set the character used for grouping versioning object names.
      参数:
        `delimiter` - Character for grouping objet names

    - #### getVersionIdMarker

          public String getVersionIdMarker()

      Obtain the start position (versionId) for listing versioning objects.
      返回:
        Start position for listing versioning objects

    - #### setVersionIdMarker

          public void setVersionIdMarker(String versionIdMarker)

      Set the start position (versionId) for listing versioning objects.
      参数:
        `versionIdMarker` - Start position for listing versioning objects

    - #### getKeyMarker

          public String getKeyMarker()

      Obtain the start position for listing versioning objects.
      返回:
        Start position for listing versioning objects

    - #### setKeyMarker

          public void setKeyMarker(String keyMarker)

      Set the start position for listing versioning objects.
      参数:
        `keyMarker` - Start position for listing versioning objects

    - #### getListTimeout

          public int getListTimeout()

    - #### setListTimeout

          public void setListTimeout(int listTimeout)

    - #### toString

          public String toString()

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

Copyright © 2021. All rights reserved.