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