类 ListSnapshotsRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.model.ListRequest
-
- com.baidubce.services.bcc.model.snapshot.ListSnapshotsRequest
-
public class ListSnapshotsRequest extends ListRequest
The request for listing snapshots owned by used.
-
-
构造器概要
构造器 构造器 说明 ListSnapshotsRequest()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetVolumeId()voidsetVolumeId(String volumeId)ListSnapshotsRequestwithMarker(String marker)Configure the request with specified marker.ListSnapshotsRequestwithMaxKeys(int maxKeys)Configure the request with specified maxKeys.ListSnapshotsRequestwithRequestCredentials(BceCredentials credentials)Configure request credential for the request.ListSnapshotsRequestwithVolumeId(String volumeId)Configure the request with specified volumeId.-
从类继承的方法 com.baidubce.model.ListRequest
getMarker, getMaxKeys, setMarker, setMaxKeys
-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
方法详细资料
-
getVolumeId
public String getVolumeId()
-
setVolumeId
public void setVolumeId(String volumeId)
-
withVolumeId
public ListSnapshotsRequest withVolumeId(String volumeId)
Configure the request with specified volumeId.- 参数:
volumeId- The id of the volume.- 返回:
- ListSnapshotsRequest with specified volumeId.
-
withMarker
public ListSnapshotsRequest withMarker(String marker)
Configure the request with specified marker.- 覆盖:
withMarker在类中ListRequest- 参数:
marker- The optional parameter marker specified in the original request to specify where in the results to begin listing.- 返回:
- ListSnapshotsRequest with specified marker.
-
withMaxKeys
public ListSnapshotsRequest withMaxKeys(int maxKeys)
Configure the request with specified maxKeys.- 覆盖:
withMaxKeys在类中ListRequest- 参数:
maxKeys- The optional parameter to specifies the max number of list result to return. The default value is 1000.- 返回:
- ListSnapshotsRequest with specified maxKeys.
-
withRequestCredentials
public ListSnapshotsRequest withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.- 指定者:
withRequestCredentials在类中AbstractBceRequest- 参数:
credentials- a valid instance of BceCredentials.- 返回:
- ListSnapshotsRequest with credentials.
-
-