com.baidubce.services.bcc.model.snapshot
Class DeleteSnapshotRequest
java.lang.Object
com.baidubce.model.AbstractBceRequest
com.baidubce.services.bcc.model.snapshot.DeleteSnapshotRequest
public class DeleteSnapshotRequest
- extends AbstractBceRequest
The request for deleting the specified snapshot.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeleteSnapshotRequest
public DeleteSnapshotRequest()
getSnapshotId
public String getSnapshotId()
setSnapshotId
public void setSnapshotId(String snapshotId)
withSnapshotId
public DeleteSnapshotRequest withSnapshotId(String snapshotId)
- Configure snapshotId for the request.
- Parameters:
snapshotId
- The id of snapshot which will be deleted.
- Returns:
- DeleteSnapshotRequest with snapshotId.
withRequestCredentials
public DeleteSnapshotRequest withRequestCredentials(BceCredentials credentials)
- Configure request credential for the request.
- Specified by:
withRequestCredentials
in class AbstractBceRequest
- Parameters:
credentials
- a valid instance of BceCredentials.
- Returns:
- DeleteSnapshotRequest with credentials.
Copyright © 2018. All rights reserved.