类 GetSnapshotListResponse
java.lang.Object
com.obs.services.internal.service.InternalHeaderResponse
com.obs.services.model.HeaderResponse
com.obs.services.model.GetSnapshotListResponse
-
字段概要
从类继承的字段 com.obs.services.internal.service.InternalHeaderResponse
originalHeaders, responseHeaders, statusCode -
构造器概要
构造器构造器说明GetSnapshotListResponse(String marker, String nextMarker, boolean truncated, int maxKeys, int snapshotCount, List<Snapshot> snapshots) -
方法概要
修饰符和类型方法说明Obtain the marker for the current listing position.intObtain the maximum number of snapshots requested.Obtain the next marker for pagination.intObtain the number of snapshots returned.Obtain the list of snapshots.booleanCheck if the result is truncated.voidSet the marker for the current listing position.voidsetMaxKeys(int maxKeys) Set the maximum number of snapshots requested.voidsetNextMarker(String nextMarker) Set the next marker for pagination.voidsetSnapshotCount(int snapshotCount) Set the number of snapshots returned.voidsetSnapshotList(List<Snapshot> snapshotList) Set the list of snapshots.voidsetTruncated(boolean truncated) Set whether the result is truncated.toString()从类继承的方法 com.obs.services.model.HeaderResponse
getOriginalHeaders, getRequestId, getResponseHeaders, getStatusCode从类继承的方法 com.obs.services.internal.service.InternalHeaderResponse
setOriginalHeaders, setResponseHeaders, setStatusCode
-
构造器详细资料
-
GetSnapshotListResponse
-
-
方法详细资料
-
getMarker
-
setMarker
Set the marker for the current listing position.- 参数:
marker- Current marker
-
getNextMarker
-
setNextMarker
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
-
setSnapshotList
-
toString
- 覆盖:
toString在类中HeaderResponse
-