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

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

public class GetImageRequest
extends AbstractBceRequest

The request for getting the detail information of the specified image.


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

GetImageRequest

public GetImageRequest()
Method Detail

getImageId

public String getImageId()

setImageId

public void setImageId(String imageId)

withImageId

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

Parameters:
imageId - The id of image.
Returns:
GetImageRequest with imageId.

withRequestCredentials

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

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


Copyright © 2018. All rights reserved.