com.baidubce.services.bcc.model.image
Class GetImageRequest
java.lang.Object
com.baidubce.model.AbstractBceRequest
com.baidubce.services.bcc.model.image.GetImageRequest
public class GetImageRequest
- extends AbstractBceRequest
The request for getting the detail information of the specified image.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetImageRequest
public GetImageRequest()
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.