com.baidubce.services.bcc.model.snapshot
Class GetSnapshotRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.bcc.model.snapshot.GetSnapshotRequest

public class GetSnapshotRequest
extends AbstractBceRequest

The request for getting the specified snapshot detail information.


Constructor Summary
GetSnapshotRequest()
           
 
Method Summary
 String getSnapshotId()
           
 void setSnapshotId(String snapshotId)
           
 GetSnapshotRequest withRequestCredentials(BceCredentials credentials)
          Configure request credential for the request.
 GetSnapshotRequest withSnapshotId(String snapshotId)
          Configure snapshotId for the request.
 
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

GetSnapshotRequest

public GetSnapshotRequest()
Method Detail

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.