com.baidubce.model
Class ListResponse

java.lang.Object
  extended by com.baidubce.model.AbstractBceResponse
      extended by com.baidubce.model.ListResponse
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ListImagesResponse, ListInstancesResponse, ListSecurityGroupsResponse, ListSnapshotsResponse, ListVolumesResponse

public abstract class ListResponse
extends AbstractBceResponse

The base response contains the base information about list operation.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.baidubce.model.AbstractBceResponse
metadata
 
Constructor Summary
ListResponse()
           
 
Method Summary
 boolean getIsTruncated()
          Returning false to indicate that there is not more result in the next page, otherwise returning true meaning there is more result in next page.
 String getMarker()
          Returning the optional parameter marker specified in the original request to specify where in the results to begin listing.
 Integer getMaxKeys()
          Returning the optional parameter in the original request to specifies the max number of list result to return .
 String getNextMarker()
          Returns the next marker that should be used in the next request to get the next page of results.
 void setIsTruncated(boolean isTruncated)
          Setting the boolean value to indicate that there is not more result in the next page.
 void setMarker(String marker)
          Setting the optional parameter marker specified in the original request to specify where in the results to begin listing.
 void setMaxKeys(Integer maxKeys)
          Setting the optional parameter in the original request to specifies the max number of list result to return
 void setNextMarker(String nextMarker)
          Sets the next marker that should be used in the next request to get the next page of results.
 
Methods inherited from class com.baidubce.model.AbstractBceResponse
getMetadata
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListResponse

public ListResponse()
Method Detail

getMarker

public String getMarker()
Returning the optional parameter marker specified in the original request to specify where in the results to begin listing.

Returns:
The optional parameter marker specified in the original request to specify where in the results to begin listing.

setMarker

public void setMarker(String marker)
Setting the optional parameter marker specified in the original request to specify where in the results to begin listing.

Parameters:
marker - The optional parameter marker specified in the original request to specify where in the results to begin listing.

getIsTruncated

public boolean getIsTruncated()
Returning false to indicate that there is not more result in the next page, otherwise returning true meaning there is more result in next page.

Returns:
Returning false to indicate that there is not more result in the next page, otherwise returning true meaning there is more result in next page.

setIsTruncated

public void setIsTruncated(boolean isTruncated)
Setting the boolean value to indicate that there is not more result in the next page. Setting false to indicate that there is not more result in the next page, Setting true meaning there is more result in next page.

Parameters:
isTruncated - The boolean value to indicate that there is not more result in the next page.

getNextMarker

public String getNextMarker()
Returns the next marker that should be used in the next request to get the next page of results. This value is only valid if isTruncated indicates this listing is truncated.

Returns:
the next key marker that should be used in the next request to get the next page of results. This value is only valid if isTruncated() indicates this listing is truncated.

setNextMarker

public void setNextMarker(String nextMarker)
Sets the next marker that should be used in the next request to get the next page of results.

Parameters:
nextMarker - The next marker that should be used in the next request to get the next page of results.

getMaxKeys

public Integer getMaxKeys()
Returning the optional parameter in the original request to specifies the max number of list result to return .

Returns:
The optional parameter in the original request to specifies the max number of list result to return .

setMaxKeys

public void setMaxKeys(Integer maxKeys)
Setting the optional parameter in the original request to specifies the max number of list result to return

Parameters:
maxKeys - The optional parameter in the original request to specifies the max number of list result to return .


Copyright © 2018. All rights reserved.