com.baidubce.services.bcc.model.image
Class DeleteImageRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.bcc.model.image.DeleteImageRequest

public class DeleteImageRequest
extends AbstractBceRequest

The request for deleting the specified image.


Constructor Summary
DeleteImageRequest()
           
 
Method Summary
 String getImageId()
           
 void setImageId(String imageId)
           
 DeleteImageRequest withImageId(String imageId)
          Configure imageId for the request.
 DeleteImageRequest withRequestCredentials(BceCredentials credentials)
          Configure request credential 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

DeleteImageRequest

public DeleteImageRequest()
Method Detail

getImageId

public String getImageId()

setImageId

public void setImageId(String imageId)

withImageId

public DeleteImageRequest withImageId(String imageId)
Configure imageId for the request.

Parameters:
imageId - The id of image that will be deleted.
Returns:
DeleteImageRequest with imageId.

withRequestCredentials

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

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


Copyright © 2018. All rights reserved.