类 GetSnapshotListResponse

java.lang.Object
com.obs.services.internal.service.InternalHeaderResponse
com.obs.services.model.HeaderResponse
com.obs.services.model.GetSnapshotListResponse

public class GetSnapshotListResponse extends HeaderResponse
Response for getting snapshot list
  • 构造器详细资料

    • GetSnapshotListResponse

      public GetSnapshotListResponse(String marker, String nextMarker, boolean truncated, int maxKeys, int snapshotCount, List<Snapshot> snapshots)
  • 方法详细资料

    • getMarker

      public String getMarker()
      Obtain the marker for the current listing position.
      返回:
      Current marker
    • setMarker

      public void setMarker(String marker)
      Set the marker for the current listing position.
      参数:
      marker - Current marker
    • getNextMarker

      public String getNextMarker()
      Obtain the next marker for pagination.
      返回:
      Next marker
    • setNextMarker

      public void setNextMarker(String nextMarker)
      Set the next marker for pagination.
      参数:
      nextMarker - Next marker
    • isTruncated

      public boolean isTruncated()
      Check if the result is truncated.
      返回:
      true if truncated, false otherwise
    • setTruncated

      public void setTruncated(boolean truncated)
      Set whether the result is truncated.
      参数:
      truncated - Truncation status
    • getMaxKeys

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

      public void setMaxKeys(int maxKeys)
      Set the maximum number of snapshots requested.
      参数:
      maxKeys - Maximum number of snapshots
    • getSnapshotCount

      public int getSnapshotCount()
      Obtain the number of snapshots returned.
      返回:
      Snapshot count
    • setSnapshotCount

      public void setSnapshotCount(int snapshotCount)
      Set the number of snapshots returned.
      参数:
      snapshotCount - Snapshot count
    • getSnapshotList

      public List<Snapshot> getSnapshotList()
      Obtain the list of snapshots.
      返回:
      Snapshot list
    • setSnapshotList

      public void setSnapshotList(List<Snapshot> snapshotList)
      Set the list of snapshots.
      参数:
      snapshotList - Snapshot list
    • toString

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