|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.baidubce.model.AbstractBceResponse
com.baidubce.model.ListResponse
public abstract class ListResponse
The base response contains the base information about list operation.
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 |
---|
public ListResponse()
Method Detail |
---|
public String getMarker()
public void setMarker(String marker)
marker
- The optional parameter marker specified in the original request to specify
where in the results to begin listing.public boolean getIsTruncated()
false
to indicate that there is not more result in the next page,
otherwise returning true
meaning there is more result in next page.
false
to indicate that there is not more result in the next page,
otherwise returning true
meaning there is more result in next page.public void setIsTruncated(boolean isTruncated)
false
to indicate that there is not more result in the next page,
Setting true
meaning there is more result in next page.
isTruncated
- The boolean value to indicate that there is not more result in the next page.public String getNextMarker()
public void setNextMarker(String nextMarker)
nextMarker
- The next marker that should be used in the next request to
get the next page of results.public Integer getMaxKeys()
public void setMaxKeys(Integer maxKeys)
maxKeys
- The optional parameter in the original request to specifies the max number of list result to return .
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |