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

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

public class DeleteSnapshotRequest
extends AbstractBceRequest

The request for deleting the specified snapshot.


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

DeleteSnapshotRequest

public DeleteSnapshotRequest()
Method Detail

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.