com.baidubce.services.bcc.model.volume
Class ReleaseVolumeRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.bcc.model.volume.ReleaseVolumeRequest

public class ReleaseVolumeRequest
extends AbstractBceRequest

The request for Releasing volume.


Constructor Summary
ReleaseVolumeRequest()
           
 
Method Summary
 String getAutoSnapshot()
           
 String getManualSnapshot()
           
 String getVolumeId()
           
 void setAutoSnapshot(String autoSnapshot)
           
 void setManualSnapshot(String manualSnapshot)
           
 void setVolumeId(String volumeId)
           
 ReleaseVolumeRequest withAutoSnapshot(String autoSnapshot)
           
 ReleaseVolumeRequest withManualSnapshot(String manualSnapshot)
           
 ReleaseVolumeRequest withRequestCredentials(BceCredentials credentials)
          Configure request credential for the request.
 ReleaseVolumeRequest withVolumeId(String volumeId)
           
 
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

ReleaseVolumeRequest

public ReleaseVolumeRequest()
Method Detail

getAutoSnapshot

public String getAutoSnapshot()

setAutoSnapshot

public void setAutoSnapshot(String autoSnapshot)

getManualSnapshot

public String getManualSnapshot()

setManualSnapshot

public void setManualSnapshot(String manualSnapshot)

getVolumeId

public String getVolumeId()

setVolumeId

public void setVolumeId(String volumeId)

withVolumeId

public ReleaseVolumeRequest withVolumeId(String volumeId)

withAutoSnapshot

public ReleaseVolumeRequest withAutoSnapshot(String autoSnapshot)

withManualSnapshot

public ReleaseVolumeRequest withManualSnapshot(String manualSnapshot)

withRequestCredentials

public ReleaseVolumeRequest withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.

Specified by:
withRequestCredentials in class AbstractBceRequest
Parameters:
credentials - a valid instance of BceCredentials.
Returns:
ReleaseVolumeRequest with credentials.


Copyright © 2020. All rights reserved.