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

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

public class ListImagesRequest
extends ListRequest

The request for listing the images.


Constructor Summary
ListImagesRequest()
           
 
Method Summary
 String getImageType()
           
 void setImageType(String imageType)
           
 ListImagesRequest withImageType(String imageType)
          Configure the request with specified imageType.
 ListImagesRequest withMarker(String marker)
          Configure the request with specified marker.
 ListImagesRequest withMaxKeys(int maxKeys)
          Configure the request with specified maxKeys.
 ListImagesRequest withRequestCredentials(BceCredentials credentials)
          Configure request credential for the request.
 
Methods inherited from class com.baidubce.model.ListRequest
getMarker, getMaxKeys, setMarker, setMaxKeys
 
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

ListImagesRequest

public ListImagesRequest()
Method Detail

getImageType

public String getImageType()

setImageType

public void setImageType(String imageType)

withImageType

public ListImagesRequest withImageType(String imageType)
Configure the request with specified imageType.

Parameters:
imageType - The optional parameter to filter image to list, see more detail on BCE API doc
Returns:
ListInstancesRequest with specified imageType.

withMarker

public ListImagesRequest withMarker(String marker)
Configure the request with specified marker.

Overrides:
withMarker in class ListRequest
Parameters:
marker - The optional parameter marker specified in the original request to specify where in the results to begin listing.
Returns:
ListInstancesRequest with specified marker.

withMaxKeys

public ListImagesRequest withMaxKeys(int maxKeys)
Configure the request with specified maxKeys.

Overrides:
withMaxKeys in class ListRequest
Parameters:
maxKeys - The optional parameter to specifies the max number of list result to return. The default value is 1000.
Returns:
ListInstancesRequest with specified maxKeys.

withRequestCredentials

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

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


Copyright © 2018. All rights reserved.