类 GetSnapshotListRequest


public class GetSnapshotListRequest extends BaseObjectRequest
Request for getting snapshot list
  • 构造器详细资料

    • GetSnapshotListRequest

      public GetSnapshotListRequest(String bucketName, String objectKey)
      Constructor
      参数:
      bucketName - Bucket name
      objectKey - Object key
    • GetSnapshotListRequest

      public GetSnapshotListRequest(String bucketName, String objectKey, String marker)
      Constructor
      参数:
      bucketName - Bucket name
      objectKey - Object key
      marker - Start position for listing snapshots
    • GetSnapshotListRequest

      public GetSnapshotListRequest(String bucketName, String objectKey, int maxKeys)
      Constructor
      参数:
      bucketName - Bucket name
      objectKey - Object key
      maxKeys - Maximum number of snapshots to be returned
    • GetSnapshotListRequest

      public GetSnapshotListRequest(String bucketName, String objectKey, String marker, int maxKeys)
      Main constructor - all field assignments happen here only
      参数:
      bucketName - Bucket name
      objectKey - Object key
      marker - Start position for listing snapshots
      maxKeys - Maximum number of snapshots to be returned
  • 方法详细资料

    • getObjectKey

      public String getObjectKey()
      Obtain the object key.
      覆盖:
      getObjectKey 在类中 BaseObjectRequest
      返回:
      Object key
    • setObjectKey

      public void setObjectKey(String objectKey)
      Set the object key.
      覆盖:
      setObjectKey 在类中 BaseObjectRequest
      参数:
      objectKey - Object key
    • getMarker

      public String getMarker()
      Obtain the start position for listing snapshots.
      返回:
      Start position marker
    • setMarker

      public void setMarker(String marker)
      Set the start position for listing snapshots.
      参数:
      marker - Start position marker
    • getMaxKeys

      public int getMaxKeys()
      Obtain the maximum number of snapshots to be returned.
      返回:
      Maximum number of snapshots
    • setMaxKeys

      public void setMaxKeys(int maxKeys)
      Set the maximum number of snapshots to be returned.
      参数:
      maxKeys - Maximum number of snapshots
    • toString

      public String toString()
      覆盖:
      toString 在类中 BaseObjectRequest