类 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.
-
-
构造器概要
构造器 构造器 说明 GetImageRequest()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetImageId()voidsetImageId(String imageId)GetImageRequestwithImageId(String imageId)Configure imageId for the request.GetImageRequestwithRequestCredentials(BceCredentials credentials)Configure request credential for the request.-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
方法详细资料
-
getImageId
public String getImageId()
-
setImageId
public void setImageId(String imageId)
-
withImageId
public GetImageRequest withImageId(String imageId)
Configure imageId for the request.- 参数:
imageId- The id of image.- 返回:
- GetImageRequest with imageId.
-
withRequestCredentials
public GetImageRequest withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.- 指定者:
withRequestCredentials在类中AbstractBceRequest- 参数:
credentials- a valid instance of BceCredentials.- 返回:
- GetImageRequest with credentials.
-
-