public class ListSnapshotsRequest extends ListRequest
| Constructor and Description |
|---|
ListSnapshotsRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getVolumeId() |
void |
setVolumeId(String volumeId) |
ListSnapshotsRequest |
withMarker(String marker)
Configure the request with specified marker.
|
ListSnapshotsRequest |
withMaxKeys(int maxKeys)
Configure the request with specified maxKeys.
|
ListSnapshotsRequest |
withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.
|
ListSnapshotsRequest |
withVolumeId(String volumeId)
Configure the request with specified volumeId.
|
getMarker, getMaxKeys, setMarker, setMaxKeysgetRequestCredentials, setRequestCredentialspublic String getVolumeId()
public void setVolumeId(String volumeId)
public ListSnapshotsRequest withVolumeId(String volumeId)
volumeId - The id of the volume.public ListSnapshotsRequest withMarker(String marker)
withMarker in class ListRequestmarker - The optional parameter marker specified in the original request to specify
where in the results to begin listing.public ListSnapshotsRequest withMaxKeys(int maxKeys)
withMaxKeys in class ListRequestmaxKeys - The optional parameter to specifies the max number of list result to return.
The default value is 1000.public ListSnapshotsRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials in class AbstractBceRequestcredentials - a valid instance of BceCredentials.Copyright © 2024. All rights reserved.