|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.baidubce.model.AbstractBceRequest
com.baidubce.model.ListRequest
com.baidubce.services.bcc.model.snapshot.ListSnapshotsRequest
public class ListSnapshotsRequest
The request for listing snapshots owned by used.
| Constructor Summary | |
|---|---|
ListSnapshotsRequest()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.baidubce.model.ListRequest |
|---|
getMarker, getMaxKeys, setMarker, setMaxKeys |
| Methods inherited from class com.baidubce.model.AbstractBceRequest |
|---|
getRequestCredentials, setRequestCredentials |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ListSnapshotsRequest()
| Method Detail |
|---|
public 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||