类 ListImagesRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.model.ListRequest
-
- com.baidubce.services.bcc.model.image.ListImagesRequest
-
public class ListImagesRequest extends ListRequest
The request for listing the images.
-
-
构造器概要
构造器 构造器 说明 ListImagesRequest()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetImageType()voidsetImageType(String imageType)ListImagesRequestwithImageType(String imageType)Configure the request with specified imageType.ListImagesRequestwithMarker(String marker)Configure the request with specified marker.ListImagesRequestwithMaxKeys(int maxKeys)Configure the request with specified maxKeys.ListImagesRequestwithRequestCredentials(BceCredentials credentials)Configure request credential for the request.-
从类继承的方法 com.baidubce.model.ListRequest
getMarker, getMaxKeys, setMarker, setMaxKeys
-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
方法详细资料
-
getImageType
public String getImageType()
-
setImageType
public void setImageType(String imageType)
-
withImageType
public ListImagesRequest withImageType(String imageType)
Configure the request with specified imageType.- 参数:
imageType- The optional parameter to filter image to list, see more detail on BCE API doc- 返回:
- ListInstancesRequest with specified imageType.
-
withMarker
public ListImagesRequest withMarker(String marker)
Configure the request with specified marker.- 覆盖:
withMarker在类中ListRequest- 参数:
marker- The optional parameter marker specified in the original request to specify where in the results to begin listing.- 返回:
- ListInstancesRequest with specified marker.
-
withMaxKeys
public ListImagesRequest withMaxKeys(int maxKeys)
Configure the request with specified maxKeys.- 覆盖:
withMaxKeys在类中ListRequest- 参数:
maxKeys- The optional parameter to specifies the max number of list result to return. The default value is 1000.- 返回:
- ListInstancesRequest with specified maxKeys.
-
withRequestCredentials
public ListImagesRequest withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.- 指定者:
withRequestCredentials在类中AbstractBceRequest- 参数:
credentials- a valid instance of BceCredentials.- 返回:
- ListImagesRequest with credentials.
-
-